Sorting bam file in mac OS
2
1
Entering edit mode
5.9 years ago
Za ▴ 140

Hi,

I don't know why I can't sort my bam files

dhcp179185:unknown$ samtools sort SRR1593424.bam SRR1593424_sorted
[bam_sort] Use -T PREFIX / -o FILE to specify temporary and final output files
Usage: samtools sort [options...] [in.bam]
Options:
  -l INT     Set compression level, from 0 (uncompressed) to 9 (best)
  -m INT     Set maximum memory per thread; suffix K/M/G recognized [768M]
  -n         Sort by read name
  -t TAG     Sort by value of TAG. Uses position as secondary index (or read name if -n is set)
software error RNA-Seq sequencing • 1.6k views
ADD COMMENT
3
Entering edit mode
5.9 years ago
GenoMax 141k

Do

samtools sort  -o SRR1593424_sorted SRR1593424.bam
ADD COMMENT
3
Entering edit mode
5.9 years ago
igor 13k

Did you read the error message?

Use -T PREFIX / -o FILE to specify temporary and final output files

You did not specify either.

I think you are copying the command written for a specific version of samtools, but the version you have is different and requires slightly different parameters.

ADD COMMENT

Login before adding your answer.

Traffic: 2583 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6