public class AcceptAllDigestionController extends Object implements DigestionController
| Constructor and Description |
|---|
AcceptAllDigestionController() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
interruptDigestion(Protein protein,
int proteinCleavageSiteCount,
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 boolean interruptDigestion(Protein protein, int proteinCleavageSiteCount, int inclusiveLowerBoundIndex, int inclusiveUpperBoundIndex)
interruptDigestion in interface DigestionControllerprotein - the protein being digestedproteinCleavageSiteCount - 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)
makeDigest 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)
retainDigest in interface DigestionControllerprotein - the protein being digesteddigest - the actual digestdigestIndex - the digest starting index in the proteinpublic boolean retainSemiDigest(Peptide digest)
retainSemiDigest in interface DigestionControllerdigest - the actual semi digestCopyright © 2016. All Rights Reserved.