|
From: Colin <col...@gm...> - 2025-10-12 13:28:58
|
The basic idea for the faceted track selector is that any "top level" entry
in the track metadata becomes searchable in the track metadata. Example
{
"type": "VariantTrack",
"trackId": "volvox_test_vcf",
"metadata": {
"thing here": "hello"
},
"name": "volvox 1000genomes vcf",
"assemblyNames": ["volvox"],
"category": ["Variants"],
"adapter": {
"type": "VcfTabixAdapter",
"uri": "volvox.test.vcf.gz"
}
},
That will make "thing here" a column and a facet filter, but also note that
it filters out "sparse" metadata columns by default, so it only shows
metadata that is shared across >5 tracks as a facet (arbitrary threshold)
You can toggle "Show sparse metadata columns" to show facets for even
metadata not shared by 5 tracks
[image: image.png]
There is no notion of only a subset of tracks appearing in the faceted
selector currently
-Colin
On Wed, Oct 8, 2025 at 5:16 PM Vaneet Lotay <van...@uc...>
wrote:
> Hi,
>
>
>
> There is documentation for adding the field ‘category’ as an active field
> to the faceted track selector. How do you add more fields to that so they
> can be used to filter tracks for in that pop up window? I tried added some
> random fields under the ‘metadata{}’ name in the config.json file. While
> they appear in the ‘About this track’ dialog they don’t appear in the
> faceted track selector.
>
>
>
> Also, is there a way I can limit which tracks I want to appear in the
> faceted track selector? I want a subset of tracks that can appear in their
> own faceted track selector with many metadata fields to filter upon similar
> to the original JBrowse. How do I do this in JBrowse 2?
>
>
>
> Thanks,
>
>
>
> Vaneet
> _______________________________________________
> Gmod-ajax mailing list
> Gmo...@li...
> https://lists.sourceforge.net/lists/listinfo/gmod-ajax
>
|