PrecursorIonSelectionPreprocessing
- class pyopenms.PrecursorIonSelectionPreprocessing
Bases:
objectCython implementation of _PrecursorIonSelectionPreprocessing
- Documentation is available at http://www.openms.de/current_doxygen/html/classOpenMS_1_1PrecursorIonSelectionPreprocessing.html
– Inherits from [‘DefaultParamHandler’]
- __init__()
Cython signature: void PrecursorIonSelectionPreprocessing()
Cython signature: void PrecursorIonSelectionPreprocessing(PrecursorIonSelectionPreprocessing &)
Methods
Cython signature: void PrecursorIonSelectionPreprocessing()
Cython signature: void dbPreprocessing(String db_path, bool save)
Cython signature: Param getDefaults() Returns the default parameters
Cython signature: double getGaussMu() Returns the Gauss Mu value
Cython signature: double getGaussSigma() Returns the Gauss Sigma value
Cython signature: libcpp_vector[double] getMasses(String acc)
Cython signature: String getName() Returns the name
Cython signature: double getPT(String prot_id, size_t peptide_index) Returns the PT value
Cython signature: Param getParameters() Returns the parameters
Cython signature: double getRT(String prot_id, size_t peptide_index) Returns the RT value
Cython signature: double getRTProbability(String prot_id, size_t peptide_index, Feature & feature)
Cython signature: libcpp_vector[String] getSubsections()
Cython signature: double getWeight(double mass) Returns the weighted frequency of a mass
Cython signature: void loadPreprocessing() Loads tryptic peptide masses of a given database
Cython signature: void setFixedModifications(StringList & modifications)
Cython signature: void setGaussianParameters(double mu, double sigma)
Cython signature: void setName(const String &) Sets the name
Cython signature: void setParameters(Param & param) Sets the parameters
- dbPreprocessing()
Cython signature: void dbPreprocessing(String db_path, bool save)
- Parameters
db_path – Path to database file (fasta)
save – Flag if preprocessing should be stored
- Raises
Exception: FileNotFound is thrown if the file could not be found
- Raises
- Exception: UnableToCreateFile if preprocessing file can’t be written
Cython signature: void dbPreprocessing(String db_path, String rt_model_path, String dt_model_path, bool save)
- Parameters
db_path – Path to database file (fasta)
:param rt_model_path :param dt_model_path :param save: Flag if preprocessing should be stored —– :raises:
Exception: FileNotFound is thrown if the file could not be found
- Raises
Exception: UnableToCreateFile if preprocessing file can’t be written
- getDefaults()
Cython signature: Param getDefaults() Returns the default parameters
- getGaussMu()
Cython signature: double getGaussMu() Returns the Gauss Mu value
- getGaussSigma()
Cython signature: double getGaussSigma() Returns the Gauss Sigma value
- getMasses()
Cython signature: libcpp_vector[double] getMasses(String acc)
- getName()
Cython signature: String getName() Returns the name
- getPT()
Cython signature: double getPT(String prot_id, size_t peptide_index) Returns the PT value
- getParameters()
Cython signature: Param getParameters() Returns the parameters
- getRT()
Cython signature: double getRT(String prot_id, size_t peptide_index) Returns the RT value
- getRTProbability()
Cython signature: double getRTProbability(String prot_id, size_t peptide_index, Feature & feature)
Cython signature: double getRTProbability(double pred_rt, Feature & feature)
- getSubsections()
Cython signature: libcpp_vector[String] getSubsections()
- getWeight()
Cython signature: double getWeight(double mass) Returns the weighted frequency of a mass
- loadPreprocessing()
Cython signature: void loadPreprocessing() Loads tryptic peptide masses of a given database
- setFixedModifications()
Cython signature: void setFixedModifications(StringList & modifications)
- setGaussianParameters()
Cython signature: void setGaussianParameters(double mu, double sigma)
- setName()
Cython signature: void setName(const String &) Sets the name
- setParameters()
Cython signature: void setParameters(Param & param) Sets the parameters