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

Represents a PEFF processed region (signal peptide, transit peptide, etc.). More...

#include <OpenMS/FORMAT/PEFFFile.h>

Collaboration diagram for PEFFProcessedRegion:
[legend]

Public Member Functions

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

Public Attributes

Size start_position {0}
 1-based start position
 
Size end_position {0}
 1-based end position
 
String accession
 PEFF CV accession (e.g., "PEFF:0001021")
 
String name
 Optional name (e.g., "signal peptide")
 
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 PEFF processed region (signal peptide, transit peptide, etc.).

Parsed from \Processed annotations.

Constructor & Destructor Documentation

◆ PEFFProcessedRegion() [1/2]

PEFFProcessedRegion ( )
default

◆ PEFFProcessedRegion() [2/2]

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

Member Function Documentation

◆ operator==()

Member Data Documentation

◆ accession

String accession

PEFF CV accession (e.g., "PEFF:0001021")

Referenced by PEFFProcessedRegion::operator==().

◆ annotation_id

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

Optional annotation identifier, max() = not set.

Referenced by PEFFProcessedRegion::operator==().

◆ end_position

Size end_position {0}

1-based end position

Referenced by PEFFProcessedRegion::operator==().

◆ name

String name

Optional name (e.g., "signal peptide")

Referenced by PEFFProcessedRegion::operator==().

◆ optional_tag

String optional_tag

Optional tag (last component of annotation tuple)

Referenced by PEFFProcessedRegion::operator==().

◆ start_position

Size start_position {0}

1-based start position

Referenced by PEFFProcessedRegion::operator==().