libBioLCCC
Loading...
Searching...
No Matches
chemicalgroup.h
1#ifndef AMINOACID_H
2#define AMINOACID_H
3
4#include <string>
5
6namespace BioLCCC
7{
8
10
21{
22
23public:
25
34 ChemicalGroup(std::string name = "",
35 std::string label = "",
36 double bindEnergy = 0.0,
37 double averageMass = 0.0,
38 double monoisotopicMass = 0.0,
39 double bindArea = 1.0
40 );
41
43
49 std::string name() const;
50
52
58 std::string label() const;
59
61
66 double averageMass() const;
67
69
74 double monoisotopicMass() const;
75
77
82 double bindEnergy() const;
83
85
90 double bindArea() const;
91
92
94 bool isNTerminal() const;
95
97 bool isCTerminal() const;
98
100 bool isAminoAcid() const;
101
103 void setName(std::string newName);
104
106 //void setLabel(std::string newLabel);
107
109 void setBindEnergy(double newBindEnergy);
110
112 void setBindArea(double newBindArea);
113
115 void setAverageMass(double newAverageMass);
116
118 void setMonoisotopicMass(double newMonoisotopicMass);
119
120private:
121 std::string mName;
122 std::string mLabel;
123 double mBindEnergy;
124 double mBindArea;
125 double mAverageMass;
126 double mMonoisotopicMass;
127};
128
129}
130
131#endif
A ChemicalGroup instance contains the properties of a group of atoms.
Definition chemicalgroup.h:21
double bindEnergy() const
Returns the energy of binding to the surface of a solid phase.
Definition chemicalgroup.cpp:32
void setAverageMass(double newAverageMass)
Sets the average mass of the chemical group.
Definition chemicalgroup.cpp:67
bool isNTerminal() const
Shows whether the group is N-Terminal.
Definition chemicalgroup.cpp:77
void setName(std::string newName)
Sets the full name of the chemical group.
Definition chemicalgroup.cpp:62
void setMonoisotopicMass(double newMonoisotopicMass)
Sets the monoisotopic mass of the chemical group.
Definition chemicalgroup.cpp:72
bool isCTerminal() const
Shows whether the group is C-Terminal.
Definition chemicalgroup.cpp:82
void setBindEnergy(double newBindEnergy)
Sets the binding energy value.
Definition chemicalgroup.cpp:52
double averageMass() const
Returns the average mass of the chemical group.
Definition chemicalgroup.cpp:42
double monoisotopicMass() const
Returns the monoisotopic mass of the chemical group.
Definition chemicalgroup.cpp:47
double bindArea() const
Returns the area of the contact with the surface of a solid phase.
Definition chemicalgroup.cpp:37
std::string name() const
Returns the full name of the chemical group.
Definition chemicalgroup.cpp:22
std::string label() const
Returns the brief code of the group used in peptide sequence notation.
Definition chemicalgroup.cpp:27
void setBindArea(double newBindArea)
Sets the binding energy value.
Definition chemicalgroup.cpp:57
bool isAminoAcid() const
Shows whether the group is an amino acid.
Definition chemicalgroup.cpp:87
Apart from classes, BioLCCC contains calculation methods and constants.
Definition auxiliary.h:5