OpenMS
3.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
PepNovoInfile.h
Go to the documentation of this file.
1
// Copyright (c) 2002-2023, 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: $
7
// --------------------------------------------------------------------------
8
9
#pragma once
10
11
#include <
OpenMS/DATASTRUCTURES/String.h
>
12
#include <
OpenMS/CHEMISTRY/ModificationDefinitionsSet.h
>
13
#include <
OpenMS/FORMAT/TextFile.h
>
14
15
#include <map>
16
17
18
namespace
OpenMS
19
{
27
class
OPENMS_DLLAPI
PepNovoInfile
28
{
29
public
:
31
PepNovoInfile
();
32
34
PepNovoInfile
(
const
PepNovoInfile
& pepnovo_infile);
35
37
virtual
~PepNovoInfile
();
38
40
PepNovoInfile
&
operator=
(
const
PepNovoInfile
& pepnovo_infile);
41
43
bool
operator==
(
const
PepNovoInfile
& pepnovo_infile)
const
;
44
50
void
store
(
const
String
& filename);
51
57
void
setModifications
(
const
StringList
& fixed_mods,
const
StringList
& variable_mods);
58
65
void
getModifications
(std::map<String, String> & modification_key_map)
const
;
66
67
private
:
68
ModificationDefinitionsSet
mods_
;
69
std::map<String, String>
mods_and_keys_
;
70
TextFile
ptm_file_
;
71
72
78
String
handlePTMs_
(
const
String
& modification,
const
bool
variable);
79
};
80
81
}
// namespace OpenMS
82
ModificationDefinitionsSet.h
String.h
TextFile.h
OpenMS::ModificationDefinitionsSet
Representation of a set of modification definitions.
Definition:
ModificationDefinitionsSet.h:33
OpenMS::PepNovoInfile
PepNovo input file adapter.
Definition:
PepNovoInfile.h:28
OpenMS::PepNovoInfile::operator=
PepNovoInfile & operator=(const PepNovoInfile &pepnovo_infile)
assignment operator
OpenMS::PepNovoInfile::PepNovoInfile
PepNovoInfile(const PepNovoInfile &pepnovo_infile)
copy constructor
OpenMS::PepNovoInfile::mods_
ModificationDefinitionsSet mods_
Definition:
PepNovoInfile.h:68
OpenMS::PepNovoInfile::getModifications
void getModifications(std::map< String, String > &modification_key_map) const
return the modifications.
OpenMS::PepNovoInfile::ptm_file_
TextFile ptm_file_
Definition:
PepNovoInfile.h:70
OpenMS::PepNovoInfile::store
void store(const String &filename)
OpenMS::PepNovoInfile::PepNovoInfile
PepNovoInfile()
default constructor
OpenMS::PepNovoInfile::setModifications
void setModifications(const StringList &fixed_mods, const StringList &variable_mods)
generates the PepNovo Infile for given fixed and variable modifications *
OpenMS::PepNovoInfile::handlePTMs_
String handlePTMs_(const String &modification, const bool variable)
OpenMS::PepNovoInfile::~PepNovoInfile
virtual ~PepNovoInfile()
destructor
OpenMS::PepNovoInfile::operator==
bool operator==(const PepNovoInfile &pepnovo_infile) const
equality operator
OpenMS::PepNovoInfile::mods_and_keys_
std::map< String, String > mods_and_keys_
Definition:
PepNovoInfile.h:69
OpenMS::String
A more convenient string class.
Definition:
String.h:34
OpenMS::TextFile
This class provides some basic file handling methods for text files.
Definition:
TextFile.h:21
OpenMS::StringList
std::vector< String > StringList
Vector of String.
Definition:
ListUtils.h:44
OpenMS
Main OpenMS namespace.
Definition:
FeatureDeconvolution.h:22
OpenMS
FORMAT
PepNovoInfile.h
Generated on Wed Oct 18 2023 11:33:43 for OpenMS by
1.9.1