Question: Significant Difference of the File Size between csorted and nsorted BAM file
0
gravatar for Shicheng Guo
6 months ago by
Shicheng Guo7.4k
Shicheng Guo7.4k wrote:

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.

ADD COMMENTlink modified 3 months ago by Biostar ♦♦ 20 • written 6 months ago by Shicheng Guo7.4k
3
gravatar for genomax
6 months ago by
genomax62k
United States
genomax62k wrote:

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 COMMENTlink modified 6 months ago • written 6 months ago by genomax62k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 836 users visited in the last hour