Skip to content

Commit 983e83e

Browse files
author
Dom Laetsch
committed
Bugfix in BtIO.ReadBam()
- was broken because of missing whitespace
1 parent a5219e2 commit 983e83e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/BtIO.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def readBam(infile, set_of_blobs):
107107
cigar_match_re = re.compile(r"(\d+)M") # only gets digits before M's
108108
# execute samtools to get only mapped reads
109109
#command = "samtools view -F 12 -F 256" + infile
110-
command = "samtools view -F 4" + infile
110+
command = "samtools view -F 4 -F 256 " + infile
111111
# ADD flag picard -F 1028 to not consider optical duplicates
112112
#command = "samtools view -F 1028 " + infile
113113
# only one counter since only yields mapped reads

0 commit comments

Comments
 (0)