| Modifier and Type | Field and Description |
|---|---|
static String |
PEPTIDE_FEATURE_TYPE |
| Constructor and Description |
|---|
Digest()
Creates a new Digest Bean
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDigestFeatures()
Adds peptides as features to the Sequence in this class.
|
Sequence |
getSequence() |
void |
setMaxMissedCleavages(int maxMissedCleavages)
Sets the maximum number of partial digest products to be annotated.
|
void |
setProtease(Protease protease) |
void |
setSequence(Sequence sequence) |
public static String PEPTIDE_FEATURE_TYPE
public Digest()
public void setProtease(Protease protease)
public void setSequence(Sequence sequence)
public Sequence getSequence()
public void setMaxMissedCleavages(int maxMissedCleavages)
maxMissedCleavages - the max number of partial digest productspublic void addDigestFeatures() throws BioException, ChangeVetoException
Sequence sequence = ...
Digest bioJavaDigest = new Digest();
bioJavaDigest.setMaxMissedCleavages(2);
bioJavaDigest.setProtease(ProteaseManager.getProteaseByName(Protease.ASP_N));
bioJavaDigest.setSequence(sequence);
bioJavaDigest.addDigestFeatures();
BioException - if the Protease or Sequence are null.ChangeVetoExceptionCopyright © 2020 BioJava. All rights reserved.