public class MDScore extends Object
Constructor and Description |
---|
MDScore() |
Modifier and Type | Method and Description |
---|---|
static Double |
getMDScore(SpectrumMatch spectrumMatch,
ArrayList<String> ptms,
AminoAcidPattern.MatchingType matchingType,
Double massTolerance)
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,
AminoAcidPattern.MatchingType matchingType,
Double massTolerance)
Returns the MD score for the given peptide in a spectrum match.
|
public static Double getMDScore(SpectrumMatch spectrumMatch, ArrayList<String> ptms, AminoAcidPattern.MatchingType matchingType, Double massTolerance)
spectrumMatch
- the spectrum match of interestptms
- the names of the PTMs to scorematchingType
- the amino acid matching typemassTolerance
- the mass tolerance for matching type
'indistiguishibleAminoAcids'. Can be null otherwisepublic static Double getMDScore(SpectrumMatch spectrumMatch, Peptide peptideCandidate, ArrayList<String> ptms, AminoAcidPattern.MatchingType matchingType, Double massTolerance)
peptideCandidate
- the peptide of interestspectrumMatch
- the spectrum match of interestptms
- the names of the PTMs to scorematchingType
- the amino acid matching typemassTolerance
- the mass tolerance for matching type
'indistiguishibleAminoAcids'. Can be null otherwiseCopyright © 2014. All Rights Reserved.