 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
83 void mergeIDFiles_(std::vector<ProteinIdentification> & proteins, std::vector<PeptideIdentification> & peptides,
const String & experiment,
StringList & file_paths);
85 void findRelevantFilePaths_(std::map<String, StringList> & design2FileBaseName, std::map<String, StringList> & design2FilePath,
StringList & filePaths);
91 void getSeparator_(
String & separator);
94 void mapFiles2Design_(std::map<String, StringList> & experiments,
TextFile & file);
Base class for TOPP applications.
Definition: TOPPBase.h:147
std::vector< PeptideIdentification > compute(const MSExperiment &exp, FeatureMap &features, const QCBase::SpectraMap &map_to_spectrum)
Calculate the ScanEventNumber, find all unidentified MS2-Spectra and add them to unassigned PeptideId...
File adapter for MzTab files.
Definition: MzTabFile.h:55
Take the original retention time before map alignment and use the alignment's trafoXML for calculatio...
Definition: RTAlignment.h:53
void store(const String &filename, const ConsensusMap &consensus_map)
Stores a consensus map to file.
void compute(FeatureMap &features, const std::vector< FASTAFile::FASTAEntry > &contaminants)
Checks if the peptides are in the contaminant database.
static const std::string names_of_toleranceUnit[]
strings corresponding to enum ToleranceUnit
Definition: QCBase.h:83
This class serves for reading in and writing FASTA files If the protein/gene sequence contains unusua...
Definition: FASTAFile.h:60
std::map< String, StringList > identifier_to_msrunpath
Definition: ProteinIdentification.h:80
Definition: FragmentMassError.h:48
File adapter for MzML files.
Definition: MzMLFile.h:57
static MzTab exportConsensusMapToMzTab(const ConsensusMap &consensus_map, const String &filename, const bool first_run_inference_only, const bool export_unidentified_features, const bool export_unassigned_ids, const bool export_subfeatures, const bool export_empty_pep_ids=false, const bool export_all_psms=false, const String &title="ConsensusMap export from OpenMS")
export linked peptide features aka consensus map
A more convenient string class.
Definition: String.h:58
Precondition failed exception.
Definition: Exception.h:157
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:70
This class provides some basic file handling methods for text files.
Definition: TextFile.h:46
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
Data model of MzTab files. Please see the official MzTab specification at https://code....
Definition: MzTab.h:477
static void resolve(FeatureMap &features, bool keep_matching=false)
Resolves ambiguous annotations of features with peptide identifications. The the filtered identificat...
std::map< StringList, String > runpath_to_identifier
Definition: ProteinIdentification.h:81
Requires
Enum to encode a file type as a bit.
Definition: QCBase.h:60
void setMetaData(const MzTabMetaData &md)
Definition: PSMExplainedIonCurrent.h:48
two way mapping from ms-run-path to protID|pepID-identifier
Definition: ProteinIdentification.h:78
Map to find a spectrum via its NativeID.
Definition: QCBase.h:89
void compute(FeatureMap &fmap, const MSExperiment &exp, const QCBase::SpectraMap &map_to_spectrum, ToleranceUnit tolerance_unit=ToleranceUnit::AUTO, double tolerance=20)
computes FragmentMassError (FME) in ppm and Dalton (only of the first PeptideHit of each PepID)
A base class for all classes handling default parameters.
Definition: DefaultParamHandler.h:92
const std::vector< PeptideHit > & getHits() const
returns the peptide hits as const
Exception indicating that an invalid parameter was handed over to an algorithm.
Definition: Exception.h:339
static String concatenate(const std::vector< T > &container, const String &glue="")
Concatenates all elements of the container and puts the glue string between elements.
Definition: ListUtils.h:209
void compute(FeatureMap &fm, const TransformationDescription &trafo) const
Calculates retention time after map alignment and sets meta values "rt_raw" and "rt_align" in all Pep...
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
OPENMS_UINT64_TYPE UID
A unique object ID (as unsigned 64bit type).
Definition: Types.h:120
void compute(FeatureMap &fmap)
Counts the number of MissedCleavages per PeptideIdentification.
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...
void addMetaDataMetricsToMzTab(MzTabMetaData &meta) const
void compute(FeatureMap &features, const MSExperiment &exp, const QCBase::SpectraMap &map_to_spectrum)
Writes results as meta values to the PeptideIdentification of the given FeatureMap.
void load(const String &filename, FeatureMap &feature_map)
loads the file with name filename into map and calls updateRanges().
Merge files according to experimental design.
Definition: QuantitativeExperimentalDesign.h:56
A consensus feature spanning multiple LC-MS/MS experiments.
Definition: ConsensusFeature.h:69
void store(const String &filename, const MzTab &mz_tab) const
bool isRunnable(const Status &s) const
Result compute(const MSExperiment &exp, float bin_size=0, UInt ms_level=1)
Compute Total Ion Count and applies the resampling algorithm, if a bin size in RT seconds greater tha...
const std::vector< PeptideIdentification > & getUnassignedPeptideIdentifications() const
non-mutable access to the unassigned peptide identifications
void compute(FeatureMap &fmap, const MSExperiment &exp, const QCBase::SpectraMap &map_to_spectrum, ToleranceUnit tolerance_unit=ToleranceUnit::AUTO, double tolerance=20)
computes PSMExplainedIonCurrent (only of the first PeptideHit of each PepID)
Not implemented exception.
Definition: Exception.h:428
void compute(const FeatureMap &feature_map, const MSExperiment &exp, bool assume_all_target=false)
computes Ms2 Identification Rate with FeatureMap
A container for consensus elements.
Definition: ConsensusMap.h:82
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.
Builds a MaxQuant Evidence.txt.
Definition: MQEvidenceExporter.h:43
void load(const String &filename, ConsensusMap &map)
Loads a consensus map from file and calls updateRanges.
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
copy all meta values to all feature maps
This class is a metric for the QualityControl TOPP tool.
Definition: Contaminants.h:53
QC metric calculating (un)calibrated m/z error.
Definition: FWHM.h:54
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:71
void create(const std::vector< ProteinIdentification > &prot_ids)
Definition: ProteinIdentification.h:89
#define OPENMS_LOG_ERROR
Macro to be used if non-fatal error are reported (processing continues)
Definition: LogStream.h:455
A container for features.
Definition: FeatureMap.h:98
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:63
An LC-MS feature.
Definition: Feature.h:70
Stores and handles combinations of enum values, e.g. a set of flags as bits flipped in an UInt64.
Definition: FlagSet.h:53
void load(const String &filename, std::vector< FASTAEntry > &data) const
loads a FASTA file given by 'filename' and stores the information in 'data' This uses more RAM than r...
This class provides Input/Output functionality for feature maps.
Definition: FeatureXMLFile.h:62
QC metric calculating (un)calibrated m/z error.
Definition: MzCalibration.h:58
#define OPENMS_LOG_INFO
Macro if a information, e.g. a status should be reported.
Definition: LogStream.h:465
const MzTabMetaData & getMetaData() const
This class is a metric for the QualityControl-ToppTool.
Definition: Ms2IdentificationRate.h:56
static std::multimap< String, std::pair< Size, Size > > buildUIDsFromAllPepIDs(const ConsensusMap &cmap)
Builds MultiMap over all PI's via their UID (as obtained from buildUIDFromPepID()),...
void compute(FeatureMap &features)
Sets the 'mass' metavalue to all PeptideHits by computing the theoretical mass.
ToleranceUnit
Definition: QCBase.h:75
This class is a metric for the QualityControl TOPP Tool.
Definition: MissedCleavages.h:58
void addMetaDataMetricsToMzTab(MzTabMetaData &meta, std::vector< Result > &tics)
append QC data for given metrics to mzTab's MTD section
Helper class for peptide and protein quantification based on feature data annotated with IDs.
Definition: ProteinResolver.h:54
static String buildUIDFromPepID(const PeptideIdentification &pep_id, const std::map< String, StringList > &fidentifier_to_msrunpath)
Builds UID from PeptideIdentification The UID can be formed in two ways. Either it is composed of the...
static bool isLabeledExperiment(const ConsensusMap &cm)
check if the IsobaricAnalyzer TOPP tool was used to create this ConsensusMap
void calculateMap(const MSExperiment &exp)
calculate a new map, delete the old one
QC metric calculating theoretical mass of a peptide sequence.
Definition: PeptideMass.h:49
void compute(FeatureMap &features)
Moves FWHM metavalues from the feature to all its PeptideIdentifications (since that's were mzTab tak...
This class provides Input functionality for ConsensusMaps and Output functionality for alignments and...
Definition: ConsensusXMLFile.h:58
QC metric to determine the number of MS2 scans per MS1 scan over RT.
Definition: Ms2SpectrumStats.h:67
bool empty() const
Returns if this PeptideIdentification result is empty.