public class MDScore extends Object
Constructor and Description |
---|
MDScore() |
Modifier and Type | Method and Description |
---|---|
static Double |
getMDScore(SpectrumMatch spectrumMatch,
ArrayList<String> ptms,
SequenceMatchingPreferences sequenceMatchingPreferences)
Returns the MD score for the best peptide in a spectrum match (the best
peptide has to be set before).
|
static Double |
getMDScore(SpectrumMatch spectrumMatch,
Peptide peptideCandidate,
ArrayList<String> ptms,
SequenceMatchingPreferences sequenceMatchingPreferences)
Returns the MD score for the given peptide in a spectrum match.
|
public static Double getMDScore(SpectrumMatch spectrumMatch, ArrayList<String> ptms, SequenceMatchingPreferences sequenceMatchingPreferences)
spectrumMatch
- the spectrum match of interestptms
- the names of the PTMs to scoresequenceMatchingPreferences
- the sequence matching preferencespublic static Double getMDScore(SpectrumMatch spectrumMatch, Peptide peptideCandidate, ArrayList<String> ptms, SequenceMatchingPreferences sequenceMatchingPreferences)
peptideCandidate
- the peptide of interestspectrumMatch
- the spectrum match of interestptms
- the names of the PTMs to scoresequenceMatchingPreferences
- the sequence matching preferencesCopyright © 2014. All rights reserved.