I want to sort my bam by queryname so i used the command:
Samtools sort -n -m 1 -@ 10 -o /Path/ouput.bam /path/input.bam
It's work fine but at the end the ouput.bam is really bigger thant input.bam (70Go vs 47Go). It is normal ? Before to go on with this bam i prefer be sure... My input bam is the ouput of samtools view (to remove unwanted read).
Thanks in advance,