BigWigAdapter
Auto-generated from the config schema in the source — see the config guide for concepts. Provided by the wiggle plugin. View source.
Reads BigWig quantitative signal files.
Example usage
{
type: 'QuantitativeTrack',
trackId: 'my_track',
name: 'My track',
assemblyNames: ['hg38'],
adapter: {
type: 'BigWigAdapter',
uri: 'https://example.com/coverage.bw',
},
}JBrowse infers BigWigAdapter and QuantitativeTrack from coverage.bw, and name defaults to the file name. In a config declaring one assembly, assemblyNames comes from there too — see the shortest track.
{
trackId: 'my_track',
uri: 'https://example.com/coverage.bw',
assemblyNames: ['hg38'],
}Related links
- Track: QuantitativeTrack
- Display: LinearMarkDisplay
- Display: LinearWiggleDisplay
- Tutorial: Structural variants (Cancer GIAB) part 2: copy number
- Config guide: Supported file types
Config slots
Adapter slots go inside the track's adapter: "adapter": { "type": "BigWigAdapter", ... }. It also accepts the shorthand keys uri, baseUri in place of writing a location slot out. 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 |
|---|---|
bigWigLocationfileLocation = { uri: '/path/to/my.bw', locationType: 'UriLocation' } | location of the BigWig file. The file has an index and precomputed zoom levels built in, so there is no separate index to configure and a whole-chromosome view reads summary bins rather than every point. |
sourcestring = '' | added as feature.get('source') on all features |
resolutionMultipliernumber = 1 | Resolution multiplier applied to every fetch: <1 fetches more points (higher resolution), >1 fetches fewer (e.g. 2 = half as many points) advanced |