elsiklab / multivariantviewer

A JBrowse plugin with a custom variant track for multi-VCF files and optionally plotting LD scores
9 stars 0 forks source link

MultiVariantViewer with INDELs? #11

Closed srobb1 closed 7 years ago

srobb1 commented 7 years ago

Hi Colin,

Does this plugin work with INDELs? I tried with a vcf of indels and no data points are showing up.

Thanks, Sofia

cmdcolin commented 7 years ago

By default no. It actually has a check for whether it is SNV with the assumption being that overlapping variants won't get drawn properly. I think adding indels would be fine beside that and you could comment out the check in js/View/FeatureGlyph/Variant.js

srobb1 commented 7 years ago

Great! That works wonderfully! I will watch for overlapping variants.

cmdcolin commented 7 years ago

I made an option called includeIndels so that it allows you to render things basically that aren't SNVs, on master :)