Tool for BAM coverage without the soft clipping base
2
0
Entering edit mode
6.9 years ago
nayshool ▴ 20

Hi everyone,

I am looking for a software/script which calculate the mean coverage of an area without the soft clipping bases. It's exclude the soft/hard clipping bases and leave only the true annotated bases in the calculation.

thank you

BAM coverage softclipping • 2.5k views
ADD COMMENT
0
Entering edit mode
6.9 years ago

Almost anything that produces coverage metrics will do what you're describing. As an example, you can use bamCoverage or multiBamSummary from deepTools to do this, though other common choices would be bedtools or even featureCounts.

ADD COMMENT
0
Entering edit mode

I don't want to count the soft clipping reads. Are those software will not count them?

ADD REPLY
0
Entering edit mode

Correct, none of those (or even samtools view -c) will count soft-clipped portions of reads.

ADD REPLY
0
Entering edit mode
6.9 years ago

GATK depthofcoverage: https://software.broadinstitute.org/gatk/gatkdocs/3.7-0/org_broadinstitute_gatk_tools_walkers_coverage_DepthOfCoverage.php

In most (all?) tools the clipping section is ignored.

ADD COMMENT

Login before adding your answer.

Traffic: 3404 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