LGVSyntenyDisplay
Auto-generated from the @jbrowse/mobx-state-tree model in the source. See the developer guide for concepts. Provided by the linear-comparative-view plugin. View source.
Draws where a SyntenyTrack's alignments fall in a plain linear genome
view, with menu items that open them in a synteny view.
Example usage
Shows a SyntenyTrack's alignments in a plain linear view (rather than the
two-row synteny view). Same track config as a synteny track — just pick this
display type:
{
type: 'SyntenyTrack',
trackId: 'hg38_vs_mm10',
name: 'hg38 vs mm10',
assemblyNames: ['hg38', 'mm10'],
adapter: {
type: 'PAFAdapter',
uri: 'https://example.com/hg38_vs_mm10.paf',
queryAssembly: 'hg38',
targetAssembly: 'mm10',
},
displays: [
{
type: 'LGVSyntenyDisplay',
displayId: 'hg38_vs_mm10-LGVSyntenyDisplay',
},
],
}The configuration slots for this model are documented on its config schema page.
Each section ends with the members a composed model contributes, linked to the page that documents them.
Properties
| Member | Description |
|---|---|
type"LGVSyntenyDisplay" |
Always "LGVSyntenyDisplay", the name a snapshot selects this model by. |
configurationLGVSyntenyDisplayConfig |
The config node this model reads its settings from, through getConf. Its slots are documented on its config schema page. |
Volatiles
30 inherited volatiles from 10 models
From LodTierInfoMixin: adapterHeaderRead
From LinearAlignmentsDisplay: , collapsedGroups, groupSizes, fittedHeightPx, hoverState
From ContextMenuMixin:
From LegendMixin: dismissedLegendSections
From ScoreScaleMixin: unclippedFenceQuantile
From MultiRegionDisplayMixin: loadedRegions
From FetchMixin: activeSignal, fetchGeneration, reloadCounter, statusWindow, error, statusMessage, statusProgress, fetchCanceled, fetchRotation
From RenderLifecycleMixin: canvasDrawn, paintCount, currentRenderingBackend, renderTick, renderError, offScreen
From RegionTooLargeMixin: forceLoadTrack, byteEstimate, gateMeasuredViewportKey
From TrackHeightMixin: scrollTop, hostHeight
Getters
| Member | Description |
|---|---|
resolutionLodMode |
the level-of-detail tier the reader pinned, or 'auto' for the adapter's own bpPerPx threshold. lodTier is what resolves it |
featureNounstring |
A row here is a PAF block, not a read — the group-label chips say "Show all features". The ONE place that word is chosen: the two menu builders below that take a noun read it from here rather than spelling it again, so the chips and the menus cannot end up naming the same row two different things. |
selfLaneKeysstring[] |
The mate-assembly keys of the lane an all-vs-all track draws for the view's own assembly: the view's name, and every name the track declares for the same assembly, since the adapter keys a lane by the track's spelling. |
boolean |
Whether facet.hidden holds the self lane, the "Hide self-alignment lane" box. |
hasLodCapableAdapterboolean |
Whether this track's adapter has tiered storage to switch between — gates the "Level of detail" menu. |
lodTierLodTier |
The tier this display's fetch asks for: the alignments base's hook, resolved here on the main thread off the SETTLED zoom. It is the base's zoomFetchArgs term and rides the RPC at the call site, so a tier flip refetches the regions on screen while they keep drawing — and, being settled, a gesture travelling through the threshold does not hand FetchVisibleRegions a tier of a zoom it never stops at, on the pipeline whose extract is the expensive one. The tier the adapter will serve once lodTierInfo has landed: a file with no coarse tier is 'fine' at any zoom, and the threshold is clamped up to the file's --coarse bound. |
liveLodTierLodTier |
The same tier off the live zoom, for the base's dataSuperseded. |
310 inherited getters from 16 models
From LodTierInfoMixin: adapterHeader, lodTierInfo
From LinearAlignmentsDisplay: showCoverage, coverageHeight, showCoverageAlleles, coverageMinAlleleFraction, interbaseIndicatorRule, showInterbase, tooltipField, unit, showPileup, configuredHeight, markHeight, pileupMaxLayoutHeight, showMismatches, showSoftClips, showConnectors, mismatchOpacityField, mismatchQualityOpacity, fadeLowFrequency, hasJunctions, showJunctions, junctionsHeight, junctionsPlacement, effectiveJunctionsPlacement, showJunctionLabels, writtenFilter, filterPredicates, configProblems, junctionFilter, showReadConnections, readConnectionsMark, drawnReadConnections, readConnectionsHeight, readConnectionsPlacement, readConnectionsStrokeScale, readConnectionsStrokeWidth, showOrdinaryPairs, connectionFilter, colorSetting, colorEncoding, colorLabels, colorTitle, colorKeyTitle, colorKeyDescending, pinnedInsertSizeBand, basesFilter, colorField, baseLayer, bodyColorKind, readPredicates, declaredFilters, layoutOrder, facet, featureIdUnderMouse, mouseoverExtraInformation, hoveredConnectorReadIds, hoveredJunction, overCigarItem, hoverCoverageBand, hoveredArcHighlight, rpcDataMap, view, drawsConnectors, effectiveFacet, groupKeySpace, prefersOffset, canCollapseSections, collapseSections, bandPlot, statsInView, autoscaleRange, valuesInView, defaultScoreDomain, coverageScaleType, coverageDomain, coverageDepthDomain, coverageScaleState, keyWindows, TooltipComponent, detectedModifications, modificationsReady, detectedModificationTypes, isFitting, featureHeight, featureSpacing, rowHeight, sortColumn, groupOrder, rawDataByGroup, chainAttachment, chainedByGroup, groupLayoutContext, loadedRegionInfos, displayedRegionInfos, canonicalRefName, arcsResult, arcCollection, junctionsStripKeysByGroup, junctionsStripLanes, statedLaneBands, statedBandHeights, laneBandsInput, laneSlot, , drawnLaneBandsInput, bandHeights, sortReadsBlockedReason, collapseSortBlockedReason, canSortReads, canSizeGroupHeights, groupSizesInEffect, arcLegendCategories, arcLegendTitle, laneBandOverheads, totalBandOverhead, groupRowCaps, fitDefaultCap, resolvedFitDefaultCap, fitLaneRows, fitRows, fitCeilingRows, paintedRefNamePosition, liveNotices, readIdsByChainName, arcsByGroup, crossRegionArcsByGroup, laidOutByGroupUncolored, framesChainStrand, laidOutByGroupFramed, connectorFilter, connectorsByGroup, coverageTicks, rowlessLaneKeys, readColorOpts, bakedColorExtent, linearFieldExtent, baseQualitySpan, bakedColorScale, readColorContext, laidOutByGroupColored, colorLegendCategories, presentTagValues, presentModifications, declaredReadLabels, keyReadLabels, overlapLegendRows, keySectionOrder, colorRamps, laidOutByGroup, readIdIndex, readIdIndexMap, layoutReady, lanes, showsGroupLabels, drawnLanes, minSectionHeight, sections, renderSections, connectorPairSections, connectorKey, connectionColorTypes, legendMaxWidth, , , isGrouped, scrollModel, stickyBandHeight, coverageBandHeight, coverageDisplayHeight, scrollViewportHeight, scrollContentHeight, growTargetHeight, visibleLabels, selectedChainReadIds, hoverChainReadIds, readCategoryLabel, arcCategoryLabel, readArraysByGroup, junctionSections, drawsJunctions, bandChips, junctionLegendKeys, themed, colorScales, hasLegendKey, fittedFeatureHeight, renderState, linkRegions, junctionLabels, selectedJunctionHighlight, selectedConnectorHighlight, hoverInk, hoverReads, selectionInk, arcsYDomainBp, scoreRulesDrawn, valueScales, sortTag, perBaseBinBp, livePerBaseBinBp, hoveredFeature, dataSuperseded, ownGroupState, gateEnabled
From HiddenGroupsMixin: , , groupStateKey
From FacetWritesMixin: writtenFacet
From ColorWritesMixin: writtenColor
From ParkedColorMixin: parkedColor, parkedIdentity
From LegendMixin: showLegend, legendRight, legendTop, legendSpec, keyDrawnByHost
From ScoreScaleMixin: scaleType, scaleZero, fenceQuantile, clipFenceQuantile, symlogConstant, domainMin, domainMax, autoscaleGroup, scaleTitle, grid, showAxis, scoreRules, axisGuide
From ScoreAxisMixin: axisReachesZero, resolvedDomainMin, resolvedDomainMax, autoscaledDomain, pinsDomain, axes
From MultiRegionDisplayMixin: host, canvasWidthPx, settledSubPixelBinBp, canRender, rendersCanvas, trackVisibleRegions, viewportWithinLoadedData, viewportEmpty, fetchSuspended, fetchHeld, renderBlocks, fetchInputs, regionPayloads, hasRegionData, staleSettingsDrawn, dataCurrent, loadedAssembly, phaseViewportCurrent, svgReady, paintInert, paintSuperseded, displayPhase
From FetchMixin: isLoading, isLoadingOrCanceled, fetchInert, awaitingPrerequisite, awaitingDependentData, settingsFetchInputs
From RenderLifecycleMixin: painted
From RegionTooLargeMixin: byteGateAdapterConfig, densityTooLarge, byteGateAdapterPath, adapterFetchSizeLimit, gateViewportSpanBp, gateViewport, configuredFetchSizeLimit, configForceLoad, aboveForceLoadFloor, gateExempt, estimatedFetchBytes, gateByteLimit, gateActive, gateMeasurementStale, densityGateActive, tooLargeStatus, regionTooLarge, regionTooLargeReason, zoomCanReleaseGate, gateSkipsMeasuredViewport
From HeightModeMixin: heightMode, autoHeight, fitHeightToDisplay, growMaxHeight, fitTargetHeight, grownHeight, height, hostInitialized
From TrackHeightMixin: allottedHeight, resizing, scrollableHeight
From BaseDisplay: parentTrack, selectedFeatureId, RenderingComponent, DisplayBlurb, adapterConfig, isMinimized, featureWidgetType, plotKeys, plot, configNotices, notices, cornerNotices, plotExamples, configDocsUrl
Methods
| Member | Description |
|---|---|
groupChipLabel(label: string) => string |
A mate-assembly chip reads the assembly's display name |
() => MenuItem[] |
|
() => MenuItem[] |
33 inherited methods from 6 models
From LinearAlignmentsDisplay: filterNarrowing, nonReferenceAt, configProblemsOf, legendItems, findFeatureInRpcData, laneFor, connectionLegendItems, readIdsSharingChainWith, getFeatureInfoById, readLayoutRecord, junctionSupportingReadSlots, colorsIn, themedIn, connectorStylerIn, colorScalesIn, readInk, slotInk, rpcProps, zoomFetchArgs, fetchExportedFeatures, groupByColor, groupByPlot
From ParkedColorMixin: parkedColorOf
From LegendMixin: legendSpecIn
From MultiRegionDisplayMixin: regionHasData, isCacheValid
From RegionTooLargeMixin: gateFetchState, resolvedByteLimit
From BaseDisplay: renderingProps, exportedFeatures, liftPlot, plotProblems, plotWrites
Actions
| Member | Description |
|---|---|
fetchNeeded(needed: IndexedRegion[]) => void |
The inherited fetch, with each region's assembly respelled the way the adapter config names it. The view names its assembly canonically and the adapter answers a region by comparing that text against its configured names in a worker with no assembly manager, so an adapter naming an alias would fetch nothing. The comparative views do the same through renameRegionsForAdapter. |
(flag: boolean) => void |
Write the self lane into facet.hidden, or take it out. |
setResolution(arg: LodMode) => void |
117 inherited actions from 15 models
From LodTierInfoMixin: setAdapterHeader
From LinearAlignmentsDisplay: setShowCoverage, setShowCoverageAlleles, setCoverageMinAlleleFraction, setShowInterbase, setFilterFields, setShowPileup, setShowMismatches, setShowSoftClips, setShowConnectors, setMismatchOpacityField, setShowJunctions, setJunctionsPlacement, setShowJunctionLabels, setJunctionFilter, setDrawnReadConnections, setReadConnectionsPlacement, setReadConnectionsStrokeWidth, setShowOrdinaryPairs, setConnectionFilter, applyGroupBy, openPlotDialog, toggleGroupCollapsed, dropGroupState, clearMouseoverState, clearHoverUnlessPinned, setError, setRpcData, clearSelection, openSolidColorDialog, setBases, sortAtCenterLine, setSort, setCollapseSections, toggleGroupExpanded, setGroupHeight, setMarkHeight, setPileupMaxLayoutHeight, setHeightMode, setFittedHeightPx, setCoverageHeight, setReadConnectionsHeight, setJunctionsHeight, setUnit, setHoverState, , , selectFeature, startRenderingBackend, withFeatureById, selectFeatureById, , renderSvg, clearHoveredFeature
From HiddenGroupsMixin: hideGroup, showAllGroups
From FacetWritesMixin: facetByField, setFacetSort
From ColorWritesMixin: colorByField, setColorValue, colorByIdentity, colorByScheme, pickDefaultColor, pickSolidColor
From ParkedColorMixin: parkColor
From LegendMixin: setShowLegend, dismissLegendSection
From ScoreScaleMixin: setScaleType, setScaleZero, setFenceQuantile, setDomainMin, setDomainMax, setMinScore, setMaxScore, setAutoscaleGroup, setGrid, setScoreRules, resetYScale
From MultiRegionDisplayMixin: setLoadedRegion, evictRegionStore, dropLoadedRegion, clearDisplaySpecificData, clearSettingsBakedData, lapseHeldFetch, clearAllRpcData, invalidateSettings, reload, fetchRegions, afterAttach
From FetchMixin: setStatusMessage, stopActiveFetch, openStatusStream, cancelFetch, cancelFetchByUser, beforeDestroy, beginFetch, endFetch, runFetch
From RenderLifecycleMixin: markCanvasDrawn, resetCanvasDrawn, stopRenderingBackend, renderNow, setOffScreen, setRenderError, attachRenderingBackend
From RegionTooLargeMixin: clearByteEstimate, clearGateMeasurements, setForceLoadTrack, commitFetchBytes, forceLoad
From HeightModeMixin: resizeHeight
From TrackHeightMixin: setScrollTop, setHostHeight, setHeight, expandToContentHeight