Public Member Functions |
| | PrecursorIonSelectionPreprocessing () |
| | PrecursorIonSelectionPreprocessing (const PrecursorIonSelectionPreprocessing &source) |
| | ~PrecursorIonSelectionPreprocessing () |
| PrecursorIonSelectionPreprocessing & | operator= (const PrecursorIonSelectionPreprocessing &source) |
const std::map< String,
std::vector< DoubleReal > > & | getProtMasses () const |
| const std::vector< DoubleReal > & | getMasses (String acc) const |
const std::map< String,
std::vector< DoubleReal > > & | getProteinRTMap () const |
const std::map< String,
std::vector< DoubleReal > > & | getProteinPTMap () const |
const std::map< String,
std::vector< String > > & | getProteinPeptideSequenceMap () const |
| void | dbPreprocessing (String db_path, bool save=true) |
| | Calculates tryptric peptide masses of a given database and stores masses and peptide sequences.
|
| void | dbPreprocessing (String db_path, String rt_model_path, String dt_model_path, bool save=true) |
| | Calculates tryptric peptide masses of a given database and stores masses and peptide sequences.
|
| void | loadPreprocessing () |
| | Loads tryptric peptide masses of a given database.
|
| DoubleReal | getWeight (DoubleReal mass) |
| | get the weighted frequency of a mass
|
| DoubleReal | getRT (String prot_id, Size peptide_index) |
| DoubleReal | getPT (String prot_id, Size peptide_index) |
| void | setFixedModifications (StringList &modifications) |
const std::map< char,
std::vector< String > > & | getFixedModifications () |
| void | setGaussianParameters (DoubleReal mu, DoubleReal sigma) |
| DoubleReal | getGaussMu () |
| DoubleReal | getGaussSigma () |
| DoubleReal | getRTProbability (String prot_id, Size peptide_index, Feature &feature) |
| DoubleReal | getRTProbability (DoubleReal pred_rt, Feature &feature) |
Protected Member Functions |
| void | savePreprocessedDB_ (String db_path, String path) |
| | saves the preprocessed db
|
| void | savePreprocessedDBWithRT_ (String db_path, String path) |
| void | loadPreprocessedDB_ (String path) |
| | loads the preprocessed db
|
| void | filterTaxonomyIdentifier_ (FASTAFile::FASTAEntry &entry) |
| | preprocess fasta identifier
|
| Int | getScanNumber_ (DoubleReal rt) |
| DoubleReal | getRTProbability_ (DoubleReal min_obs_rt, DoubleReal max_obs_rt, DoubleReal pred_rt) |
| void | updateMembers_ () |
| | update members method from DefaultParamHandler to update the members
|
Protected Attributes |
| std::vector< DoubleReal > | masses_ |
| | all tryptic masses of the distinct peptides in the database
|
| std::set< AASequence > | sequences_ |
| | the sequences of the tryptic peptides
|
std::map< String, std::vector
< DoubleReal > > | prot_masses_ |
| | stores masses of tryptic peptides for proteins, key is the accession number
|
| std::vector< DoubleReal > | bin_masses_ |
| | the masses of the bins used for preprocessing (only used if bins are not equidistant, i.e. with ppm)
|
| std::vector< UInt > | counter_ |
| | counter for the bins
|
| UInt | f_max_ |
| | maximal relative frequency of a mass
|
| bool | fixed_mods_ |
std::map< String, std::vector
< DoubleReal > > | rt_prot_map_ |
std::map< String, std::vector
< DoubleReal > > | pt_prot_map_ |
std::map< String, std::vector
< String > > | prot_peptide_seq_map_ |
std::map< char, std::vector
< String > > | fixed_modifications_ |
| DoubleReal | sigma_ |
| DoubleReal | mu_ |
This class implements the database preprocessing needing for precursor ion selection.
| Name | Type | Default | Restrictions | Description |
| precursor_mass_tolerance |
float | 10 |
min: 0 | Precursor mass tolerance which is used to query the peptide database for peptides |
| precursor_mass_tolerance_unit |
string | ppm |
ppm, Da | Precursor mass tolerance unit. |
| preprocessed_db_path |
string | |
| Path where the preprocessed database should be stored |
| preprocessed_db_pred_rt_path |
string | |
| Path where the predicted rts of the preprocessed database should be stored |
| preprocessed_db_pred_dt_path |
string | |
| Path where the predicted rts of the preprocessed database should be stored |
| max_peptides_per_run |
int | 100000 |
min: 1 | Number of peptides for that the pt and rt are parallely predicted. |
| missed_cleavages |
int | 1 |
min: 0 | Number of allowed missed cleavages. |
| taxonomy |
string | |
| Taxonomy |
| tmp_dir |
string | |
| Absolute path to tmp data directory used to store files needed for rt and dt prediction. |
| store_peptide_sequences |
string | false |
| Flag if peptide sequences should be stored. |
| rt_settings:min_rt |
float | 960 |
min: 1 | Minimal RT in the experiment (in seconds) |
| rt_settings:max_rt |
float | 3840 |
| Maximal RT in the experiment (in seconds) |
| rt_settings:rt_step_size |
float | 30 |
| Time between two consecutive spectra (in seconds) |
| rt_settings:gauss_mean |
float | -1 |
| mean of the gauss curve |
| rt_settings:gauss_sigma |
float | 3 |
| std of the gauss curve |