OpenMS
Loading...
Searching...
No Matches
MascotXMLFile.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Timo Sachsenberg $
6// $Authors: Nico Pfeifer $
7// --------------------------------------------------------------------------
8
9#pragma once
10
18
19
20namespace OpenMS
21{
22 class ProteinIdentification;
23
32 class OPENMS_DLLAPI MascotXMLFile :
34 {
35public:
36
39
51 void load(const String& filename,
52 ProteinIdentification& protein_identification,
54 const SpectrumMetaDataLookup& lookup);
55
68 void load(const String& filename,
69 ProteinIdentification& protein_identification,
71 std::map<String, std::vector<AASequence> >& peptides,
72 const SpectrumMetaDataLookup& lookup);
73
81 static void initializeLookup(SpectrumMetaDataLookup& lookup, const PeakMap& experiment, const String& scan_regex = "");
82
83 };
84
85} // namespace OpenMS
86
Base class for loading/storing XML files that have a handler derived from XMLHandler.
Definition XMLFile.h:23
In-Memory representation of a mass spectrometry run.
Definition MSExperiment.h:49
Used to load Mascot XML files.
Definition MascotXMLFile.h:34
void load(const String &filename, ProteinIdentification &protein_identification, PeptideIdentificationList &id_data, std::map< String, std::vector< AASequence > > &peptides, const SpectrumMetaDataLookup &lookup)
Loads data from a Mascot XML file.
void load(const String &filename, ProteinIdentification &protein_identification, PeptideIdentificationList &id_data, const SpectrumMetaDataLookup &lookup)
Loads data from a Mascot XML file.
MascotXMLFile()
Constructor.
static void initializeLookup(SpectrumMetaDataLookup &lookup, const PeakMap &experiment, const String &scan_regex="")
Initializes a helper object for looking up spectrum meta data (RT, m/z)
Container for peptide identifications from multiple spectra.
Definition PeptideIdentificationList.h:66
Representation of a protein identification run.
Definition ProteinIdentification.h:54
Helper class for looking up spectrum meta data.
Definition SpectrumMetaDataLookup.h:118
A more convenient string class.
Definition String.h:34
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19