Skip to content

Commit

Permalink
Update scapp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dpellow authored Jan 23, 2020
1 parent 8e85951 commit 5c7e780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scapp/scapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def main():
bwa_outfile.flush()

# Sort filtered reads with samtools
sorted_reads = os.path.join(int_dir, "reads_pe_primary.sort")
sorted_reads = os.path.join(int_dir, "reads_pe_primary.sort.bam")
cmd = samtools_file + " sort " + primary_bam + ' -o ' + sorted_reads
logger.info("Executing command: '{}'".format(cmd))
subprocess.check_call(cmd,stderr=subprocess.STDOUT, stdout=bwa_outfile, shell=True)
Expand Down

0 comments on commit 5c7e780

Please sign in to comment.