Visualizing & plotting variant reads within BAM files programmatically?
2
0
Entering edit mode
8.3 years ago
steve ★ 3.5k

I am looking for essentially the functionality mentioned here; I want to automatically create snapshots of images of reads within a BAM file at specified loci. I know that IGV can do this, but in my experience the results from scripting IGV for this are lackluster since there can be a lot of variability as far as the number of reads on screen and resolution needed for each variant. I also saw that samtools tview has the same functionality. The answers in that previous question are a bit old now, I was hoping that something new might be available? Maybe a Bioconductor package? My searches so far have not found anything quite like this. My immediate needs are for snapshots / static plots of the reads, but ultimately I think this would be a nice application for something like Plotly to enable interactive browsing as well.

alignment • 4.1k views
ADD COMMENT
0
Entering edit mode

there is script for this here: https://github.com/stevekm/IGV-snapshot-automator

ADD REPLY
0
Entering edit mode

worth noting that these days my preferred solution for this is https://github.com/igvteam/igv-reports

ADD REPLY
5
Entering edit mode
ADD COMMENT
2
Entering edit mode
3.6 years ago
Stephan ▴ 20

If this ist still of interest you can Check Out

https://github.com/StephanHolgerD/DrukBam

DrukBam is a program for plotting alignment files (.bam) for command line aficionados. It can be used with or without a reference fasta file and allows fast plotting multiple variants or regions of interest.

ADD COMMENT

Login before adding your answer.

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