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