MultiWiggleAdapter
Auto-generated config schema for the current JBrowse release — see the
config guide for concepts. Provided by the wiggle
plugin.
View source.
Example usage
The bigWigs shorthand: a plain array of BigWig URLs, one subtrack each (the
subtrack name is derived from the filename):
{
type: 'MultiQuantitativeTrack',
trackId: 'my_track',
name: 'My track',
assemblyNames: ['hg38'],
adapter: {
type: 'MultiWiggleAdapter',
bigWigs: [
'https://example.com/sample1.bw',
'https://example.com/sample2.bw',
],
},
}
Preloading per-subtrack metadata: use subadapters instead of bigWigs to
attach a name, a color, and a group to each subtrack. The extra keys ride
along as source metadata — group drives the sidebar clustering tree and
color sets the subtrack's line/fill on load:
{
type: 'MultiQuantitativeTrack',
trackId: 'my_track',
name: 'My track',
assemblyNames: ['hg38'],
adapter: {
type: 'MultiWiggleAdapter',
subadapters: [
{
type: 'BigWigAdapter',
name: 'Alpha',
group: 'Islet',
color: '#e6194b',
bigWigLocation: { uri: 'https://example.com/alpha.bw' },
},
{
type: 'BigWigAdapter',
name: 'Beta',
group: 'Islet',
color: '#f58231',
bigWigLocation: { uri: 'https://example.com/beta.bw' },
},
],
},
}
See the Config slots section below for all available configuration fields.
The bigWigs shorthand only accepts absolute URLs; a relative path there
will not resolve against the config's location. Use the subadapters form for
relative URLs, which is also what you need for per-subtrack color, group,
and source.
combines multiple BigWig files into a single multi-row quantitative track
Related links
- Track: MultiQuantitativeTrack
- Display: MultiLinearWiggleDisplay
- Guide: CNV across a population (1000 Genomes)
- Guide: Multi-quantitative tracks
- Guide: Single-cell ATAC pseudobulk
- Guide: Single-cell RNA pseudobulk
- Guide: Supported file types
Config slots
These slots go inside the track's adapter:
"adapter": { "type": "MultiWiggleAdapter", ... }. This adapter has no uri
shorthand — give it the
location slots below. Slot types (fileLocation, frozen, ...) are explained
in the config slot types reference. Slots a
base configuration contributes are listed here too, so this table is the whole
surface.
| Slot | Description |
|---|---|
subadaptersfrozen = [] | array of subadapter JSON objects |
bigWigsfrozen = [] | array of BigWig URLs/paths, alternative to the subadapters slot |