jbrowse icon indicating copy to clipboard operation
jbrowse copied to clipboard

Make SNPCoverage track support different source data

Open nathanhaigh opened this issue 5 years ago • 2 comments

I like that SNPCoverage tracks convey information about both coverage as well as the number of mismatches for any given position. However, rendering all this info directly from a BAM file takes time, especially as a user zooms out.

One solution may be to take input from a BigWig (Coverage) and a VCF file. Thoughts?

nathanhaigh avatar Aug 17 '18 00:08 nathanhaigh

I made a demo of using SNPCoverage with BigWig and VCF here

Doesn't support multiple alternative alleles because it only uses the DP4 field from mpileup but if you have test data from a different variant caller it could possibly support things like the multiple alternative alleles

Kind of just an experiment, welcome to try though

https://github.com/cmdcolin/mpileupplugin

cmdcolin avatar Apr 06 '20 20:04 cmdcolin

This looks awesome!

nathanhaigh avatar Apr 06 '20 21:04 nathanhaigh