Question: Significant Difference of the File Size between csorted and nsorted BAM file
0
gravatar for Shicheng Guo
11 months ago by
Shicheng Guo7.6k
Shicheng Guo7.6k 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 9 months ago by Biostar ♦♦ 20 • written 11 months ago by Shicheng Guo7.6k
3
gravatar for genomax
11 months ago by
genomax70k
United States
genomax70k 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 11 months ago • written 11 months ago by genomax70k
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: 1299 users visited in the last hour