

Public Member Functions | |
| void | alignView (Genome g, long position) |
| aligns the display to a particular position of a particular sequence. | |
| BackboneList | getBackboneList () |
| The backbone list or null if none exists. | |
| void | getColumnCoordinates (int lcb, long column, long[] seq_coords, boolean[] gap) |
| Returns column coordinates in source genome order. | |
| boolean | getDrawSimilarityRanges () |
| long | getHighlight (Genome g) |
| long | getHomologousCoordinate (int genX, long pos, int genY) |
Returns the position in genome genY that is homologous to position pos in genome genX. | |
| long[] | getLCBAndColumn (int genSrcIdx, long position) |
| long[] | getLCBAndColumn (Genome g, long position) |
| Identifies the LCB and the column within the LCB of a given sequence position. | |
| int | getLCBIndex (Genome g, long position) |
| char[] | getSequence (long start, long end, int genSrcIdx) |
Returns the sequence between start and end, inclusive, in the specified genome. | |
| byte[][] | getSequenceRange (int genSrcIdx, long left, long right) |
| Extracts columns from the sequence alignment containing the specified range of the specified sequence. | |
| byte[][] | getSequenceRange (Genome g, long left, long right) |
| Extracts columns from the sequence alignment containing the specified range of the specified sequence. | |
| SimilarityIndex | getSim (Genome g) |
| XMFAAlignment | getXmfa () |
| void | initDbusCommunication () |
| void | reload () |
| void | setDrawSimilarityRanges (boolean drawSimilarityRanges) |
| void | setFocus (String sequenceID, long start, long end, String contig) |
| Overrides setFocus() in BaseViewerModel to also align the display appropriately. | |
| void | setSequenceCount (int sequenceCount) |
| Set the number of genomes to be added to this model. | |
| void | updateHighlight (Genome g, long coordinate) |
| XmfaViewerModel (File src, ModelProgressListener listener) throws IOException | |
Protected Member Functions | |
| void | fireReloadEndEvent () |
| void | fireReloadStartEvent () |
| void | referenceUpdated () |
Package Attributes | |
| boolean | drawSimilarityRanges = true |
| MauveDisplayCommunicator | mdCommunicator = null |
| WargDisplayCommunicator | wdCommunicator = null |
Private Member Functions | |
| void | init (ModelProgressListener listener, boolean isReloading) throws FileNotFoundException, IOException |
Private Attributes | |
| BackboneList | bb_list |
| long[] | highlights |
| SimilarityIndex[] | sim |
| XMFAAlignment | xmfa |
Definition at line 36 of file XmfaViewerModel.java.
|
||||||||||||
|
Definition at line 49 of file XmfaViewerModel.java. References init(). |
|
||||||||||||
|
aligns the display to a particular position of a particular sequence. typically called by RRSequencePanel when the user clicks a part of the sequence. Used for display mode 3 Reimplemented from org::gel::mauve::LcbViewerModel. Definition at line 466 of file XmfaViewerModel.java. References getColumnCoordinates(), and getLCBAndColumn(). Referenced by org::gel::mauve::gui::sequence::MatchPanel::mouseClicked(), org::gel::mauve::remote::MauveInterfaceImpl::setDisplayBlockAndColumn(), org::gel::mauve::remote::MauveInterfaceImpl::setDisplayCoordinate(), and setFocus(). |
|
|
Definition at line 522 of file XmfaViewerModel.java. Referenced by reload(). |
|
|
Definition at line 534 of file XmfaViewerModel.java. Referenced by reload(). |
|
|
The backbone list or null if none exists.
Definition at line 363 of file XmfaViewerModel.java. References bb_list. Referenced by org::gel::mauve::color::BackboneMultiplicityColor::apply(), org::gel::mauve::color::BackboneLcbColor::apply(), org::gel::mauve::contigs::ContigGrouper::ContigGrouper(), org::gel::mauve::gui::sequence::MatchPanel::drawXmfa(), org::gel::mauve::analysis::OneToOneOrthologExporter::getBackboneSegs(), and org::gel::mauve::gui::RearrangementPanel::haveBackboneData(). |
|
||||||||||||||||||||
|
Returns column coordinates in source genome order.
Definition at line 377 of file XmfaViewerModel.java. References org::gel::mauve::XMFAAlignment::getColumnCoordinates(). Referenced by alignView(), org::gel::mauve::analysis::Gap::Gap(), org::gel::mauve::analysis::Gap::getFeatures(), getHighlight(), getHomologousCoordinate(), org::gel::mauve::analysis::SnpExporter::getUniqueChromosomes(), org::gel::mauve::recombination::WeakArgModelBuilder::WeakArgXmlHandler::recordRecEdge(), and org::gel::mauve::remote::MauveInterfaceImpl::setDisplayBlockAndColumn(). |
|
|
Definition at line 548 of file XmfaViewerModel.java. References drawSimilarityRanges. Referenced by org::gel::mauve::gui::StyleMenu::actionPerformed(), and org::gel::mauve::gui::sequence::MatchPanel::drawXmfa(). |
|
|
Definition at line 444 of file XmfaViewerModel.java. References getColumnCoordinates(), getLCBAndColumn(), org::gel::mauve::Genome::getSourceIndex(), and highlights. |
|
||||||||||||||||
|
Returns the position in genome
Definition at line 393 of file XmfaViewerModel.java. References getColumnCoordinates(), getLCBAndColumn(), and org::gel::mauve::Genome::length. |
|
||||||||||||
|
Definition at line 306 of file XmfaViewerModel.java. |
|
||||||||||||
|
Identifies the LCB and the column within the LCB of a given sequence position.
Definition at line 302 of file XmfaViewerModel.java. References org::gel::mauve::XMFAAlignment::getLCBAndColumn(). Referenced by alignView(), org::gel::mauve::assembly::AssemblyScorer::calculateMissingGC(), org::gel::mauve::analysis::Gap::Gap(), getHighlight(), getHomologousCoordinate(), org::gel::mauve::remote::MauveInterfaceImpl::getMouseBlock(), org::gel::mauve::remote::MauveInterfaceImpl::getMouseColumn(), org::gel::mauve::analysis::SnpExporter::getUniqueChromosomes(), and org::gel::mauve::remote::WargDisplayCommunicator::highlightChanged(). |
|
||||||||||||
|
Definition at line 310 of file XmfaViewerModel.java. References org::gel::mauve::XMFAAlignment::getLCB(). Referenced by org::gel::mauve::analysis::SnpExporter::getSNPs(). |
|
||||||||||||||||
|
Returns the sequence between
Definition at line 417 of file XmfaViewerModel.java. References org::gel::mauve::Genome::getAnnotationSequence(). |
|
||||||||||||||||
|
Extracts columns from the sequence alignment containing the specified range of the specified sequence.
Definition at line 354 of file XmfaViewerModel.java. |
|
||||||||||||||||
|
Extracts columns from the sequence alignment containing the specified range of the specified sequence.
Definition at line 329 of file XmfaViewerModel.java. References org::gel::mauve::XMFAAlignment::getRange(). Referenced by org::gel::mauve::assembly::AssemblyScorer::printMissingRegions(). |
|
|
Definition at line 291 of file XmfaViewerModel.java. References org::gel::mauve::Genome::getSourceIndex(), and sim. Referenced by org::gel::mauve::contigs::ContigGrouper::ContigGrouper(), and org::gel::mauve::gui::sequence::MatchPanel::mouseClicked(). |
|
|
||||||||||||
|
|
Definition at line 257 of file XmfaViewerModel.java. References mdCommunicator, and wdCommunicator. |
|
|
Reimplemented from org::gel::mauve::LcbViewerModel. Definition at line 276 of file XmfaViewerModel.java. References org::gel::mauve::XMFAAlignment::setReference(). |
|
|
Definition at line 506 of file XmfaViewerModel.java. References fireReloadEndEvent(), fireReloadStartEvent(), and init(). |
|
|
Definition at line 551 of file XmfaViewerModel.java. References org::gel::mauve::BaseViewerModel::fireDrawingSettingsEvent(). Referenced by org::gel::mauve::gui::StyleMenu::actionPerformed(). |
|
||||||||||||||||||||
|
Overrides setFocus() in BaseViewerModel to also align the display appropriately.
Reimplemented from org::gel::mauve::BaseViewerModel. Definition at line 486 of file XmfaViewerModel.java. References alignView(), org::gel::mauve::contigs::DefaultContigHandler::getPseudoCoord(), org::gel::mauve::Genome::getSourceIndex(), and org::gel::mauve::Genome::length. |
|
|
Set the number of genomes to be added to this model. Only used at construction-time, since this will clear out preexisting genome data.
Reimplemented from org::gel::mauve::BaseViewerModel. Definition at line 44 of file XmfaViewerModel.java. References sim. Referenced by init(). |
|
||||||||||||
|
Reimplemented from org::gel::mauve::LcbViewerModel. Definition at line 438 of file XmfaViewerModel.java. References highlights. |
|
|
Definition at line 42 of file XmfaViewerModel.java. Referenced by getBackboneList(), and init(). |
|
|
Definition at line 547 of file XmfaViewerModel.java. Referenced by getDrawSimilarityRanges(). |
|
|
Definition at line 41 of file XmfaViewerModel.java. Referenced by getHighlight(), init(), and updateHighlight(). |
|
|
Definition at line 251 of file XmfaViewerModel.java. Referenced by initDbusCommunication(). |
|
|
Definition at line 40 of file XmfaViewerModel.java. Referenced by getSim(), init(), and setSequenceCount(). |
|
|
Definition at line 252 of file XmfaViewerModel.java. Referenced by initDbusCommunication(). |
|
|
Definition at line 37 of file XmfaViewerModel.java. |
1.3.6