Skip to content

UMD Build of JBrowseLinearView: How to configure SVGFeatureRenderer? #1979

Discussion options

You must be logged in to vote

Hi @tchannagiri,

Thanks for your interest! For (1), yes, you should be able to specify renderer configuration in the same way as JBrowse Web's config.json. Here's an example of a track config (in the tracks array of the view constructor) that works for me:

{
  type: 'VariantTrack',
  trackId: 'volvox_test_vcf',
  name: 'volvox filtered vcf',
  assemblyNames: ['volvox'],
  category: ['VCF'],
  adapter: {
    type: 'VcfTabixAdapter',
    vcfGzLocation: {
      uri: 'test_data/volvox/volvox.filtered.vcf.gz',
    },
    index: {
      location: {
        uri: 'test_data/volvox/volvox.filtered.vcf.gz.tbi',
      },
    },
  },
  displays: [
    {
      type: 'LinearVariantDisplay',
      displ…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tchannagiri
Comment options

Answer selected by tchannagiri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants