SequenceFeatureDetails
Auto-generated from the @jbrowse/mobx-state-tree model in the source — see the developer guide 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 |
|---|---|
showCoordinatesSettingShowCoordinatesMode | |
intronBpnumber | |
upDownBpnumber | |
upperCaseCDSboolean | |
charactersPerRownumber | 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. |
| recentModes | the sequence types picked in any panel, most recent first; resolveMode shows the first one a feature offers |
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 | |
| setMode |