OpenMS
Loading...
Searching...
No Matches
PEFFVariantComplex Struct Reference

Represents a complex PEFF variant (insertion, deletion, or substitution of multiple amino acids). More...

#include <OpenMS/FORMAT/PEFFFile.h>

Collaboration diagram for PEFFVariantComplex:
[legend]

Public Member Functions

 PEFFVariantComplex ()=default
 
 PEFFVariantComplex (Size start, Size end, const String &repl, const String &tag="", UInt aid=std::numeric_limits< UInt >::max())
 
bool operator== (const PEFFVariantComplex &rhs) const
 

Public Attributes

Size start_position {0}
 1-based start position
 
Size end_position {0}
 1-based end position
 
String replacement
 Replacement sequence (empty = deletion)
 
String optional_tag
 Optional tag (last component of annotation tuple)
 
UInt annotation_id {std::numeric_limits<UInt>::max()}
 Optional annotation identifier, max() = not set.
 

Detailed Description

Represents a complex PEFF variant (insertion, deletion, or substitution of multiple amino acids).

Parsed from \VariantComplex annotations.

Constructor & Destructor Documentation

◆ PEFFVariantComplex() [1/2]

PEFFVariantComplex ( )
default

◆ PEFFVariantComplex() [2/2]

PEFFVariantComplex ( Size  start,
Size  end,
const String repl,
const String tag = "",
UInt  aid = std::numeric_limits<UInt>::max() 
)
inline

Member Function Documentation

◆ operator==()

Member Data Documentation

◆ annotation_id

UInt annotation_id {std::numeric_limits<UInt>::max()}

Optional annotation identifier, max() = not set.

Referenced by PEFFVariantComplex::operator==().

◆ end_position

Size end_position {0}

1-based end position

Referenced by PEFFVariantComplex::operator==().

◆ optional_tag

String optional_tag

Optional tag (last component of annotation tuple)

Referenced by PEFFVariantComplex::operator==().

◆ replacement

String replacement

Replacement sequence (empty = deletion)

Referenced by PEFFVariantComplex::operator==().

◆ start_position

Size start_position {0}

1-based start position

Referenced by PEFFVariantComplex::operator==().