Automating the creation of IGV style histogram coverage maps
2
2
Entering edit mode
4.9 years ago
cxr5298 ▴ 20

Hello, I'm working on a pipeline using Bash, Python, and R to process metagenomic datasets. One of the features I want to incorporate is producing coverage maps for some hits depending on the read counts associated with them.

I know how to do this using IGV or UCSC genome browser and the necessary .bam and .bai files. However I want to automate this process so I won't need to manually do it each time. Some preliminary googling hasn't yielded much useful data. I was curious if anyone was aware of any Bash, Python, or R packages that have this same functionality?

Any help would be awesome, thanks!

genome alignment R python bash • 1.0k views
ADD COMMENT
1
Entering edit mode
4.9 years ago

I quickly wrote something like this using nextflow+ (samtools depth+R) a few weeks ago:

I imagine I should add another param to 'smooth' the curves.

ADD COMMENT
0
Entering edit mode
4.9 years ago

If you are ok with R, have a look at Gviz. For something scriptable but with not very polished output see ASCIIGenome (disclaimer- I'm the author)

ADD COMMENT

Login before adding your answer.

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