 |
OpenMS
3.0.0
|
|
Go to the documentation of this file.
175 static String getResidueTypeName(
const ResidueType res_type);
192 const String& three_letter_code,
193 const String& one_letter_code,
201 const std::set<String>& synonyms = std::set<String>());
221 void setName(
const String& name);
225 const String& getName()
const;
228 void setSynonyms(
const std::set<String>& synonyms);
231 void addSynonym(
const String& synonym);
234 const std::set<String>& getSynonyms()
const;
237 void setThreeLetterCode(
const String& three_letter_code);
240 const String& getThreeLetterCode()
const;
243 void setOneLetterCode(
const String& one_letter_code);
246 const String& getOneLetterCode()
const;
252 void setLossFormulas(
const std::vector<EmpiricalFormula>&);
258 void setNTermLossFormulas(
const std::vector<EmpiricalFormula>&);
261 const std::vector<EmpiricalFormula>& getLossFormulas()
const;
264 const std::vector<EmpiricalFormula>& getNTermLossFormulas()
const;
267 void setLossNames(
const std::vector<String>& name);
270 void setNTermLossNames(
const std::vector<String>& name);
273 void addLossName(
const String& name);
276 void addNTermLossName(
const String& name);
279 const std::vector<String>& getLossNames()
const;
282 const std::vector<String>& getNTermLossNames()
const;
291 void setAverageWeight(
double weight);
294 double getAverageWeight(ResidueType res_type = Full)
const;
297 void setMonoWeight(
double weight);
300 double getMonoWeight(ResidueType res_type = Full)
const;
317 void setModificationByDiffMonoMass(
double diffMonoMass);
320 const String& getModificationName()
const;
323 void setLowMassIons(
const std::vector<EmpiricalFormula>& low_mass_ions);
326 const std::vector<EmpiricalFormula>& getLowMassIons()
const;
329 void setResidueSets(
const std::set<String>& residues_sets);
332 void addResidueSet(
const String& residue_sets);
335 const std::set<String>& getResidueSets()
const;
338 double getPka()
const;
341 double getPkb()
const;
344 double getPkc()
const;
347 double getPiValue()
const;
350 void setPka(
double value);
353 void setPkb(
double value);
356 void setPkc(
double value);
359 double getSideChainBasicity()
const;
362 void setSideChainBasicity(
double gb_sc);
365 double getBackboneBasicityLeft()
const;
368 void setBackboneBasicityLeft(
double gb_bb_l);
371 double getBackboneBasicityRight()
const;
374 void setBackboneBasicityRight(
double gb_bb_r);
380 bool hasNeutralLoss()
const;
384 bool hasNTermNeutralLosses()
const;
399 bool isModified()
const;
402 bool isInResidueSet(
const String& residue_set);
406 static char residueTypeToIonLetter(
const ResidueType& res_type);
413 friend OPENMS_DLLAPI std::ostream&
operator<<(std::ostream& os,
const Residue& residue);
475 double internal_to_full_monoweight_ = getInternalToFull().getMonoWeight();
476 double internal_to_nterm_monoweight_ = getInternalToNTerm().getMonoWeight();
477 double internal_to_cterm_monoweight_ = getInternalToCTerm().getMonoWeight();
478 double internal_to_a_monoweight_ = getInternalToAIon().getMonoWeight();
479 double internal_to_b_monoweight_ = getInternalToBIon().getMonoWeight();
480 double internal_to_c_monoweight_ = getInternalToCIon().getMonoWeight();
481 double internal_to_x_monoweight_ = getInternalToXIon().getMonoWeight();
482 double internal_to_y_monoweight_ = getInternalToYIon().getMonoWeight();
483 double internal_to_z_monoweight_ = getInternalToZIon().getMonoWeight();
487 OPENMS_DLLAPI std::ostream&
operator<<(std::ostream& os,
const Residue& residue);
no stored annotation
Definition: Residue.h:169
OpenMS stores a central database of all residues in the ResidueDB. All (unmodified) residues are adde...
Definition: ResidueDB.h:57
Base class for TOPP applications.
Definition: TOPPBase.h:147
double gb_sc_
SideChainBasicity.
Definition: Residue.h:463
const std::string & toString(const DriftTimeUnit value)
void setValue(const std::string &key, const ParamValue &value, const std::string &description="", const std::vector< std::string > &tags=std::vector< std::string >())
Sets a value.
MS:1001224 N-terminus up to the peptide bond.
Definition: Residue.h:158
Representation of a modification on an amino acid residue.
Definition: ResidueModification.h:78
double pka_
Definition: Residue.h:454
General data processing (if no other term applies)
Definition: DataProcessing.h:60
double loss_mono_weight_
Definition: Residue.h:448
double loss_average_weight_
Definition: Residue.h:446
static const EmpiricalFormula & getInternalToCIon()
Definition: Residue.h:116
void store(const String &filename, const PeakMap &map) const
Stores a map in an MzML file.
MS:1001230 C-alpha/carbonyl carbon bond.
Definition: Residue.h:162
File adapter for MzML files.
Definition: MzMLFile.h:57
A more convenient string class.
Definition: String.h:58
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
In-Memory representation of a mass spectrometry run.
Definition: MSExperiment.h:70
sets the modification of AA at index by providing a pointer to a
static const EmpiricalFormula & getInternalToCTerm()
Definition: Residue.h:94
Linear Resampling of raw data with alignment.
Definition: LinearResamplerAlign.h:57
MS:1001231 N-terminus up to the amide/C-alpha bond.
Definition: Residue.h:159
void raster_align(SpecT &container, double start_pos, double end_pos)
Applies the resampling algorithm to a container (MSSpectrum or MSChromatogram) with fixed coordinates...
Definition: LinearResamplerAlign.h:116
const ResidueModification * modification_
pointer to the modification
Definition: Residue.h:435
MS:1001229 N-terminus up to the C-alpha/carbonyl carbon bond.
Definition: Residue.h:157
bool clearMetaDataArrays()
Clears the meta data arrays of all contained spectra (float, integer and string arrays)
Size size() const
Definition: MSExperiment.h:120
std::vector< String > NTerm_loss_names_
Definition: Residue.h:442
double pkc_
Definition: Residue.h:460
EmpiricalFormula internal_formula_
Definition: Residue.h:428
Linear Resampling of raw data.
Definition: LinearResampler.h:61
MS:1001523 Precursor ion.
Definition: Residue.h:163
static const EmpiricalFormula & getInternalToAIon()
Definition: Residue.h:100
MS:1001233 y ion without ammonia.
Definition: Residue.h:167
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
internal, without any termini
Definition: Residue.h:154
double gb_bb_r_
BackboneBasicityRight.
Definition: Residue.h:469
static const EmpiricalFormula & getInternalToBIon()
Definition: Residue.h:108
static const EmpiricalFormula & getInternalToFull()
Definition: Residue.h:82
Representation of an amino acid residue.
Definition: Residue.h:62
void load(const String &filename, PeakMap &map)
Loads a map from a MzML file. Spectra and chromatograms are sorted by default (this can be disabled u...
double mono_weight_
Definition: Residue.h:432
double gb_bb_l_
BackboneBasicityLeft.
Definition: Residue.h:466
only N-terminus
Definition: Residue.h:155
static const EmpiricalFormula & getInternalToXIon()
Definition: Residue.h:123
MS:1001240 Non-identified ion.
Definition: Residue.h:168
only C-terminus
Definition: Residue.h:156
double pkb_
Definition: Residue.h:457
std::vector< EmpiricalFormula > low_mass_ions_
low mass markers like immonium ions
Definition: Residue.h:451
std::set< String > synonyms_
Definition: Residue.h:420
static const EmpiricalFormula & getInternalToYIon()
Definition: Residue.h:131
MS:1001222 b ion without water.
Definition: Residue.h:164
void clear(bool clear_meta_data)
Clears all data and meta data.
void setParameters(const Param ¶m)
Sets the parameters.
std::vector< EmpiricalFormula > loss_formulas_
Definition: Residue.h:440
ResidueType
Definition: Residue.h:151
EmpiricalFormula formula_
Definition: Residue.h:426
std::ostream & operator<<(std::ostream &os, const AccurateMassSearchResult &amsr)
void setModification(int location, int max_size, String modification, OpenMS::AASequence &aas)
helper function that sets a modification on a AASequence object
int main(int argc, const char **argv)
Definition: INIFileEditor.cpp:71
void raster(MSSpectrum &spectrum) const
Applies the resampling algorithm to an MSSpectrum.
Definition: LinearResampler.h:84
std::vector< EmpiricalFormula > NTerm_loss_formulas_
Definition: Residue.h:444
String one_letter_code_
Definition: Residue.h:424
double average_weight_
Definition: Residue.h:430
bool operator==(const IDBoostGraph::ProteinGroup &lhs, const IDBoostGraph::ProteinGroup &rhs)
static const EmpiricalFormula & getInternalToZIon()
Definition: Residue.h:138
std::set< String > residue_sets_
residue sets this amino acid is contained in
Definition: Residue.h:472
Management and storage of parameters / INI files.
Definition: Param.h:69
MS:1001232 b ion without ammonia.
Definition: Residue.h:166
String name_
the name of the residue
Definition: Residue.h:418
MS:1001220 peptide bond up to the C-terminus.
Definition: Residue.h:161
MS:1001228 amide/C-alpha bond up to the C-terminus.
Definition: Residue.h:160
The representation of a 1D spectrum.
Definition: MSSpectrum.h:66
std::vector< String > loss_names_
Definition: Residue.h:438
MS:1001223 y ion without water.
Definition: Residue.h:165
static const EmpiricalFormula & getInternalToNTerm()
Definition: Residue.h:88
void setLogType(LogType type) const
Sets the progress log that should be used. The default type is NONE!
String three_letter_code_
Definition: Residue.h:422