Interface ExtendedNucleotideGraph

    • Method Detail

      • getLeadingGapsLength

        int getLeadingGapsLength()
        Get the number of leading residues in the sequence this graph corresponds to that are all gaps. 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.

        Returns:
        the number of leading residues in the sequence this graph corresponds to that are all gaps.