Skip to content

flatfile-to-json.pl --bed does not generate subfeatures anymore #1511

Description

@mpoelchau
  • JBrowse version: 1.16.6

In previous versions of jbrowse (up to 1.16.5 as far as i can tell), running flatfile-to-json.pl with the --bed and --subfeatureClasses options would give you a glyph with subfeatures (see track 'TM-tophat-junctions' in the image). Running the exact same flatfile-to-json.pl command on the same data in Jbrowse 1.16.6 generates a glyph without subfeatures (see track 'TM-tophat-junctions-new' in the image).

Screen Shot 2020-05-29 at 1 27 19 PM

Having the subfeatures is quite useful in the case of junctions from RNA-Seq aligners, since it shows users where the alignment starts/ends vs where the intron starts/ends. There are probably other use cases where this feature is handy.

I looked at the changes between 1.16.5 and 1.16.6, and couldn't find any likely culprits. So I am wondering if there's a change in bioperl that might need to be accommodated?

Command used: flatfile-to-json.pl --bed junctions.bed --arrowheadClass trellis-arrowhead --getSubfeatures --subfeatureClasses '{"UTR": "webapollo-UTR","CDS": "junction-cds","exon": "container-100pct","intron": null, "wholeCDS": null, "start_codon": null,"stop_codon": null, "match_part": "darkblue-80pct"}' --cssClass container-16px --trackLabel TM_tophat_junctions-new -key TM_tophat_junctions-new --config '{ "category": "Transcriptome/Splice Junctions"}'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions