Overlapping bases count in WGS
0
0
Entering edit mode
2.5 years ago
NB ▴ 960

Hi, Is there a way to extract or calculate the total number of overlapping bases from a CRAM file for paired-end WGS ?

If I get the concept right, it can also be calculated by creating a fragment length count file and read length ?

Thank you

wgs overlap count metrics bases • 913 views
ADD COMMENT
0
Entering edit mode

Picard tools understand CRAM format natively so you can simply use CollectWGSMetrics. If not CRAM can be converted to BAM on fly and then fed into Picard.

ADD REPLY
0
Entering edit mode

Thanks.. is there any explanation on how Picard calculates the metrics - does it include/exlude dups, soft clipped reads, etc ?

ADD REPLY
0
Entering edit mode

Do you mean the total number of aligned reads in the file or the total number of overlapping bases across an interval? Have you looked at mosdepth?

ADD REPLY
0
Entering edit mode

I meant total number of overlapping bases across the whole (human) genome.. does mosdepth output the overlapping bases ? I did not see that output/option on its git repo

ADD REPLY

Login before adding your answer.

Traffic: 2711 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6