OpenMS
PepNovoOutfile.h
Go to the documentation of this file.
1 // Copyright (c) 2002-present, The OpenMS Team -- 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 
18 namespace OpenMS
19 {
20  class ProteinIdentification;
21 
30  class OPENMS_DLLAPI PepNovoOutfile
31  {
32 public:
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, std::vector<PeptideIdentification> & peptide_identifications,
64  ProteinIdentification & protein_identification,
65  const double & score_threshold,
66  const IndexPosMappingType & id_rt_mz,
67  const std::map<String, String> & mod_id_map);
68 
76  void getSearchEngineAndVersion(const 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
void getSearchEngineAndVersion(const String &pepnovo_output_without_parameters_filename, ProteinIdentification &protein_identification)
get the search engine version and search parameters from a PepNovo output file
PepNovoOutfile & operator=(const PepNovoOutfile &pepnovo_outfile)
assignment operator
std::map< Size, std::pair< double, double > > IndexPosMappingType
Definition: PepNovoOutfile.h:34
virtual ~PepNovoOutfile()
destructor
void load(const std::string &result_filename, std::vector< PeptideIdentification > &peptide_identifications, ProteinIdentification &protein_identification, const double &score_threshold, const IndexPosMappingType &id_rt_mz, const std::map< String, String > &mod_id_map)
loads data from a PepNovo outfile
bool operator==(const PepNovoOutfile &pepnovo_outfile) const
equality operator
PepNovoOutfile()
Constructor.
PepNovoOutfile(const PepNovoOutfile &pepnovo_outfile)
copy constructor
Representation of a protein identification run.
Definition: ProteinIdentification.h:50
A more convenient string class.
Definition: String.h:34
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19