![]() |
OpenMS
|
Represents a PEFF modification annotation. More...
#include <OpenMS/FORMAT/PEFFFile.h>
Public Types | |
| enum class | Type { PSI_MOD , UNIMOD , GENERIC } |
Public Member Functions | |
| PEFFModification ()=default | |
| PEFFModification (Size pos, const String &acc, const String &n, const String &tag="", UInt aid=std::numeric_limits< UInt >::max()) | |
| bool | operator== (const PEFFModification &rhs) const |
Public Attributes | |
| Size | position {0} |
| 1-based position, 0 = unknown position (?) | |
| String | accession |
| "MOD:00046", "UNIMOD:35", or custom | |
| String | name |
| Human-readable name. | |
| String | optional_tag |
| Optional tag (last component of annotation tuple) | |
| UInt | annotation_id {std::numeric_limits<UInt>::max()} |
| Optional annotation identifier (when HasAnnotationIdentifiers=true), max() = not set. | |
| Type | type {Type::GENERIC} |
Represents a PEFF modification annotation.
PEFF modifications can be in PSI-MOD, UNIMOD, or custom format. Position is 1-based, with 0 indicating unknown position (represented as ? in PEFF).
|
strong |
|
default |
|
inline |
References String::hasPrefix().
|
inline |
| String accession |
"MOD:00046", "UNIMOD:35", or custom
Referenced by PEFFModification::operator==().
Optional annotation identifier (when HasAnnotationIdentifiers=true), max() = not set.
Referenced by PEFFModification::operator==().
| String name |
Human-readable name.
Referenced by PEFFModification::operator==().
| String optional_tag |
Optional tag (last component of annotation tuple)
Referenced by PEFFModification::operator==().
| Size position {0} |
1-based position, 0 = unknown position (?)
Referenced by PEFFModification::operator==().
| Type type {Type::GENERIC} |
Referenced by PEFFModification::operator==().