public class PeptideMatch extends IdentificationMatch
IdentificationMatch.MatchType| Constructor and Description |
|---|
PeptideMatch()
Constructor for the peptide match.
|
PeptideMatch(Peptide peptide,
java.lang.String matchKey)
Constructor for the peptide match.
|
PeptideMatch(Peptide peptide,
java.lang.String spectrumMatchKey,
java.lang.String matchKey)
Constructor for the peptide match.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addSpectrumMatch(java.lang.String spectrumMatchKey)
Add a spectrum match.
|
java.lang.String |
getKey()
returns the key of a match.
|
java.lang.String |
getMainMatchKey()
Returns the key of the main match.
|
int |
getSpectrumCount()
Returns the number of spectra matched.
|
java.util.ArrayList<java.lang.String> |
getSpectrumMatches()
Returns all spectra matched.
|
Peptide |
getTheoreticPeptide()
Getter for the theoretic peptide.
|
IdentificationMatch.MatchType |
getType()
Returns the type of match.
|
void |
setMainMatch(java.lang.String spectrumMatchKey)
Sets the main match.
|
void |
setTheoreticPeptide(Peptide theoreticPeptide)
Setter for the theoretic peptide.
|
addUrParam, getParameterKey, getUrParampublic PeptideMatch()
public PeptideMatch(Peptide peptide, java.lang.String matchKey)
peptide - the matching peptidematchKey - the key of the match as referenced in the identification.public PeptideMatch(Peptide peptide, java.lang.String spectrumMatchKey, java.lang.String matchKey)
peptide - The matching peptidespectrumMatchKey - The key of the main spectrum matchmatchKey - the key of the match as referenced in the identification.public java.lang.String getKey()
IdentificationMatchgetKey in class IdentificationMatchpublic Peptide getTheoreticPeptide()
public void setTheoreticPeptide(Peptide theoreticPeptide)
theoreticPeptide - a theoretic peptidepublic java.lang.String getMainMatchKey()
public void setMainMatch(java.lang.String spectrumMatchKey)
spectrumMatchKey - the key of the main matchpublic java.util.ArrayList<java.lang.String> getSpectrumMatches()
public void addSpectrumMatch(java.lang.String spectrumMatchKey)
spectrumMatchKey - a spectrum matchpublic int getSpectrumCount()
public IdentificationMatch.MatchType getType()
IdentificationMatchgetType in class IdentificationMatchCopyright © 2014. All Rights Reserved.