jbrowse
jbrowse copied to clipboard
Make SNPCoverage track support different source data
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?
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
This looks awesome!