OpenMS
Loading...
Searching...
No Matches
PepNovoOutfile.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: Sandro Andreotti, Chris Bielow $
7// --------------------------------------------------------------------------
8
9#pragma once
10
14
15#include <vector>
16#include <map>
17
18namespace OpenMS
19{
20 class ProteinIdentification;
21
30 class OPENMS_DLLAPI PepNovoOutfile
31 {
32public:
33
34 typedef std::map<Size, std::pair<double, double> > IndexPosMappingType;
35
38
40 PepNovoOutfile(const PepNovoOutfile & pepnovo_outfile);
41
43 virtual ~PepNovoOutfile();
44
46 PepNovoOutfile & operator=(const PepNovoOutfile & pepnovo_outfile);
47
49 bool operator==(const PepNovoOutfile & pepnovo_outfile) const;
50
63 void load(const std::string & result_filename, PeptideIdentificationList & peptide_identifications,
64 ProteinIdentification & protein_identification,
65 const double & score_threshold,
66 const IndexPosMappingType & id_rt_mz,
67 const std::map<std::string, std::string> & mod_id_map);
68
76 void getSearchEngineAndVersion(const std::string & pepnovo_output_without_parameters_filename, ProteinIdentification & protein_identification);
77
78 };
79
80} //namespace OpenMS
81
Representation of a PepNovo output file.
Definition PepNovoOutfile.h:31
PepNovoOutfile & operator=(const PepNovoOutfile &pepnovo_outfile)
assignment operator
std::map< Size, std::pair< double, double > > IndexPosMappingType
Definition PepNovoOutfile.h:34
virtual ~PepNovoOutfile()
destructor
bool operator==(const PepNovoOutfile &pepnovo_outfile) const
equality operator
void load(const std::string &result_filename, PeptideIdentificationList &peptide_identifications, ProteinIdentification &protein_identification, const double &score_threshold, const IndexPosMappingType &id_rt_mz, const std::map< std::string, std::string > &mod_id_map)
loads data from a PepNovo outfile
PepNovoOutfile()
Constructor.
void getSearchEngineAndVersion(const std::string &pepnovo_output_without_parameters_filename, ProteinIdentification &protein_identification)
get the search engine version and search parameters from a PepNovo output file
PepNovoOutfile(const PepNovoOutfile &pepnovo_outfile)
copy constructor
Container for peptide identifications from multiple spectra.
Definition PeptideIdentificationList.h:66
Representation of a protein identification run.
Definition ProteinIdentification.h:55
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19