| Modifier and Type | Class and Description |
|---|---|
static class |
ArrayDigestDB.Builder
Builder
|
DigestDB.AmbiguousAminoAcidAction| Constructor and Description |
|---|
ArrayDigestDB(IterativeReader<Protein> proteinReader,
ProteinDigester proteinDigester,
DigestDB.AmbiguousAminoAcidAction ambiguousAminoAcidAction)
Construct a new ArrayDigestDB.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Digest> |
getPeptides(double targetMass,
Tolerance tolerance)
Retrieves all the peptides that have a mass that is within
tolerance of
targetMass |
void |
getPeptides(double targetMass,
Tolerance tolerance,
Collection<Digest> collection)
Add all the peptides that have a mass that is within tolerance of
targetMass to
the peptides collection |
int |
size()
Return the number of digests that this DigestDB contains
|
public ArrayDigestDB(IterativeReader<Protein> proteinReader, ProteinDigester proteinDigester, DigestDB.AmbiguousAminoAcidAction ambiguousAminoAcidAction)
proteinRead and digested using the
proteinDigester.proteinReader - the source of the proteinsproteinDigester - the protein digesterambiguousAminoAcidAction - the action to take if any paptides contain ambiguous amino acids such as (X, B, etc.)public Set<Digest> getPeptides(double targetMass, Tolerance tolerance)
DigestDBtargetMassgetPeptides in interface DigestDBtargetMass - the target masstolerance - the tolerancetargetMasspublic void getPeptides(double targetMass,
Tolerance tolerance,
Collection<Digest> collection)
DigestDBtargetMass to
the peptides collectiongetPeptides in interface DigestDBtargetMass - the target masstolerance - the tolerancecollection - collection to which the peptides are to be addedpublic int size()
Copyright © 2016. All Rights Reserved.