GenbankSequenceAdapter
Auto-generated from the config schema in the source. See the config guide for concepts. Provided by the gff3 plugin. View source.
Reads the ORIGIN sequence of each record of a GenBank flat file, named as
GenbankAdapter names them, so the same file serves as an assembly and as
its feature track. A record whose LOCUS line says circular gives a
circular sequence.
Example usage
{
type: 'ReferenceSequenceTrack',
trackId: 'my_assembly-ReferenceSequenceTrack',
adapter: {
type: 'GenbankSequenceAdapter',
uri: 'https://example.com/plasmid.gbk',
},
}Related links
- Track: ReferenceSequenceTrack
- Display: LinearReferenceSequenceDisplay
- Config guide: Supported file types
Config slots
Adapter slots go inside the track's adapter: "adapter": { "type": "GenbankSequenceAdapter", ... }. 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 |
|---|---|
genbankLocationfileLocation = { uri: '/path/to/my.gbk', locationType: 'UriLocation' } |
location of the GenBank file. May be gzipped; it is decompressed and parsed in full on first use, so the file has to fit in memory. |