public interface ExtendedNucleotideGraph extends NucleotideGraph
NucleotideGraph.
Ideally this interface would not be a separate interface from NucleotideGraph,
but because NucleotideGraph is an interface, the functionality provided by ExtendedNucleotideGraph could not
added to NucleotideGraph without breaking backwards compatibility of the API.NucleotideGraph.ImmutableGraphProvider| Modifier and Type | Method and Description |
|---|---|
int |
getLeadingGapsLength()
Get the number of leading residues in the sequence this graph corresponds to that are all gaps.
|
int |
getTrailingGapsLength()
Get the number of trailing residues in the sequence this graph corresponds to that are all gaps.
|
getChromatogramLength, getChromatogramPositionForResidue, getChromatogramValue, getSequenceLength, getSequenceQuality, hasChromatogramPositionsForResidues, hasChromatogramValues, hasSequenceQualitiesint getLeadingGapsLength()
NucleotideGraph.getSequenceQuality(int) and NucleotideGraph.getChromatogramPositionForResidue(int) will both
return Integer.MIN_VALUE for residueIndices less than the number of leading gaps.
Note, an implementation may choose to return 0 from this method even if it has leading end gaps or any value less than or equal to the number of leading gaps it has.int getTrailingGapsLength()
NucleotideGraph.getSequenceQuality(int) and NucleotideGraph.getChromatogramPositionForResidue(int) will both
return Integer.MIN_VALUE for residueIndices within this much of NucleotideGraph.getSequenceLength().
Note, an implementation may choose to return 0 from this method even if it has trailing end gaps or any value less than or equal to the number of trailing gaps it has.