Gff3TabixAdapter
Auto-generated from the config schema in the source — see the config guide for concepts. Provided by the gff3 plugin. View source.
Reads bgzip-compressed, tabix-indexed GFF3 files.
Example usage
The uri shorthand auto-resolves the .tbi index; add csi: true for a
.csi index instead:
{
type: 'FeatureTrack',
trackId: 'my_track',
name: 'My track',
assemblyNames: ['hg38'],
adapter: {
type: 'Gff3TabixAdapter',
uri: 'https://example.com/genes.gff3.gz',
},
}JBrowse infers Gff3TabixAdapter and FeatureTrack from genes.gff3.gz, 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/genes.gff3.gz',
assemblyNames: ['hg38'],
}Related links
- Track: FeatureTrack
- Display: LinearBasicDisplay
- Display: LinearManhattanDisplay
- Display: LinearMarkDisplay
- Display: LinearMultiRowFeatureDisplay
- Display: LinearScoreDisplay
- Display: LinearWiggleDisplay
- Config guide: Supported file types
Config slots
Adapter slots go inside the track's adapter: "adapter": { "type": "Gff3TabixAdapter", ... }. 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 |
|---|---|
gffGzLocationfileLocation = { uri: '/path/to/my.gff.gz', locationType: 'UriLocation' } | location of the bgzip-compressed GFF3, sorted by position. Must be bgzip rather than plain gzip, which tabix cannot index. |
| index TabixIndex | The tabix index location and its kind. The uri shorthand derives both, so a config using it states neither. |
dontRedispatchstringArray = [ 'chromosome', 'region', 'contig', 'supercontig', 'scaffold' ] | the Gff3TabixAdapter has to "redispatch" if it fetches a region and features it finds inside that region extend outside the region we requested. you can disable this for certain feature types to avoid fetching e.g. the entire chromosome the defaults are the whole-sequence records the common GFF3 sources emit: region (NCBI), supercontig/scaffold (Ensembl, for non-chromosomal sequences), plus chromosome and contig. They span an entire reference and have no children, so letting one expand the fetch would pull a whole chromosome to gain nothing |