public class GenomicViewInspect extends GenomicViewDetails
Modifier and Type | Class and Description |
---|---|
protected class |
GenomicViewInspect.GenomicViewInspectMouseMotionListener |
GenomicViewEvents.GenomicViewKeyListener, GenomicViewEvents.GenomicViewMouseListener, GenomicViewEvents.GenomicViewMouseMotionListener
javax.swing.JComponent.AccessibleJComponent
Modifier and Type | Field and Description |
---|---|
protected int |
end_first_insertion |
protected int |
end_insertion_reference |
protected int |
insertion_width |
protected boolean |
is_valid |
protected static java.lang.String |
no_data_msg |
ipd_baseline, ipd_nan_marker, MAX_TRACK_HEIGHT, min_ipdratio_plot, MIN_TRACK_HEIGHT
data_on_demand_queue, data_on_demand_timer, data_request_queue, details_data, details_options, gappedDNAAnnotation, ipd_consensus_data, ipd_consensus_request_queue, MIN_EXTRA_DELTA_ADD_RANGE_REQUEST, MIN_HALF_DATA_ON_DEMAND_REQUEST, MIN_RANGE_REFERENCE_OR_IPD_REQUEST, noDNAAnnotation, reference_data, reference_request_queue
default_tracks_height, variations_splitter
end_last_lower_label_x, end_last_upper_label_x
active, bCircular, bDetails, beginPoint, bHorizontal, bInspection, bottomMarkerBounds, bottomPileUpBounds, bottomReferenceBounds, contigLength, currentViewContig, default_border_width, default_feature_size, default_height_top_axis, default_ideogram_height, default_ideogram_label_width, default_ideogram_width, default_left_info_width, default_tracks_width, default_view_height, default_view_width, default_y_bottom_ideogram, default_y_top_ideogram, dim_ideogramview, endPoint, ideogramBounds, ideogramLabelBounds, int_visible_range, isDragging, layout_info, leftLegendBounds, leftMarkerBounds, leftVisible, main_app, marker_state, markers, maxWidth, minViewGenomicRange, minWidth, paintBuffer, paintBufferValid, rangeSelection, rightLegendBounds, rightMarkerBounds, rightVisible, scaleX, scaleY, selected_gene, selectedMarker, selectedSlotIndex, selectedTrackIndex, selectionChangedListeners, showGenes, showLabels, showMarkerLabels, showMarkers, viewHistory
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
Constructor and Description |
---|
GenomicViewInspect(VioletApp mainApp) |
Modifier and Type | Method and Description |
---|---|
void |
assembleReadsWithGappedInsertions()
Creates pseudo-reads with added gaps so we can construct and view an MSA
|
protected int |
calcRequiredGapsForRead(ReadInfo read,
int read_idx_start,
int read_idx_end,
int gaps_to_add)
count total gaps to add to this read
|
protected void |
calculateInsertionExtent()
two pass to determine insertion range and start-stop ref coordinates
|
boolean |
calculateInsertionInfo()
Determines insertion genomic range and start-stop coordinates
|
void |
drawBackgroundSelections(java.awt.Graphics g)
draw header area and reference sequence outline
|
void |
drawForegroundSelections(java.awt.Graphics g) |
protected void |
drawGenomicViewDoubleBuffered(java.awt.Graphics graphics)
Main draw function for class
|
void |
drawGenomicViewToGraphicsContext(java.awt.Graphics g)
Paints the ideogram into the given graphical context.
|
protected void |
drawHeaderFooter(java.awt.Graphics g) |
protected void |
drawHorizontalTracksHeader(java.awt.Graphics g)
Draws the labels for each track
|
protected void |
drawReadKinetic(java.awt.Graphics g,
Marker marker,
int y_start,
boolean bDrawDNABases,
int mode) |
protected void |
drawReadUnfiltered(java.awt.Graphics g,
Marker marker,
int y_start,
boolean bDrawDNABases,
boolean bDrawQV) |
protected void |
drawReferenceSequence(java.awt.Graphics g) |
protected void |
drawTargetInDetailsView()
draw selection in region panel
|
int |
getCenterLocation() |
long |
getEndFirstInsertion() |
long |
getEndInsertionReference() |
int |
getInsertionWidth() |
int |
getMaxGenomicRange() |
protected double |
getMinMagnification() |
java.lang.String |
getToolTipText(java.awt.event.MouseEvent e) |
protected void |
initLocals() |
protected void |
initTransientState() |
protected boolean |
isDrawIPDConsensus()
should we draw consensus ipd based on user options, etc.
|
boolean |
isValidView() |
void |
noDataFound() |
void |
setEndInsertions(int l) |
void |
setValidView(boolean b) |
void |
setViewWithOrWithoutUpdate(Interval interval,
boolean bredraw)
Sets the current genomic range for this view
|
center, changeDNAFontSize, changeIPDConsensusHeight, changeTrackSize, drawDetailsLegend, drawGraphStructures, drawIPDConsensusPlot, drawIPDConsensusRevRefAndBases, drawKineticsLegendToDeviceContext, drawLineStructures, drawLinkStructures, drawMapQVLegendToDeviceContext, drawMinMaxIPDRatioLabel, drawNodeStructures, drawReadFiltered, drawReadLengthLegendToDeviceContext, drawReadsFiltered, drawReadsKinetics, drawReadsUnfiltered, drawReferenceBases, drawReferenceBasesOutline, drawStructureLegend, drawSubReads, drawTruncatedEndsOfLink, drawTruncatedEndsOfRead, getDefaultVisibleRange, getListOfReadsToDraw, getMaxIPDToPlot, getScaledWidth, resetVisibleGenomicRange, saveLastPosition, updateLayout, updateSize
drawEpiProFoldedRead, drawEpiProUnfoldedReadMappedCoord, drawEpiProUnfoldedReadSubreadCoord, drawEpiProUnfoldedReadSubreadCoordOrg, drawReadShape
actionPerformed, addGenomicRangeToDetailsViewDataRequestsQueue, addGenomicRangeToDetailsViewIPDConsensusRequestQueue, addGenomicRangeToDetailsViewReferenceRequestQueue, canDrawIPDConsensus, clearAllDetailsData, findReadByPositionAndLane, getDetailsDataLocus, getDetailsDataStorage, getDetailsOptions, getEmptyCharArray, getIPDConsensusDataLocus, getIPDConsensusStorage, getReferenceDataLocus, getReferenceSequenceStorage, isCDNADataAvailable, isDNABaseShown, isIPDConsensusDataAvailable, retrieveDataOnDemand, setConsensusData, setDetailsOptions, setDetailsViewData, setIPDConsensusData, setReferenceData, setReferenceSequenceStorage, setViewDataForCurrentContig, updateLayoutOnDemand, zoomToBases
calcSize, drawCrossLines, drawFilteredTrack, drawFilteredTracks, drawGene, drawIdeogram, drawLabelWithoutCollision, drawMarkerHorizontal, drawMarkerInterval, drawMarkers, drawMarkersLegend, drawModification, drawModificationInterval, drawModificationsLegend, drawModificationSummaryHeatmap, drawModificationSummaryHistogram, drawMotifLegend, drawRangeSelection, drawReferenceSequenceOutline, drawSummaryLegends, drawSummaryTracks, drawUnFilteredTracks, drawVariant, drawVariantInterval, drawVariantIntervalOrg, drawVariantsLegend, drawVariantsLegendOrg, getLegendLabelsWidth, getMaxCoverageInInterval, getMaxCoverageInInterval, getMaxMagnification, getTracksHeight, isIdeogramDBLoaded, selectPoint, setTracksHeight, showDataLabels, updateSize
addSelectionChangedListener, beginSelection, clearSelections, createToolTip, endSelection, findVariantByPositionAndYCoordinate, fireSelectionChanged, getActiveViewForKeyEvents, getScaledHeight, getSelectedGene, getSelectedMarker, getSelectedSlotIndex, getSelectionInfo, getShowLabels, getShowMarkerLabels, getShowMarkers, getZoom, getZoom, hasViewHistoryItems, isSelection, popView, pushView, scroll, scrollVisibleGenomicRangeToTopOrBottom, selectNextPreviousContig, selectNextPreviousGeneContig, selectNextPreviousMarker, setActive, setRangeSelection, setSelectedGeneAndTrack, setSelectedMarkerAndSlot, setShowGenes, setShowLabels, setShowMarkerLabels, setShowMarkers, setVisibleGenomicRange, setVisibleGenomicRegion, setWidth, toggleMarker, zoomVisibleGenomicRange
autofitLabelWidth, BaseRangeToXExtent, BaseToXCoord, BaseToYCoord, drawAxisHeaderlabel, drawEpiProIdeogram, drawGenes, drawGenomicViewToPaintBuffer, drawInfoLabel, drawInfoLabelJustified, drawLabelWithOffsetAndWidth, drawMarker, drawMinMaxLabel, drawModification, drawRotatedLabel, drawSummary, drawSummaryInterval, drawSummaryRegion, drawTrackMetricLabel, drawVariant, getContigLength, getContigMaxRange, getDim, getExtraRefTrackDistance, getGenesBounds, getIdeogramBounds, getLabelBounds, getLegendBounds, getMarkersBounds, getNumLeft, getNumRight, getPanelTitle, getPileupBounds, getRangeSelection, getReferenceBounds, getSelectedRangeColor, getVisibleGenomicRange, invalidatePaintBuffer, isCircular, isDetails, isHorizontal, isInspection, paintActiveBorder, paintComponent, paintLegendBackground, prepareDrawVariant, print, scaleX, scaleY, setMagnificationScaleFactor, trackIndexToXCoord, trackToYCoord, XCoordToBase, xCoordToTrackIndex, YCoordToBase, yCoordToMarkerCollectionIndex, yCoordToMarkerCollectionIndexNew, yCoordToMarkerCollectionIndexOrg, yCoordToTrackIndex
addTrackDataToViewAndUpdateLayout, clearMarkers, getContigLabel, getGenesOfCurrentContig, getIdeogramTreeOfCurrentContig, getMarkerCollection, getMarkers, getNumMarkerCollections, getSlotColor, getSlotMaxCoverage, getSlotMaxVariants, getSlots, markerToSampleIndex, sampleToMarkerIndex, sampleToMarkerIndex, setViewContig, updateVisibility
getAbsMaxGenomicRange, getBorderWidth, getDataStorage, getGeneDB, getIdeogramDB, getMainWindow, getMinGenomicRange, getReferenceInfo, getViewContig, getViewContigName, getVioletApp, initializeViewBase, isActive
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
protected static java.lang.String no_data_msg
protected transient boolean is_valid
protected int end_first_insertion
protected int end_insertion_reference
protected int insertion_width
public GenomicViewInspect(VioletApp mainApp)
public long getEndFirstInsertion()
public long getEndInsertionReference()
public int getInsertionWidth()
public boolean calculateInsertionInfo()
protected void initLocals()
initLocals
in class GenomicViewDetails
protected void initTransientState()
initTransientState
in class GenomicViewDetails
protected boolean isDrawIPDConsensus()
isDrawIPDConsensus
in class GenomicViewDetailsData
protected void drawGenomicViewDoubleBuffered(java.awt.Graphics graphics)
GenomicViewDraw
drawGenomicViewDoubleBuffered
in class GenomicViewDraw
public void drawGenomicViewToGraphicsContext(java.awt.Graphics g)
GenomicViewHorizontal
drawGenomicViewToGraphicsContext
in class GenomicViewDetails
protected void drawHeaderFooter(java.awt.Graphics g)
drawHeaderFooter
in class GenomicViewDetails
protected void drawHorizontalTracksHeader(java.awt.Graphics g)
GenomicViewHorizontal
drawHorizontalTracksHeader
in class GenomicViewDetails
protected void drawReadUnfiltered(java.awt.Graphics g, Marker marker, int y_start, boolean bDrawDNABases, boolean bDrawQV)
drawReadUnfiltered
in class GenomicViewDetails
protected void drawReadKinetic(java.awt.Graphics g, Marker marker, int y_start, boolean bDrawDNABases, int mode)
drawReadKinetic
in class GenomicViewDetails
protected void drawReferenceSequence(java.awt.Graphics g)
drawReferenceSequence
in class GenomicViewDetails
public void drawBackgroundSelections(java.awt.Graphics g)
drawBackgroundSelections
in class GenomicViewHorizontal
public void drawForegroundSelections(java.awt.Graphics g)
drawForegroundSelections
in class GenomicViewHorizontal
protected void drawTargetInDetailsView()
public int getMaxGenomicRange()
getMaxGenomicRange
in class GenomicViewDetails
protected double getMinMagnification()
getMinMagnification
in class GenomicViewHorizontal
public void setValidView(boolean b)
public boolean isValidView()
public void setEndInsertions(int l)
public void setViewWithOrWithoutUpdate(Interval interval, boolean bredraw)
GenomicViewEvents
setViewWithOrWithoutUpdate
in class GenomicViewEvents
public void noDataFound()
public java.lang.String getToolTipText(java.awt.event.MouseEvent e)
getToolTipText
in class GenomicViewEvents
public int getCenterLocation()
protected void calculateInsertionExtent()
public void assembleReadsWithGappedInsertions()
protected int calcRequiredGapsForRead(ReadInfo read, int read_idx_start, int read_idx_end, int gaps_to_add)
read
- read_idx_start
- read_idx_end
- gaps_to_add
- total gaps requiredCopyright © 2010-2014 Pacific Biosciences. All Rights Reserved.