Skip to main content

FormatDetails

Note: this document is automatically generated from configuration objects in our source code. See Config guide for more info

Also note: this document represents the config 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

generally exists on the tracks in the config.json or as a 'session' config as configuration.formatDetails

FormatDetails - Slots

slot: configuration.formatDetails.feature

feature: {
type: 'frozen',
description: 'adds extra fields to the feature details',
defaultValue: {},
contextVariable: ['feature'],
}

slot: configuration.formatDetails.subfeatures

subfeatures: {
type: 'frozen',
description: 'adds extra fields to the subfeatures of a feature',
defaultValue: {},
contextVariable: ['feature'],
}

slot: configuration.formatDetails.depth

depth: {
type: 'number',
defaultValue: 2,
description:
'depth to iterate the formatDetails->subfeatures callback on subfeatures (used for example to only apply the callback to the first layer of subfeatures)',
}

slot: configuration.formatDetails.maxDepth

maxDepth: {
type: 'number',
defaultValue: 10000,
description: 'hide subfeatures greater than a certain depth',
}