public interface DigestionController
ProteinDigester.
In the following we give some explanations about when those methods are called back.
ProteinDigester generates a sequence of pairs of these bounds for the digested protein given the
number of potential cleavage sites and the maximum number of missed cleavages.
A protein with n potential cleavage sites will potentially produce (n+1)(n+2)/2 potential digests.
Each pair of bounds then pass a series of process that lead to the production of a peptide digest and its storing.
| 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.
|
boolean interruptDigestion(Protein protein, int proteinBoundsCount, int inclusiveLowerBoundIndex, int inclusiveUpperBoundIndex)
protein - 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)boolean makeDigest(Protein protein, int inclusiveProteinLowerIndex, int exclusiveProteinUpperIndex, int missedCleavagesCount)
protein - the protein to get peptide from.inclusiveProteinLowerIndex - the lower protein indexexclusiveProteinUpperIndex - the upper protein indexmissedCleavagesCount - the number of missed cleavagesboolean retainDigest(Protein protein, Peptide digest, int digestIndex)
protein - the protein being digesteddigest - the actual digestdigestIndex - the digest starting index in the proteinboolean retainSemiDigest(Peptide digest)
digest - the actual semi digestCopyright © 2016. All Rights Reserved.