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 std::string &acc, const std::string &n="", const std::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
 
std::string accession
 PEFF CV accession (e.g., "PEFF:0001021")
 
std::string name
 Optional name (e.g., "signal peptide")
 
std::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 std::string &  acc,
const std::string &  n = "",
const std::string &  tag = "",
UInt  aid = std::numeric_limits<UInt>::max() 
)
inline

Member Function Documentation

◆ operator==()

Member Data Documentation

◆ accession

std::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

std::string name

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

Referenced by PEFFProcessedRegion::operator==().

◆ optional_tag

std::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==().