calculate insert size paired end reads


install samtools
samtools sort sample.bam > sort_sample.bam
samtools stats sort_sample.bam | grep "insert size average" > output.txt
more output.txt

Comments

Popular posts from this blog