My Bam Files Size is (33,831,754 kb), after sort Its size (24,478,862 kb). I want to know that it's right?
Compression level is probably different. Check with this command on both files to see if you lost reads. Did you apply any filters in the sort command, please provide the full command.
samtools flagstat in.bam
code I use:
samtools sort /home/m.rafiepour222/SRR3112430.bam SRR3112430-sort.bam
As I said, simply use flagstat to see if you lost any reads. If not, you'll be fine.
that's expected, a sorted bam file can be further compressed than an unsorted one
Ok, So my sorted bam file do not have a problem?
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy