BedGraphTabixAdapter
Auto-generated config schema for the current JBrowse release — see the
config guide for concepts. Provided by the bed plugin.
View source.
Example usage
The uri shorthand auto-resolves the .tbi index:
{
type: 'QuantitativeTrack',
trackId: 'my_track',
name: 'My track',
assemblyNames: ['hg38'],
adapter: {
type: 'BedGraphTabixAdapter',
uri: 'https://example.com/signal.bedGraph.gz',
},
}
See the Config slots section below for all available configuration fields.
used to load bgzip-compressed, tabix-indexed bedGraph signal files
Related links
- Track: QuantitativeTrack
- Display: LinearWiggleDisplay
- Guide: Quantitative tracks
- Guide: Supported file types
Config slots
These slots go inside the track's adapter:
"adapter": { "type": "BedGraphTabixAdapter", ... }. It also accepts the
shorthand keys uri,
baseUri, csi 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 |
|---|---|
bedGraphGzLocationfileLocation = { uri: '/path/to/my.bedgraph', locationType: 'UriLocation' } | location of the bgzip-compressed bedGraph (chrom start end value, sorted by position). Must be bgzip rather than plain gzip, which tabix cannot index. |
columnNamesstringArray = [] | List of column names |
index.indexTypestringEnum (TBI, CSI) = 'TBI' | TBI is the usual tabix output. CSI is required for a reference longer than 512 Mb, which TBI cannot address. |
index.locationfileLocation = { uri: '/path/to/my.gz.tbi', locationType: 'UriLocation' } | location of the tabix index. Only needed when it is not named <file>.tbi (or .csi), which is what the uri shorthand assumes. |