Skip to content

Commit ced52ed

Browse files
Fixed inconsistent bwa_alg values
Used 'mem' in filter-sam.py, but 'bwamem' in extract-ref-alleles.py. To remain consistent with 'aln', changed extract-ref-alleles.py to 'mem'.
1 parent ec86935 commit ced52ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extract-ref-alleles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def open_file(path):
334334
#For SAM files generated from BWASW or STAMPY algorithms we don't get the same tags.
335335
#For now let reads through regardless of one best match or no suboptimal matches
336336
ok = True
337-
elif bwa_alg == 'bwamem':
337+
elif bwa_alg == 'mem':
338338
#SAM files generated by BWA-MEM do not get the same X* tags as produced by BWA-aln.
339339
#We can use the AS and XS tags to check for repetitive mapping, and the CIGAR string
340340
# to check for indels.

0 commit comments

Comments
 (0)