93 const std::multimap<
OpenMS::String, std::pair<OpenMS::Size, OpenMS::Size>>& UIDs,
96 const std::map<OpenMS::String,OpenMS::String>& prot_map = {});
135 const std::map<OpenMS::String,OpenMS::String>& prot_map = {});
Builds a MaxQuant Evidence.txt.
Definition: MQEvidenceExporter.h:61
MQEvidence(const OpenMS::String &path)
Creates MQEvidence object and evidence.txt in given path.
void exportFeatureMap(const OpenMS::FeatureMap &feature_map, const OpenMS::ConsensusMap &cmap, const OpenMS::MSExperiment &exp={}, const std::map< OpenMS::String, OpenMS::String > &prot_map={})
Exports a FeatureMap to the evidence.txt.
OpenMS::String filename_
path and name of the evidence.txt
Definition: MQEvidenceExporter.h:65
void exportRowFromFeature_(const OpenMS::Feature &f, const OpenMS::ConsensusMap &cmap, const OpenMS::Size c_feature_number, const OpenMS::String &raw_file, const std::multimap< OpenMS::String, std::pair< OpenMS::Size, OpenMS::Size >> &UIDs, const OpenMS::ProteinIdentification::Mapping &mp_f, const OpenMS::MSExperiment &exp={}, const std::map< OpenMS::String, OpenMS::String > &prot_map={})
Export one Feature as a row in MQEvidence.txt.
void exportHeader_()
Writes the header of evidence.txt (Names of columns)
~MQEvidence()
Closes f_stream.
std::fstream file_
Stream where the data is added to create evidence.txt.
Definition: MQEvidenceExporter.h:63
A container for consensus elements.
Definition: ConsensusMap.h:92
A container for features.
Definition: FeatureMap.h:106
An LC-MS feature.
Definition: Feature.h:72
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:72
A more convenient string class.
Definition: String.h:60
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
two way mapping from ms-run-path to protID|pepID-identifier
Definition: ProteinIdentification.h:83