Skip to content

Commit

Permalink
Update nPhasePipelineFunctions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarOakheart authored Jul 29, 2020
1 parent 3f3fca5 commit 38876c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/lib/bin/nPhasePipelineFunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,11 @@ def assignLongReadToSNPs(samPath,bedPath,referencePath,minQ,minMQ,minAln,outputP
matchStart=False
averageScore=0
for Q in QLine:
try:
try:
averageScore+=QScores[Q]
except:
QScores[Q]=ord(Q)-33
averageScore+=QScores[Q]
except:
QScores[Q]=ord(Q)-33
averageScore+=QScores[Q]
averageScore=int(averageScore/len(QLine))
#
#Okay so now we evaluate the cigar string and just slide down the SEQ and the reference simultaneously
Expand Down

0 comments on commit 38876c5

Please sign in to comment.