Class UnspecificCombinationIterator
java.lang.Object
com.compomics.util.experiment.identification.protein_sequences.digestion.iterators.UnspecificCombinationIterator
- All Implemented Interfaces:
SequenceIterator
Iterator for unspecific cleavage.
- Author:
- Marc Vaudel
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty default constructorUnspecificCombinationIterator(ProteinIteratorUtils proteinIteratorUtils, String proteinSequence, double massMin, double massMax) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the next peptide that can be generated from the iterator.
-
Constructor Details
-
UnspecificCombinationIterator
public UnspecificCombinationIterator()Empty default constructor -
UnspecificCombinationIterator
public UnspecificCombinationIterator(ProteinIteratorUtils proteinIteratorUtils, String proteinSequence, double massMin, double massMax) Constructor.- Parameters:
proteinIteratorUtils- utils for the creation of the peptidesproteinSequence- the sequence to iteratemassMin- the minimal mass of a peptidemassMax- the maximal mass of a peptide
-
-
Method Details
-
getNextPeptide
Description copied from interface:SequenceIteratorReturns the next peptide that can be generated from the iterator. Null if none left.- Specified by:
getNextPeptidein interfaceSequenceIterator- Returns:
- the next peptide that can be generated from the iterator
- Throws:
InterruptedException- exception thrown if a thread is interrupted
-