public class PeptideMatch extends IdentificationMatch
IdentificationMatch.MatchType
Constructor and Description |
---|
PeptideMatch()
Constructor for the peptide match.
|
PeptideMatch(Peptide peptide)
Constructor for the peptide match.
|
PeptideMatch(Peptide peptide,
java.lang.String spectrumMatchKey)
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, getUrParam
public PeptideMatch()
public PeptideMatch(Peptide peptide)
peptide
- the matching peptidepublic PeptideMatch(Peptide peptide, java.lang.String spectrumMatchKey)
peptide
- The matching peptidespectrumMatchKey
- The key of the main spectrum matchpublic java.lang.String getKey()
IdentificationMatch
getKey
in class IdentificationMatch
public 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()
IdentificationMatch
getType
in class IdentificationMatch
Copyright © 2013. All Rights Reserved.