UNPKG

@jbrowse/plugin-linear-genome-view

Version:

JBrowse 2 linear genome view

34 lines (33 loc) 1.37 kB
import { ConfigurationSchema } from '@jbrowse/core/configuration'; function x() { } const baseLinearDisplayConfigSchema = ConfigurationSchema('BaseLinearDisplay', { maxFeatureScreenDensity: { type: 'number', description: 'maximum features per pixel that is displayed in the view, used if byte size estimates not available', defaultValue: 0.3, }, fetchSizeLimit: { type: 'number', defaultValue: 1000000, description: "maximum data to attempt to download for a given track, used if adapter doesn't specify one", }, height: { type: 'number', defaultValue: 100, description: 'default height for the track', }, mouseover: { type: 'string', description: 'text to display when the cursor hovers over a feature', defaultValue: `jexl:join('<br/>',get(feature,'_mouseOver')||get(feature,'name')||get(feature,'id'),mouseoverExtraInformation||'')`, contextVariable: ['feature', 'mouseoverExtraInformation'], }, jexlFilters: { type: 'stringArray', description: 'default set of jexl filters to apply to a track. note: these do not use the jexl prefix because they have a deferred evaluation system', defaultValue: [], }, }, { explicitIdentifier: 'displayId', }); export default baseLinearDisplayConfigSchema;