I am wondering can I recalculate the insert size from .bam files?
Thanks a lot
• 0 views
•
link
I used The 9th column of .bam file to get the insert size of atac-seq data.
samtools view bam/${FILE}"_mm10.bam" | awk '$9>0' | cut -f 9 | sort | uniq -c | sort -b -k2,2n > insert_size_plotting/${FILE}".txt"
But I found all of the inserts are less than 500bp,
From the insert size plot, I can see there should be longer than 500bp inserts, but why bowtie2 doesn’t report >500bp inserts?
Thanks
Log in to answer this question.