public class PhosphoRS extends Object
Modifier and Type | Field and Description |
---|---|
static int |
maxDepth
The maximal depth to use per window (8 in the original paper).
|
Constructor and Description |
---|
PhosphoRS() |
Modifier and Type | Method and Description |
---|---|
static HashMap<Integer,Double> |
getSequenceProbabilities(Peptide peptide,
ArrayList<PTM> ptms,
MSnSpectrum spectrum,
AnnotationPreferences annotationPreferences,
SpecificAnnotationPreferences specificAnnotationPreferences,
boolean accountNeutralLosses,
SequenceMatchingPreferences sequenceMatchingPreferences,
PeptideSpectrumAnnotator spectrumAnnotator,
MathContext mathContext)
Returns the PhosphoRS sequence probabilities for the PTM possible
locations.
|
public static final int maxDepth
public static HashMap<Integer,Double> getSequenceProbabilities(Peptide peptide, ArrayList<PTM> ptms, MSnSpectrum spectrum, AnnotationPreferences annotationPreferences, SpecificAnnotationPreferences specificAnnotationPreferences, boolean accountNeutralLosses, SequenceMatchingPreferences sequenceMatchingPreferences, PeptideSpectrumAnnotator spectrumAnnotator, MathContext mathContext) throws IOException, InterruptedException, ClassNotFoundException, SQLException
peptide
- The peptide of interestptms
- The PTMs to score, for instance different phosphorylations.
These PTMs are considered as indistinguishable, i.e. of same mass.spectrum
- The corresponding spectrumannotationPreferences
- the global annotation preferencesspecificAnnotationPreferences
- the annotation preferences specific
to this peptide and spectrumaccountNeutralLosses
- a boolean indicating whether or not the
calculation shall account for neutral losses.sequenceMatchingPreferences
- the sequence matching preferencesspectrumAnnotator
- the peptide spectrum annotator to use for
spectrum annotation, can be nullmathContext
- the math context to use for calculationIOException
- exception thrown whenever an error occurred
while reading or writing a fileInterruptedException
- exception thrown whenever a
threading issue occurred while scoring the PTMClassNotFoundException
- exception thrown whenever an
error occurred while deserializing an object from the protein tree (the
protein sequence index)SQLException
- exception thrown whenever an error occurred
while interacting with the protein treeCopyright © 2015. All rights reserved.