Export Coverage on IGV
3
0
Entering edit mode
5.4 years ago

I have five different tracks on IGV from five sample alignment .bam files. I want to do more analysis on the coverage tracks that were made. Is there a way to export the coverage tracks from IGV into some file OR get the coverage at each individual point by some other method? Thank you!

IGV sequencing coverage • 2.3k views
ADD COMMENT
1
Entering edit mode

sounds like you might want to create a BigWig file? Also might want to look at GATK DepthOfCoverage (https://software.broadinstitute.org/gatk/documentation/tooldocs/3.8-0/org_broadinstitute_gatk_tools_walkers_coverage_DepthOfCoverage.php)

ADD REPLY
2
Entering edit mode
5.4 years ago
trausch ★ 1.9k

We first create coverage tracks in UCSC bedgraph format using alfred

alfred tracks -o sample1.bedGraph.gz sample1.bam

and then you can use igvtools to convert the bedGraph files to IGV's proprietory tdf format.

igvtools totdf sample1.bedGraph.gz sample1.tdf hg19

You can then easily load several dozens of tdf files in IGV.

ADD COMMENT
1
Entering edit mode
5.4 years ago

Take a look at mosdepth, it's fast and most probably has the options you need

ADD COMMENT
0
Entering edit mode
5.4 years ago
ATpoint 85k

Use deeptools bamCoverage with -binsize set to 1 to get the per-base coverage. Lot of options for normalization etc available, see the documentation. Bigwigs can be readily loaded into IGV.

ADD COMMENT

Login before adding your answer.

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