 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
62 const std::map<String, std::vector<double> > & getProtMasses()
const;
64 const std::vector<double> & getMasses(
String acc)
const;
66 const std::map<String, std::vector<double> > & getProteinRTMap()
const;
67 const std::map<String, std::vector<double> > & getProteinPTMap()
const;
68 const std::map<String, std::vector<String> > & getProteinPeptideSequenceMap()
const;
80 void dbPreprocessing(
String db_path,
bool save =
true);
93 void dbPreprocessing(
String db_path,
String rt_model_path,
String dt_model_path,
bool save =
true);
103 void loadPreprocessing();
106 double getWeight(
double mass);
108 double getRT(
String prot_id,
Size peptide_index);
110 double getPT(
String prot_id,
Size peptide_index);
112 void setFixedModifications(
StringList & modifications);
115 return fixed_modifications_;
118 void setGaussianParameters(
double mu,
double sigma);
130 double getRTProbability(
double pred_rt,
Feature & feature);
135 void savePreprocessedDBWithRT_(
String db_path,
String path);
137 void loadPreprocessedDB_(
String path);
140 Int getScanNumber_(
double rt);
141 double getRTProbability_(
double min_obs_rt,
double max_obs_rt,
double pred_rt);
143 void updateMembers_()
override;
const std::map< char, std::vector< String > > & getFixedModifications()
Definition: PrecursorIonSelectionPreprocessing.h:113
double sigma_
Definition: PrecursorIonSelectionPreprocessing.h:163
std::map< String, std::vector< double > > rt_prot_map_
Definition: PrecursorIonSelectionPreprocessing.h:159
A more convenient string class.
Definition: String.h:58
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
bool fixed_mods_
Definition: PrecursorIonSelectionPreprocessing.h:158
FASTA entry type (identifier, description and sequence) The first String corresponds to the identifie...
Definition: FASTAFile.h:71
std::set< AASequence > sequences_
the sequences of the tryptic peptides
Definition: PrecursorIonSelectionPreprocessing.h:148
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
double mu_
Definition: PrecursorIonSelectionPreprocessing.h:164
int Int
Signed integer type.
Definition: Types.h:102
std::vector< UInt > counter_
counter for the bins
Definition: PrecursorIonSelectionPreprocessing.h:154
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
std::map< String, std::vector< String > > prot_peptide_seq_map_
Definition: PrecursorIonSelectionPreprocessing.h:161
std::vector< double > masses_
all tryptic masses of the distinct peptides in the database
Definition: PrecursorIonSelectionPreprocessing.h:146
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
std::vector< double > bin_masses_
the masses of the bins used for preprocessing (only used if bins are not equidistant,...
Definition: PrecursorIonSelectionPreprocessing.h:152
An LC-MS feature.
Definition: Feature.h:70
std::map< String, std::vector< double > > prot_masses_
stores masses of tryptic peptides for proteins, key is the accession number
Definition: PrecursorIonSelectionPreprocessing.h:150
std::map< String, std::vector< double > > pt_prot_map_
Definition: PrecursorIonSelectionPreprocessing.h:160
UInt f_max_
maximal relative frequency of a mass
Definition: PrecursorIonSelectionPreprocessing.h:156
This class implements the database preprocessing needing for precursor ion selection.
Definition: PrecursorIonSelectionPreprocessing.h:52
std::map< char, std::vector< String > > fixed_modifications_
Definition: PrecursorIonSelectionPreprocessing.h:162
double getGaussSigma() const
Definition: PrecursorIonSelectionPreprocessing.h:124
double getGaussMu() const
Definition: PrecursorIonSelectionPreprocessing.h:119