Significant Difference of the File Size between csorted and nsorted BAM file
1
0
Entering edit mode
5.7 years ago
Shicheng Guo ★ 9.4k

Any one found the file size of the sorted bam files by samtools -c and samtools -n have quite big difference, I notice for the same raw bam file, samtools -n sorted bam is usually 2-times larger than samtools -c. What's the main reason for the difference?

Thanks.

csort samtools nsort • 994 views
ADD COMMENT
3
Entering edit mode
5.7 years ago
GenoMax 141k

New version of samtools does not have a -c option so you may want to modify the question to explicitly say name and coordinate sorted BAM's.
See James Bonfield's answer in this thread.

ADD COMMENT

Login before adding your answer.

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