Skip to content

Commit

Permalink
prefix arg was depricated and completely removed in samtools sort 1.3…
Browse files Browse the repository at this point in the history
…, so let's use '-T' option for it
  • Loading branch information
iromeo committed Jan 29, 2016
1 parent 1344eba commit c45210d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bwameth.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def as_bam(pfile, fa, prefix, calmd=False, set_as_failed=None):
set_as_failed: None, 'f', or 'r'. If 'f'. Reads mapping to that strand
are given the sam flag of a failed QC alignment (0x200).
"""
view = "samtools view -bS - | samtools sort -m 2415919104 - "
view = "samtools view -bS - | samtools sort -m 2415919104 - -T "
if calmd:
cmds = [
view + "{bam}.tmp",
Expand Down

0 comments on commit c45210d

Please sign in to comment.