All Known Implementing Classes:
NoDigestionCombinationIterator, NoDigestionIterator, SpecificSingleEnzymeCombinationIterator, SpecificSingleEnzymeIterator, UnspecificCombinationIterator, UnspecificIterator

public interface SequenceIterator
Interface for an iterator returning peptides along a protein sequence.
Author:
Marc Vaudel
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the next peptide that can be generated from the iterator.
  • Method Details

    • getNextPeptide

      ExtendedPeptide getNextPeptide() throws InterruptedException
      Returns the next peptide that can be generated from the iterator. Null if none left.
      Returns:
      the next peptide that can be generated from the iterator
      Throws:
      InterruptedException - exception thrown if a thread is interrupted