Do I need to sort the .bam file for SNP calling by samtools?
1
0
Entering edit mode
8.0 years ago
juncheng ▴ 200

Hi,

I'm running samtools for snp calling with human RNAseq data. Is it necessary to sort the tophat aligned bam file for snp calling?

I care about this because I have a lot of samples, sorting bam file means double amount of storing space needed.

Thanks.

SNP • 2.4k views
ADD COMMENT
0
Entering edit mode

Just as an FYI, you don't really need double the space - you can sort one or a few samples at a time and then delete the unsorted file. You won't need it as long as the sorted BAM is completely written.

ADD REPLY
1
Entering edit mode
8.0 years ago

Tophat will normally sort its output BAM files. Otherwise, yes, the BAM file would need to be coordinate sorted.

ADD COMMENT
0
Entering edit mode

Thanks you, again. :)

Indeed, the output of tophat is sorted.

ADD REPLY

Login before adding your answer.

Traffic: 2081 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