Hi,
I tried with picard, I got the distributions is their any tool or AWK command I can directly extract from a sam/bam file ?
thanks!
Hi,
I tried with picard, I got the distributions is their any tool or AWK command I can directly extract from a sam/bam file ?
thanks!
You can check insert size distribution using qualimap which is very easy to use and takes sorted bam/sam as input. It gives you complete mapping statistics along with insert size and its standard deviation. Alternatively, you can use bamstats which also gives detailed mapping stats.
Another option is Alfred. We provide example quality control files for different sequencing assays (DNA-Seq whole-exome, ATAC-Seq, ...) and different sequencing technologies (Illumina, ONT, PacBio) at the companion web application so you can have a look if that's what you are looking for (QC files include the insert size).
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Not sure what kind of metrics you are looking for but
reformat.sh
from BBMap suite has a bunch of options for metrics.I'm not able to generate any histogram for insertsizes ?
That options requires input to be in interleaved SAM format (it does not work with raw reads).
If you are interested in getting insert sizes then you can do that by a couple of different ways using BBMap. Those options are noted in this post.
I added markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below:
I able to retrieve the insert-metrics while comparison with other tools like picard its showing less insert-size. Picard shows very good distribution with read pairs information.
I don't know about other tools but since BBMap is using actual alignments (or read overlap) the stats generated should be accurate.