API Reference
Genome
Genome Visualisation
tnt.board.genome
: creates a new genome board
genome.species
: sets the species for the genome board
genome.chr
: sets the chromosome for the visualisation
genome.gene
: sets the gene to show in the genome visualisation
genome.min_coord
: sets the minimum allowed genome coordinate in the visualitation
genome.max_coord
: sets the maximum allowed genome coordinate in the visualisation
genome.expand
: sets extra space in the visualisation
Display
tnt.board.track.feature.genome.gene
: creates a new
gene
display
tnt.board.track.feature.genome.transcript
: creates a new
transcript
display
tnt.board.track.feature.genome.sequence
: creates a new
sequence
display
Data
tnt.board.track.data.genome.gene
: creates a new gene retriever
tnt.board.track.data.genome.transcript
: creates a new transcript retriever
tnt.board.track.data.sequence.sequence
: creates a new sequence retriever
sequence.limit
: sets a limit for returning the genomic sequence
Layout
display.layout
: sets a layout for the elements of a track
tnt.board.track.layout.genome
: default layout for genes and transcripts
genome.fixed_slot_type
: specifies if the layout should always keep the slot type
genome.keep_slots
: specifies if the elements should keep vertical positions between updates
genome.on_layout_run
: sets a callback to be run after the layout has finished positioning elements