depth calculation for targeted resequencing
2
3
Entering edit mode
8.6 years ago
genesneuro ▴ 30

hi I am new to NGS. In a targeted re sequencing experiment using molecular inversion probes. how can we calculate the Target coverage (depth in X). How is it different from exome depth calculations

sequencing depth of coverage • 3.8k views
ADD COMMENT
0
Entering edit mode

Thank you for reply. So if the output of depth calculations shows like this at each site (for 10 bases) 289,581,581,581,581,581,581,581,581, 581 is my depth of coverage for the interval = interval read depth/10 X, (in this case 551.8X) ?

ADD REPLY
2
Entering edit mode

Correct. BTW, samtools depth defaults to not printing positions with 0 coverage. I think there's a flag to get around that (-aa or something like that), but keep that in mind if you need to calculate a bunch of regions in an automated fashion.

ADD REPLY
3
Entering edit mode

Devon is right mentioning that, because if you're willing to get the average depth then you have to consider 0 coverage regions too. you may want to have a look to bedtools' genomecov to continue learning about extracting depth of coverage information, or to picard's CollectHsMetrics which calculates directly the mean target coverage.

ADD REPLY
6
Entering edit mode
8.6 years ago

the concept depth of coverage, being the number of reads at each particular position of the genome, is independent of the experiment you run. if you have aligned reads in a bam file you can extract the depth of coverage or read depth in many different ways already discussed in Biostarts. my favourite one is samtools depth -b target.bed file.bam, as it's one of the fastest methods although it's limited to 8000x.

ADD COMMENT
0
Entering edit mode
4.7 years ago
svp ▴ 680

As an update you can use

To get the mean depth of coverage

bedtools coverage -a $bedfile-b $bamfile -mean > mean.bedgraph

output the per base read depth for each region in the BED file using bedtools

bedtools coverage -a $bedfile -b $bamfile -d > per.base.depth.bedgraph

calculate coverage at each position in a bed file using samtools depth

samtools depth -b $bedfile -aa $bamfile > $bamfile.depth.txt
ADD COMMENT

Login before adding your answer.

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