|
OpenMS
2.5.0
|
Go to the documentation of this file.
66 double total_intensity = 0.0;
67 double target_intensity = 0.0;
68 double signal_proportion = 0.0;
69 Size target_peak_count = 0;
70 Size residual_peak_count = 0;
80 static std::map<String, PurityScores> computePrecursorPurities(
const PeakMap& spectra,
double precursor_mass_tolerance,
bool precursor_mass_tolerance_unit_ppm);
91 static PurityScores computePrecursorPurity(
const PeakSpectrum& ms1,
const Precursor& pre,
const double precursor_mass_tolerance,
const bool precursor_mass_tolerance_unit_ppm);
void setProgress(SignedSize value) const
Sets the current progress.
Base class for TOPP applications.
Definition: TOPPBase.h:144
void removeAll(const String &prefix)
Remove all entries that start with prefix.
Param copy(const String &prefix, bool remove_prefix=false) const
Returns a new Param object containing all entries that start with prefix.
Implements the isotope wavelet feature finder.
Definition: FeatureFinderAlgorithmIsotopeWavelet.h:59
void getNextPrecursors(FeatureMap &features, FeatureMap &next_features, UInt number)
Returns features with highest score for MS/MS.
void sortSpectra(bool sort_mz=true)
Sorts the data points by retention time.
void setMZ(CoordinateType mz)
Mutable access to m/z.
Definition: Peak1D.h:121
void setValue(const String &key, const DataValue &value, const String &description="", const StringList &tags=StringList())
Sets a value.
File adapter for MzML files.
Definition: MzMLFile.h:55
A more convenient string class.
Definition: String.h:58
Iterator begin()
Definition: MSExperiment.h:157
This class implements different precursor ion selection strategies.
Definition: PrecursorIonSelection.h:52
In-Memory representation of a mass spectrometry experiment.
Definition: MSExperiment.h:77
void loadPreprocessing()
Loads tryptic peptide masses of a given database.
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
void startProgress(SignedSize begin, SignedSize end, const String &label) const
Initializes the progress display.
void rescore(FeatureMap &features, std::vector< PeptideIdentification > &new_pep_ids, std::vector< ProteinIdentification > &prot_ids, PrecursorIonSelectionPreprocessing &preprocessed_db, bool check_meta_values=true)
Change scoring of features using peptide identifications only from spectra of the last iteration.
void endProgress() const
Ends the progress display.
Size size() const
Definition: MSExperiment.h:127
void load(const String &filename, std::vector< ProteinIdentification > &protein_ids, std::vector< PeptideIdentification > &peptide_ids)
Loads the identifications of an idXML file without identifier.
Precursor meta information.
Definition: Precursor.h:57
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
std::vector< SpectrumType >::iterator Iterator
Mutable iterator.
Definition: MSExperiment.h:111
void setFixedModifications(StringList &modifications)
void addSpectrum(const MSSpectrum &spectrum)
adds a spectrum to the list
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:54
void load(const String &filename, PeakMap &map)
Loads a map from a MzML file. Spectra and chromatograms are sorted by default (this can be disabled u...
Facilitates file handling by file type recognition.
Definition: FileHandler.h:62
bool loadExperiment(const String &filename, MSExperiment &exp, FileTypes::Type force_type=FileTypes::UNKNOWN, ProgressLogger::LogType log=ProgressLogger::NONE, const bool rewrite_source_file=true, const bool compute_hash=true)
Loads a file into an MSExperiment.
void load(const String &filename, FeatureMap &feature_map)
loads the file with name filename into map and calls updateRanges().
Type
Actual file types enum.
Definition: FileTypes.h:58
CoordinateType getMZ() const
Non-mutable access to m/z.
Definition: Peak1D.h:115
Definition: LPWrapper.h:132
The main feature finder class.
Definition: FeatureFinder.h:56
static FileTypes::Type getType(const String &filename)
Tries to determine the file type (by name or content)
void setParameters(const Param ¶m)
Sets the parameters.
const Param & getDefaults() const
Non-mutable access to the default parameters.
void setLPSolver(LPWrapper::SOLVER solver)
Definition: PrecursorIonSelection.h:182
const Param & getParameters() const
Non-mutable access to the parameters.
void simulateRun(FeatureMap &features, std::vector< PeptideIdentification > &pep_ids, std::vector< ProteinIdentification > &prot_ids, PrecursorIonSelectionPreprocessing &preprocessed_db, String path, PeakMap &experiment, String precursor_path="")
Simulate the iterative precursor ion selection.
std::vector< String > StringList
Vector of String.
Definition: ListUtils.h:70
void store(const String &filename, const FeatureMap &feature_map)
stores the map feature_map in file with name filename.
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:73
A container for features.
Definition: FeatureMap.h:95
void remove(const String &key)
Remove the entry key or a section key (when suffix is ':')
void dbPreprocessing(String db_path, bool save=true)
Calculates tryptic peptide masses of a given database and stores masses and peptide sequences.
Definition: PrecursorPurity.h:64
Iterator end()
Definition: MSExperiment.h:167
This class provides Input/Output functionality for feature maps.
Definition: FeatureXMLFile.h:68
void updateRanges() override
Updates minimum and maximum position/intensity.
Management and storage of parameters / INI files.
Definition: Param.h:73
Int getCharge() const
Non-mutable access to the charge.
void clear(bool clear_meta_data)
Clears all data and meta data.
No progress logging.
Definition: ProgressLogger.h:74
void storeExperiment(const String &filename, const MSExperiment &exp, ProgressLogger::LogType log=ProgressLogger::NONE)
Stores an MSExperiment to a file.
std::vector< SpectrumType >::const_iterator ConstIterator
Non-mutable iterator.
Definition: MSExperiment.h:113
void setCharge(Int charge)
Mutable access to the charge.
void run(const String &algorithm_name, PeakMap &input_map, FeatureMap &features, const Param ¶m, const FeatureMap &seeds)
Executes the FeatureFinder using the given algorithm.
ContainerType::const_iterator ConstIterator
Non-mutable iterator.
Definition: MSSpectrum.h:104
The representation of a 1D spectrum.
Definition: MSSpectrum.h:67
This class implements the database preprocessing needing for precursor ion selection.
Definition: PrecursorIonSelectionPreprocessing.h:55
void setLogType(LogType type) const
Sets the progress log that should be used. The default type is NONE!
Precursor purity or noise estimation.
Definition: PrecursorPurity.h:59
Used to load and store idXML files.
Definition: IdXMLFile.h:63