public static class SequenceListOnDisk.AlignmentData extends Object implements XMLSerializable.OldVersionCompatible
DefaultAlignmentDocument using DefaultAlignmentDocument.getAlignmentDataForSequencesNotInMemory()| Constructor and Description |
|---|
SequenceListOnDisk.AlignmentData(org.jdom.Element element)
Recreates AlignmentData from a previously serialized AlignmentData
|
| Modifier and Type | Method and Description |
|---|---|
EndGapsManager |
getEndGapsManager()
Returns an EndGapsManager for these sequences.
|
AlignmentLayout |
getLinkAllPairsLayout()
Returns an alignment layout where all paired reads are linked.
|
AlignmentLayout |
getLinkNearbyPairsLayout()
Returns an alignment layout where nearby paired reads are linked.
|
AlignmentLayout |
getLinkNoPairsLayout()
Returns an alignment layout where no paired reads are linked.
|
PairedReadManager |
getPairedReadManager()
Returns a PairedReadManager for these sequences.
|
SequenceListOnDisk<SequenceDocument> |
getSequences()
Gets the sequences for this data
|
Geneious.MajorVersion |
getVersionSupport(XMLSerializable.VersionSupportType versionType)
Gets either the latest version this class can serialize to via
XMLSerializable.OldVersionCompatible.toXML(com.biomatters.geneious.publicapi.plugin.Geneious.MajorVersion, jebl.util.ProgressListener)
or the most recent version in which the XML returned from XMLSerializable.OldVersionCompatible.toXML(com.biomatters.geneious.publicapi.plugin.Geneious.MajorVersion, jebl.util.ProgressListener) last changed. |
org.jdom.Element |
toXML(Geneious.MajorVersion version,
ProgressListener progressListener)
Serializes this class to XML format, potentially to a format readable by an earlier version of Geneious.
|
org.jdom.Element |
toXML(String elementName)
Converts this AlignmentData to XML for later use with
AlignmentData#AlignmentData(org.jdom.Element) |
public SequenceListOnDisk.AlignmentData(org.jdom.Element element)
throws XMLSerializationException
element - an element previously returned from toXML(String)XMLSerializationException - if the data can't be deserializedpublic Geneious.MajorVersion getVersionSupport(XMLSerializable.VersionSupportType versionType)
XMLSerializable.OldVersionCompatibleXMLSerializable.OldVersionCompatible.toXML(com.biomatters.geneious.publicapi.plugin.Geneious.MajorVersion, jebl.util.ProgressListener)
or the most recent version in which the XML returned from XMLSerializable.OldVersionCompatible.toXML(com.biomatters.geneious.publicapi.plugin.Geneious.MajorVersion, jebl.util.ProgressListener) last changed.getVersionSupport in interface XMLSerializable.OldVersionCompatibleversionType - specifies which version property to returnpublic org.jdom.Element toXML(String elementName)
AlignmentData#AlignmentData(org.jdom.Element)elementName - the name of the element to returnpublic org.jdom.Element toXML(Geneious.MajorVersion version, ProgressListener progressListener)
XMLSerializable.OldVersionCompatibleXMLSerializable.toXML() for a more
detailed description of what it means to serialize to XML.
All classes that implement this method must also implement XMLSerializable.toXML() and should delegate back to
this method using Geneious.getMajorVersion() and ProgressListener.EMPTY as parameters.toXML in interface XMLSerializable.OldVersionCompatibleversion - the major version of Geneious to serialize to XML for. For example "6.0" but not "6.0.0". This must be a version
returned greater or equal to a version returned from
getVersionSupport(VersionSupportType.OldestVersionSerializableTo)
and must never be greater than the current version (Geneious.getMajorVersion())progressListener - for reporting progress and cancellingpublic SequenceListOnDisk<SequenceDocument> getSequences()
public EndGapsManager getEndGapsManager()
public AlignmentLayout getLinkNoPairsLayout()
public AlignmentLayout getLinkAllPairsLayout()
public AlignmentLayout getLinkNearbyPairsLayout()
public PairedReadManager getPairedReadManager()