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,
HashMap<Ion.IonType,ArrayList<Integer>> iontypes,
NeutralLossesMap neutralLosses,
ArrayList<Integer> charges,
int precursorCharge,
double mzTolerance,
boolean accountNeutralLosses,
AminoAcidPattern.MatchingType matchingType)
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, HashMap<Ion.IonType,ArrayList<Integer>> iontypes, NeutralLossesMap neutralLosses, ArrayList<Integer> charges, int precursorCharge, double mzTolerance, boolean accountNeutralLosses, AminoAcidPattern.MatchingType matchingType) throws IOException, IllegalArgumentException, InterruptedException, FileNotFoundException, 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 spectrumiontypes
- The fragment ions to look forneutralLosses
- The neutral losses to look forcharges
- The fragment ions charges to look forprecursorCharge
- The precursor chargemzTolerance
- The m/z tolerance to useaccountNeutralLosses
- a boolean indicating whether or not the
calculation shall account for neutral losses.matchingType
- the amino acid matching type to use to map PTMs on
peptidesIOException
- exception thrown whenever an error occurred while
reading a protein sequenceIllegalArgumentException
- exception thrown whenever an error
occurred while reading a protein sequenceInterruptedException
- exception thrown whenever an error occurred
while reading a protein sequenceFileNotFoundException
ClassNotFoundException
SQLException
Copyright © 2014. All rights reserved.