public class SpecificSingleEnzymeIterator extends Object implements SequenceIterator
Constructor and Description |
---|
SpecificSingleEnzymeIterator(ProteinIteratorUtils proteinIteratorUtils,
String proteinSequence,
Enzyme enzyme,
int nMissedCleavages,
double massMin,
double massMax)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PeptideWithPosition |
getNextPeptide()
Returns the next peptide that can be generated from the iterator.
|
public SpecificSingleEnzymeIterator(ProteinIteratorUtils proteinIteratorUtils, String proteinSequence, Enzyme enzyme, int nMissedCleavages, double massMin, double massMax)
proteinIteratorUtils
- utils for the creation of the peptidesproteinSequence
- the sequence to iterateenzyme
- the enzyme to use for digestionnMissedCleavages
- the maximal number of missed cleavages allowedmassMin
- the minimal mass of a peptidemassMax
- the maximal mass of a peptidepublic PeptideWithPosition getNextPeptide() throws InterruptedException
SequenceIterator
getNextPeptide
in interface SequenceIterator
InterruptedException
- exception thrown if a thread is
interruptedCopyright © 2019. All rights reserved.