Skip to content

Commit

Permalink
fix bug in viral profiling, causin dublicated reads in viral file
Browse files Browse the repository at this point in the history
  • Loading branch information
Serghei Mangul committed Mar 15, 2018
1 parent 2ea0b6a commit d4bbd4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rop_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def nMicrobialReads(inFile_name, outFile_name,flag):

if alignmentLength >= 0.8*readLength and identity >= 0.9:
readsMicrobiome.add(read.query_name)
set2file(readsMicrobiome,outFile_name)
set2file(readsMicrobiome,outFile_name)

samfile.close()

Expand Down

0 comments on commit d4bbd4e

Please sign in to comment.