| OpenMS 2.5.0

MzIdentMLDOMHandler.h
Go to the documentation of this file.
1 // --------------------------------------------------------------------------
2 // OpenMS -- Open-Source Mass Spectrometry
3 // --------------------------------------------------------------------------
4 // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen,
5 // ETH Zurich, and Freie Universitaet Berlin 2002-2020.
6 //
7 // This software is released under a three-clause BSD license:
8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above copyright
11 // notice, this list of conditions and the following disclaimer in the
12 // documentation and/or other materials provided with the distribution.
13 // * Neither the name of any author or any participating institution
14 // may be used to endorse or promote products derived from this software
15 // without specific prior written permission.
16 // For a full list of authors, refer to the file AUTHORS.
17 // --------------------------------------------------------------------------
18 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19 // AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 // ARE DISCLAIMED. IN NO EVENT SHALL ANY OF THE AUTHORS OR THE CONTRIBUTING
22 // INSTITUTIONS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
23 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
24 // PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
25 // OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 // WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
27 // OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
28 // ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 //
30 // --------------------------------------------------------------------------
31 // $Maintainer: Mathias Walzer $
32 // $Authors: Mathias Walzer$
33 // --------------------------------------------------------------------------
34
35 #pragma once
36
37 #include <OpenMS/KERNEL/StandardTypes.h>
38
39 #include <OpenMS/FORMAT/ControlledVocabulary.h>
40 #include <OpenMS/METADATA/ProteinHit.h>
41 #include <OpenMS/CHEMISTRY/AASequence.h>
42 #include <OpenMS/CONCEPT/UniqueIdGenerator.h>
43 #include <OpenMS/METADATA/ProteinIdentification.h>
44 #include <OpenMS/METADATA/PeptideIdentification.h>
45 #include <OpenMS/CONCEPT/LogStream.h>
46 #include <OpenMS/METADATA/CVTermList.h>
47
48 #include <xercesc/dom/DOM.hpp>
49 #include <xercesc/dom/DOMDocument.hpp>
50 #include <xercesc/dom/DOMDocumentType.hpp>
51 #include <xercesc/dom/DOMElement.hpp>
52 #include <xercesc/dom/DOMImplementation.hpp>
53 #include <xercesc/dom/DOMImplementationLS.hpp>
54 #include <xercesc/dom/DOMNodeIterator.hpp>
55 #include <xercesc/dom/DOMNodeList.hpp>
56 #include <xercesc/dom/DOMText.hpp>
57 #include <xercesc/util/OutOfMemoryException.hpp>
58 #include <xercesc/util/XMLString.hpp>
59 #include <xercesc/util/PlatformUtils.hpp>
60 #include <xercesc/framework/LocalFileFormatTarget.hpp>
61
62 #include <xercesc/parsers/XercesDOMParser.hpp>
63 #include <xercesc/util/XMLUni.hpp>
64 #include <xercesc//framework/psvi/XSValue.hpp>
65
66 #include <string>
67 #include <stdexcept>
68 #include <vector>
69 #include <map>
70
71 // Error codes
72 //enum {
73 // ERROR_ARGS = 1,
74 // ERROR_XERCES_INIT,
75 // ERROR_PARSE,
76 // ERROR_EMPTY_DOCUMENT
77 //};
78
79 namespace OpenMS
80 {
81 class ProgressLogger;
82
83 namespace Internal
84 {
96 class OPENMS_DLLAPI MzIdentMLDOMHandler
97 {
98 public:
101 MzIdentMLDOMHandler(const std::vector<ProteinIdentification>& pro_id, const std::vector<PeptideIdentification>& pep_id, const String& version, const ProgressLogger& logger);
103
105 MzIdentMLDOMHandler(std::vector<ProteinIdentification>& pro_id, std::vector<PeptideIdentification>& pep_id, const String& version, const ProgressLogger& logger);
106
108 virtual ~MzIdentMLDOMHandler();
110
112 void readMzIdentMLFile(const std::string& mzid_file);
114 void writeMzIdentMLFile(const std::string& mzid_file);
115
116 protected:
118 const ProgressLogger& logger_;
119
121 ControlledVocabulary cv_;
123 ControlledVocabulary unimod_;
124
126 std::vector<ProteinIdentification>* pro_id_;
128 std::vector<PeptideIdentification>* pep_id_;
129
131 const std::vector<ProteinIdentification>* cpro_id_;
133 const std::vector<PeptideIdentification>* cpep_id_;
134
136 const String schema_version_;
137
139 ControlledVocabulary::CVTerm getChildWithName_(const String& parent_accession, const String& name) const;
140
143 std::pair<CVTermList, std::map<String, DataValue> > parseParamGroup_(xercesc::DOMNodeList* paramGroup);
144 CVTerm parseCvParam_(xercesc::DOMElement* param);
145 std::pair<String, DataValue> parseUserParam_(xercesc::DOMElement* param);
146 void parseAnalysisSoftwareList_(xercesc::DOMNodeList* analysisSoftwareElements);
147 void parseDBSequenceElements_(xercesc::DOMNodeList* dbSequenceElements);
148 void parsePeptideElements_(xercesc::DOMNodeList* peptideElements);
149 //AASequence parsePeptideSiblings_(xercesc::DOMNodeList* peptideSiblings);
150 AASequence parsePeptideSiblings_(xercesc::DOMElement* peptide);
151 void parsePeptideEvidenceElements_(xercesc::DOMNodeList* peptideEvidenceElements);
152 void parseSpectrumIdentificationElements_(xercesc::DOMNodeList* spectrumIdentificationElements);
153 void parseSpectrumIdentificationProtocolElements_(xercesc::DOMNodeList* spectrumIdentificationProtocolElements);
154 void parseInputElements_(xercesc::DOMNodeList* inputElements);
155 void parseSpectrumIdentificationListElements_(xercesc::DOMNodeList* spectrumIdentificationListElements);
156 void parseSpectrumIdentificationItemSetXLMS(std::set<String>::const_iterator set_it, std::multimap<String, int> xl_val_map, xercesc::DOMElement* element_res, String spectrumID);
157 void parseSpectrumIdentificationItemElement_(xercesc::DOMElement* spectrumIdentificationItemElement, PeptideIdentification& spectrum_identification, String& spectrumIdentificationList_ref);
158 void parseProteinDetectionHypothesisElement_(xercesc::DOMElement* proteinDetectionHypothesisElement, ProteinIdentification& protein_identification);
159 void parseProteinAmbiguityGroupElement_(xercesc::DOMElement* proteinAmbiguityGroupElement, ProteinIdentification& protein_identification);
160 void parseProteinDetectionListElements_(xercesc::DOMNodeList* proteinDetectionListElements);
161 static ProteinIdentification::SearchParameters findSearchParameters_(std::pair<CVTermList, std::map<String, DataValue> > as_params);
163
165 void buildCvList_(xercesc::DOMElement* cvElements);
166 void buildAnalysisSoftwareList_(xercesc::DOMElement* analysisSoftwareElements);
167 void buildSequenceCollection_(xercesc::DOMElement* sequenceCollectionElements);
168 void buildAnalysisCollection_(xercesc::DOMElement* analysisCollectionElements);
169 void buildAnalysisProtocolCollection_(xercesc::DOMElement* protocolElements);
170 void buildInputDataCollection_(xercesc::DOMElement* inputElements);
171 void buildEnclosedCV_(xercesc::DOMElement* parentElement, String encel, String acc, String name, String cvref);
172 void buildAnalysisDataCollection_(xercesc::DOMElement* analysisElements);
174
175
176 private:
177 MzIdentMLDOMHandler();
178 MzIdentMLDOMHandler(const MzIdentMLDOMHandler& rhs);
179 MzIdentMLDOMHandler& operator=(const MzIdentMLDOMHandler& rhs);
180
182 struct AnalysisSoftware
183 {
184 String name;
185 String version;
186 };
188 struct PeptideEvidence
189 {
190 int start;
191 int stop;
192 char pre;
193 char post;
194 bool idec;
195 };
197 struct DBSequence
198 {
199 String sequence;
200 String database_ref;
201 String accession;
202 CVTermList cvs;
203 };
205 struct SpectrumIdentification
206 {
207 String spectra_data_ref;
208 String search_database_ref;
209 String spectrum_identification_protocol_ref;
210 String spectrum_identification_list_ref;
211 };
213 struct ModificationParam
214 {
215 String fixed_mod;
216 long double mass_delta;
217 String residues;
218 CVTermList modification_param_cvs;
219 CVTermList specificities;
220 };
222 struct SpectrumIdentificationProtocol
223 {
224 CVTerm searchtype;
225 String enzyme;
226 CVTermList parameter_cvs;
227 std::map<String, DataValue> parameter_ups;
228 // std::vector<ModificationParam> modification_parameter;
229 CVTermList modification_parameter;
230 long double precursor_tolerance;
231 long double fragment_tolerance;
232 CVTermList threshold_cvs;
233 std::map<String, DataValue> threshold_ups;
234 };
236 struct DatabaseInput
237 {
238 String name;
239 String location;
240 String version;
241 DateTime date;
242 };
243
244 XMLCh* xml_root_tag_ptr_;
245 XMLCh* xml_cvparam_tag_ptr_;
246 XMLCh* xml_name_attr_ptr_;
247
248 xercesc::XercesDOMParser mzid_parser_;
249
250 //from AnalysisSoftware
251 String search_engine_;
252 String search_engine_version_;
253 //mapping from AnalysisSoftware
254 std::map<String, AnalysisSoftware> as_map_;
255
256 //mapping from DataCollection Inputs
257 std::map<String, String> sr_map_;
258 std::map<String, String> sd_map_;
259 std::map<String, DatabaseInput> db_map_;
260
261 //mapping from SpectrumIdentification - SpectrumIdentification will be the new IdentificationRuns
262 std::map<String, SpectrumIdentification> si_map_;
263 std::map<String, size_t> si_pro_map_;
264
265 //mapping from SpectrumIdentificationProtocol
266 std::map<String, SpectrumIdentificationProtocol> sp_map_;
267
268 //mapping from SequenceCollection
269 std::map<String, AASequence> pep_map_;
270 std::map<String, PeptideEvidence> pe_ev_map_;
271 std::map<String, String> pv_db_map_;
272 std::multimap<String, String> p_pv_map_;
273 std::map<String, DBSequence> db_sq_map_;
274
275 std::list<std::list<String> > hit_pev_;
276
277 bool xl_ms_search_;
278 std::map<String, String> xl_id_donor_map_;
279 //std::map<String, String> xl_id_acceptor_map_; ///< mapping Peptide id -> cross-link acceptor value
280 std::map<String, String> xl_id_acceptor_map_;
281 std::map<String, SignedSize> xl_donor_pos_map_;
282 std::map<String, SignedSize> xl_acceptor_pos_map_;
283 std::map<String, double> xl_mass_map_;
284 std::map<String, String> xl_mod_map_;
285
286 };
287 } // namespace Internal
288 } // namespace OpenMS
289
OpenMS::Internal::MzIdentMLDOMHandler::hit_pev_
std::list< std::list< String > > hit_pev_
writing help only
Definition: MzIdentMLDOMHandler.h:275
OpenMS::Internal::MzIdentMLDOMHandler::xl_ms_search_
bool xl_ms_search_
is true when reading a file containing Cross-Linking MS search results
Definition: MzIdentMLDOMHandler.h:277
OpenMS::Internal::MzIdentMLDOMHandler::cpep_id_
const std::vector< PeptideIdentification > * cpep_id_
Internal -w Identification Item for peptides.
Definition: MzIdentMLDOMHandler.h:133
OpenMS::CVTermList
Representation of controlled vocabulary term list.
Definition: CVTermList.h:52
OpenMS::Internal::MzIdentMLDOMHandler::search_engine_version_
String search_engine_version_
Definition: MzIdentMLDOMHandler.h:252
ProteinIdentification.h
OpenMS::String
A more convenient string class.
Definition: String.h:58
OpenMS::Internal::MzIdentMLDOMHandler::db_map_
std::map< String, DatabaseInput > db_map_
mapping database id -> DatabaseInput
Definition: MzIdentMLDOMHandler.h:259
OpenMS::Internal::MzIdentMLDOMHandler::xml_root_tag_ptr_
XMLCh * xml_root_tag_ptr_
Definition: MzIdentMLDOMHandler.h:244
OpenMS::Internal::MzIdentMLDOMHandler::AnalysisSoftware
Struct to hold the used analysis software for that file.
Definition: MzIdentMLDOMHandler.h:182
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentification
Struct to hold the information from the SpectrumIdentification xml tag.
Definition: MzIdentMLDOMHandler.h:205
OpenMS::Internal::MzIdentMLDOMHandler::ModificationParam
Struct to hold the information from the ModificationParam xml tag.
Definition: MzIdentMLDOMHandler.h:213
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentificationProtocol
Struct to hold the information from the SpectrumIdentificationProtocol xml tag.
Definition: MzIdentMLDOMHandler.h:222
OpenMS::Internal::MzIdentMLDOMHandler::PeptideEvidence
Struct to hold the PeptideEvidence information.
Definition: MzIdentMLDOMHandler.h:188
OpenMS::Internal::MzIdentMLDOMHandler::DBSequence
Struct to hold the information from the DBSequence xml tag.
Definition: MzIdentMLDOMHandler.h:197
UniqueIdGenerator.h
OpenMS::Internal::MzIdentMLDOMHandler::DatabaseInput
Struct to hold the information from the DatabaseInput xml tag.
Definition: MzIdentMLDOMHandler.h:236
OpenMS::Internal::MzIdentMLDOMHandler::pe_ev_map_
std::map< String, PeptideEvidence > pe_ev_map_
mapping PeptideEvidence id -> PeptideEvidence
Definition: MzIdentMLDOMHandler.h:270
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentificationProtocol::parameter_cvs
CVTermList parameter_cvs
Definition: MzIdentMLDOMHandler.h:226
OpenMS::Internal::MzIdentMLDOMHandler::DBSequence::cvs
CVTermList cvs
Definition: MzIdentMLDOMHandler.h:202
AASequence.h
OpenMS::Internal::MzIdentMLDOMHandler::PeptideEvidence::pre
char pre
Definition: MzIdentMLDOMHandler.h:192
OpenMS::Internal::MzIdentMLDOMHandler::logger_
const ProgressLogger & logger_
Progress logger.
Definition: MzIdentMLDOMHandler.h:118
OpenMS::Internal::MzIdentMLDOMHandler::xl_mass_map_
std::map< String, double > xl_mass_map_
mapping Peptide id -> cross-link mass
Definition: MzIdentMLDOMHandler.h:283
OpenMS::Internal::MzIdentMLDOMHandler::xml_name_attr_ptr_
XMLCh * xml_name_attr_ptr_
Definition: MzIdentMLDOMHandler.h:246
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentificationProtocol::enzyme
String enzyme
Definition: MzIdentMLDOMHandler.h:225
StandardTypes.h
OpenMS::Internal::MzIdentMLDOMHandler::DBSequence::accession
String accession
Definition: MzIdentMLDOMHandler.h:201
OpenMS::Internal::MzIdentMLDOMHandler::ModificationParam::mass_delta
long double mass_delta
Definition: MzIdentMLDOMHandler.h:216
OpenMS::Internal::MzIdentMLDOMHandler::xl_acceptor_pos_map_
std::map< String, SignedSize > xl_acceptor_pos_map_
mapping acceptor value -> cross-link modification location
Definition: MzIdentMLDOMHandler.h:282
OpenMS::Internal::MzIdentMLDOMHandler::xl_id_donor_map_
std::map< String, String > xl_id_donor_map_
mapping Peptide id -> cross-link donor value
Definition: MzIdentMLDOMHandler.h:278
OpenMS::Internal::MzIdentMLDOMHandler::PeptideEvidence::post
char post
Definition: MzIdentMLDOMHandler.h:193
OpenMS::Internal::MzIdentMLDOMHandler::ModificationParam::modification_param_cvs
CVTermList modification_param_cvs
Definition: MzIdentMLDOMHandler.h:218
OpenMS::Internal::MzIdentMLDOMHandler::pep_id_
std::vector< PeptideIdentification > * pep_id_
Internal +w Identification Item for peptides.
Definition: MzIdentMLDOMHandler.h:128
OpenMS::ProteinIdentification
Representation of a protein identification run.
Definition: ProteinIdentification.h:71
OpenMS::Internal::MzIdentMLDOMHandler::xl_id_acceptor_map_
std::map< String, String > xl_id_acceptor_map_
mapping peptide id of acceptor peptide -> cross-link acceptor value
Definition: MzIdentMLDOMHandler.h:280
OpenMS::Internal::MzIdentMLDOMHandler::schema_version_
const String schema_version_
Internal version keeping.
Definition: MzIdentMLDOMHandler.h:136
ControlledVocabulary.h
OpenMS::Internal::MzIdentMLDOMHandler::sp_map_
std::map< String, SpectrumIdentificationProtocol > sp_map_
mapping SpectrumIdentificationProtocol id -> SpectrumIdentificationProtocol
Definition: MzIdentMLDOMHandler.h:266
OpenMS::Internal::MzIdentMLDOMHandler::as_map_
std::map< String, AnalysisSoftware > as_map_
mapping AnalysisSoftware id -> AnalysisSoftware
Definition: MzIdentMLDOMHandler.h:254
OpenMS::Internal::MzIdentMLDOMHandler::DBSequence::database_ref
String database_ref
Definition: MzIdentMLDOMHandler.h:200
OpenMS::Internal::MzIdentMLDOMHandler::pro_id_
std::vector< ProteinIdentification > * pro_id_
Internal +w Identification Item for proteins.
Definition: MzIdentMLDOMHandler.h:126
OpenMS::AASequence
Representation of a peptide/protein sequence.
Definition: AASequence.h:113
ProteinHit.h
OpenMS::Internal::MzIdentMLDOMHandler::PeptideEvidence::start
int start
Definition: MzIdentMLDOMHandler.h:190
OpenMS::CVTerm
Representation of controlled vocabulary term.
Definition: CVTerm.h:52
OpenMS::Internal::MzIdentMLDOMHandler::sr_map_
std::map< String, String > sr_map_
mapping sourcefile id -> sourcefile location
Definition: MzIdentMLDOMHandler.h:257
OpenMS::Internal::MzIdentMLDOMHandler::cv_
ControlledVocabulary cv_
Controlled vocabulary (psi-ms from OpenMS/share/OpenMS/CV/psi-ms.obo)
Definition: MzIdentMLDOMHandler.h:121
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentificationProtocol::parameter_ups
std::map< String, DataValue > parameter_ups
Definition: MzIdentMLDOMHandler.h:227
OpenMS::Internal::MzIdentMLDOMHandler::ModificationParam::residues
String residues
Definition: MzIdentMLDOMHandler.h:217
PeptideIdentification.h
OpenMS
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentificationProtocol::threshold_cvs
CVTermList threshold_cvs
Definition: MzIdentMLDOMHandler.h:232
OpenMS::ProgressLogger
Base class for all classes that want to report their progress.
Definition: ProgressLogger.h:54
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentificationProtocol::fragment_tolerance
long double fragment_tolerance
Definition: MzIdentMLDOMHandler.h:231
OpenMS::DateTime
DateTime Class.
Definition: DateTime.h:54
LogStream.h
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentification::spectrum_identification_protocol_ref
String spectrum_identification_protocol_ref
Definition: MzIdentMLDOMHandler.h:209
OpenMS::Internal::MzIdentMLDOMHandler::sd_map_
std::map< String, String > sd_map_
mapping spectradata id -> spectradata location
Definition: MzIdentMLDOMHandler.h:258
OpenMS::Internal::MzIdentMLDOMHandler::search_engine_
String search_engine_
Definition: MzIdentMLDOMHandler.h:251
CVTermList.h
OpenMS::Internal::MzIdentMLDOMHandler::pep_map_
std::map< String, AASequence > pep_map_
mapping Peptide id -> Sequence
Definition: MzIdentMLDOMHandler.h:269
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentification::search_database_ref
String search_database_ref
Definition: MzIdentMLDOMHandler.h:208
OpenMS::Internal::MzIdentMLDOMHandler::mzid_parser_
xercesc::XercesDOMParser mzid_parser_
Definition: MzIdentMLDOMHandler.h:248
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentificationProtocol::threshold_ups
std::map< String, DataValue > threshold_ups
Definition: MzIdentMLDOMHandler.h:233
OpenMS::Internal::MzIdentMLDOMHandler::cpro_id_
const std::vector< ProteinIdentification > * cpro_id_
Internal -w Identification Item for proteins.
Definition: MzIdentMLDOMHandler.h:131
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentificationProtocol::precursor_tolerance
long double precursor_tolerance
Definition: MzIdentMLDOMHandler.h:230
OpenMS::ControlledVocabulary::CVTerm
Representation of a CV term.
Definition: ControlledVocabulary.h:60
OpenMS::Internal::MzIdentMLDOMHandler::si_map_
std::map< String, SpectrumIdentification > si_map_
mapping SpectrumIdentification id -> SpectrumIdentification (id refs)
Definition: MzIdentMLDOMHandler.h:262
OpenMS::Internal::MzIdentMLDOMHandler::xml_cvparam_tag_ptr_
XMLCh * xml_cvparam_tag_ptr_
Definition: MzIdentMLDOMHandler.h:245
OpenMS::Internal::MzIdentMLDOMHandler::pv_db_map_
std::map< String, String > pv_db_map_
mapping PeptideEvidence id -> DBSequence id
Definition: MzIdentMLDOMHandler.h:271
OpenMS::PeptideIdentification
Represents the peptide hits for a spectrum.
Definition: PeptideIdentification.h:62
OpenMS::Internal::MzIdentMLDOMHandler::AnalysisSoftware::name
String name
Definition: MzIdentMLDOMHandler.h:184
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentification::spectrum_identification_list_ref
String spectrum_identification_list_ref
Definition: MzIdentMLDOMHandler.h:210
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentification::spectra_data_ref
String spectra_data_ref
Definition: MzIdentMLDOMHandler.h:207
OpenMS::Internal::MzIdentMLDOMHandler
XML DOM handler for MzIdentMLFile.
Definition: MzIdentMLDOMHandler.h:96
OpenMS::Internal::MzIdentMLDOMHandler::unimod_
ControlledVocabulary unimod_
Controlled vocabulary for modifications (unimod from OpenMS/share/OpenMS/CV/unimod.obo)
Definition: MzIdentMLDOMHandler.h:123
OpenMS::Internal::MzIdentMLDOMHandler::PeptideEvidence::stop
int stop
Definition: MzIdentMLDOMHandler.h:191
OpenMS::Internal::MzIdentMLDOMHandler::si_pro_map_
std::map< String, size_t > si_pro_map_
mapping SpectrumIdentificationList id -> index to ProteinIdentification in pro_id_ ...
Definition: MzIdentMLDOMHandler.h:263
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentificationProtocol::modification_parameter
CVTermList modification_parameter
Definition: MzIdentMLDOMHandler.h:229
OpenMS::Internal::MzIdentMLDOMHandler::xl_donor_pos_map_
std::map< String, SignedSize > xl_donor_pos_map_
mapping donor value -> cross-link modification location
Definition: MzIdentMLDOMHandler.h:281
OpenMS::Internal::MzIdentMLDOMHandler::ModificationParam::fixed_mod
String fixed_mod
Definition: MzIdentMLDOMHandler.h:215
OpenMS::Internal::MzIdentMLDOMHandler::p_pv_map_
std::multimap< String, String > p_pv_map_
mapping Peptide id -> PeptideEvidence id, multiple PeptideEvidences can have equivalent Peptides...
Definition: MzIdentMLDOMHandler.h:272
OpenMS::Internal::MzIdentMLDOMHandler::DatabaseInput::date
DateTime date
Definition: MzIdentMLDOMHandler.h:241
OpenMS::ControlledVocabulary
Representation of a controlled vocabulary.
Definition: ControlledVocabulary.h:54
OpenMS::Internal::MzIdentMLDOMHandler::SpectrumIdentificationProtocol::searchtype
CVTerm searchtype
Definition: MzIdentMLDOMHandler.h:224
OpenMS::Internal::MzIdentMLDOMHandler::DBSequence::sequence
String sequence
Definition: MzIdentMLDOMHandler.h:199
OpenMS::Internal::MzIdentMLDOMHandler::db_sq_map_
std::map< String, DBSequence > db_sq_map_
mapping DBSequence id -> Sequence
Definition: MzIdentMLDOMHandler.h:273
OpenMS::Internal::MzIdentMLDOMHandler::xl_mod_map_
std::map< String, String > xl_mod_map_
mapping peptide id -> cross-linking reagent name
Definition: MzIdentMLDOMHandler.h:284
OpenMS::Internal::MzIdentMLDOMHandler::AnalysisSoftware::version
String version
Definition: MzIdentMLDOMHandler.h:185
OpenMS::ProteinIdentification::SearchParameters
Search parameters of the DB search.
Definition: ProteinIdentification.h:221
OpenMS::Internal::MzIdentMLDOMHandler::PeptideEvidence::idec
bool idec
Definition: MzIdentMLDOMHandler.h:194
OpenMS::Internal::MzIdentMLDOMHandler::ModificationParam::specificities
CVTermList specificities
Definition: MzIdentMLDOMHandler.h:219
OpenMS::Internal::MzIdentMLDOMHandler::DatabaseInput::location
String location
Definition: MzIdentMLDOMHandler.h:239