public class LengthDigestionController extends Object implements DigestionController
| Constructor and Description |
|---|
LengthDigestionController(int min,
int max)
Create a DigestionController that excludes peptides that have a length <
min and > max |
| Modifier and Type | Method and Description |
|---|---|
boolean |
interruptDigestion(Protein protein,
int proteinBoundsCount,
int inclusiveLowerBoundIndex,
int inclusiveUpperBoundIndex)
Control digestion flow given the potential digest bounds
|
boolean |
makeDigest(Protein protein,
int inclusiveProteinLowerIndex,
int exclusiveProteinUpperIndex,
int missedCleavagesCount)
Make a peptide digest from the given protein.
|
boolean |
retainDigest(Protein protein,
Peptide digest,
int digestIndex)
Process DigestedPeptide with/without missed cleavages
|
boolean |
retainSemiDigest(Peptide digest)
Process Semi digested products.
|
public LengthDigestionController(int min,
int max)
min and > maxmin - the minimum peptide length, peptides with a length smaller than this are excludedmax - the maximum peptide length, peptides with a length larger than this are excludedpublic boolean interruptDigestion(Protein protein, int proteinBoundsCount, int inclusiveLowerBoundIndex, int inclusiveUpperBoundIndex)
DigestionControllerinterruptDigestion in interface DigestionControllerprotein - the protein being digestedproteinBoundsCount - the number of cleavage bounds found in the protein (+ 2 terminal bounds)inclusiveLowerBoundIndex - lower bound index (from 0 to proteinBoundsCount-2)inclusiveUpperBoundIndex - upper bound index (from 1 to proteinBoundsCount-1)public boolean makeDigest(Protein protein, int inclusiveProteinLowerIndex, int exclusiveProteinUpperIndex, int missedCleavagesCount)
DigestionControllermakeDigest in interface DigestionControllerprotein - the protein to get peptide from.inclusiveProteinLowerIndex - the lower protein indexexclusiveProteinUpperIndex - the upper protein indexmissedCleavagesCount - the number of missed cleavagespublic boolean retainDigest(Protein protein, Peptide digest, int digestIndex)
DigestionControllerretainDigest in interface DigestionControllerprotein - the protein being digesteddigest - the actual digestdigestIndex - the digest starting index in the proteinpublic boolean retainSemiDigest(Peptide digest)
DigestionControllerretainSemiDigest in interface DigestionControllerdigest - the actual semi digestCopyright © 2016. All Rights Reserved.