LinearReferenceSequenceDisplay

Note: this document is automatically generated from @jbrowse/mobx-state-tree objects in our source code. See Core concepts and intro to pluggable elements for more info

Also note: this document represents the state model API for the current released version of jbrowse. If you are not using the current version, please cross reference the markdown files in our repo of the checked out git tag

Source code

GitHub page

Docs

base model BaseDisplay + TrackHeightMixin + MultiRegionDisplayMixin

LinearReferenceSequenceDisplay - Properties

property: type

// type signature
ISimpleType<"LinearReferenceSequenceDisplay">
// code
type: types.literal('LinearReferenceSequenceDisplay')

property: configuration

// type signature
ITypeUnion<any, any, any>
// code
configuration: ConfigurationReference(configSchema)

property: showForward

// type signature
true
// code
showForward: true

property: showReverse

// type signature
true
// code
showReverse: true

property: showTranslation

// type signature
true
// code
showTranslation: true

LinearReferenceSequenceDisplay - Getters

getter: sequenceType

// type
any

getter: isDna

true for DNA tracks; reverse-complement and translation rows are gated on this since they are biologically meaningful only for DNA.

// type
boolean

getter: zoomedOut

the view is too zoomed out to show individual bases

// type
boolean

getter: computedHeight

collapses to 50px when zoomed out (no sequence visible) or before the view initializes; otherwise sized to fit the visible rows.

// type
number

getter: height

override TrackHeightMixin height: use manual resize if set, otherwise the zoom-aware computed height.

// type
number

LinearReferenceSequenceDisplay - Methods

method: trackMenuItems

// type signature
trackMenuItems: () => { label: string; type: string; checked: boolean; onClick: () => void; }[]

LinearReferenceSequenceDisplay - Actions

action: toggleShowForward

// type signature
toggleShowForward: () => void

action: toggleShowReverse

// type signature
toggleShowReverse: () => void

action: toggleShowTranslation

// type signature
toggleShowTranslation: () => void