General usage class for creating lists of modifications to be passed as parameters.
More...
#include <ms_modfile.hpp>
List of all members.
Detailed Description
General usage class for creating lists of modifications to be passed as parameters.
- Examples:
-
tools_aahelper.cpp.
Constructor & Destructor Documentation
Copying constructor that takes a Unimod file object as a source.
Each modificationbelement in Unimod consists of one or more specificities that can be grouped by their specGroup value. Therefore, each modification element can be converted to one or more mod_file style modifications.
- Parameters:
-
src | a Unimod object to copy the content from. |
umod_file | an instance of a Unimod file object from which to extract element masses. |
Member Function Documentation
Copies all content from a Unimod modification object.
Every modification object in a Unimod file consits of one or more specificities. Specificities can be grouped or merged by their specificity group ID. Therefore, we can potentially obtain a vector of specificity groups out of any modification in a Unimod file. Such specificity groups can be converted into mod_file style modifications directly.
- Parameters:
-
right | a Unimod style modification object to copy the content from. |
umod_file | Unimod file object from which to get masses of elements and amino-acids. |
const ms_modification * getModificationByName |
( |
const std::string & |
nameMod ) |
const |
Returns a modification object by its name.
- Parameters:
-
nameMod | is the modification name to match. |
- Returns:
- The modification object, or a null value if a non-existent nameMod value is passed.
The documentation for this class was generated from the following files: