SequenceFeatureDetails
Auto-generated @jbrowse/mobx-state-tree API for the current JBrowse release — see pluggable elements for concepts. Built into JBrowse core. View source.
User preferences for the sequence readout under a feature's details, seeded from and written straight back to localStorage. Nothing here is snapshotted or reads the tree, so an instance is cheap and needs no lifecycle: a holder that only sometimes shows a panel (e.g. a track's right-click dialog) creates one when it opens rather than carrying it around.
BaseFeatureWidget holds one as sequenceFeatureDetails, which is where a
caller changing the readout reaches these actions.
Volatiles
| Member | Description |
|---|---|
| showCoordinatesSetting | |
intronBpintronBp: localStorageGetNumber( | |
upDownBpupDownBp: localStorageGetNumber( | |
upperCaseCDSupperCaseCDS: localStorageGetBoolean( | |
| charactersPerRow | how wide a row of the readout is. Rows exist only while coordinates are shown — without them the panel wraps to its container — so this is what the labels step by, and the line width of the FASTA exported from that state. |
Getters
| Member | Description |
|---|---|
showCoordinatesboolean |
Actions
| Member | Description |
|---|---|
setUpDownBp(f: number) => void | |
setIntronBp(f: number) => void | |
setUpperCaseCDS(f: boolean) => void | |
setCharactersPerRow(f: number) => void | |
setShowCoordinates(f: ShowCoordinatesMode) => void |