pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::StructureResidue Struct Reference

One residue of a chain and its atoms. More...

#include <protein_structure.hpp>

Public Member Functions

std::optional< Point3 > atom (const std::string &atom_name) const
 

Public Attributes

std::string name
 The three-letter name, such as ALA or MSE.
 
char code = 'X'
 The one-letter code: the 20 standard amino acids, M for selenomethionine (MSE), U and O for selenocysteine and pyrrolysine, and X for anything else.
 
int64_t number = 0
 The author's residue number (auth_seq_id), and its insertion code, or ' '.
 
char insertion_code = ' '
 
std::map< std::string, Point3 > atoms
 Atoms by name (CA, CB, ...). With alternate locations, the first one listed.
 

Detailed Description

One residue of a chain and its atoms.

Member Function Documentation

◆ atom()

std::optional< Point3 > pulsatrix::StructureResidue::atom ( const std::string &  atom_name) const

Member Data Documentation

◆ atoms

std::map<std::string, Point3> pulsatrix::StructureResidue::atoms

Atoms by name (CA, CB, ...). With alternate locations, the first one listed.

◆ code

char pulsatrix::StructureResidue::code = 'X'

The one-letter code: the 20 standard amino acids, M for selenomethionine (MSE), U and O for selenocysteine and pyrrolysine, and X for anything else.

◆ insertion_code

char pulsatrix::StructureResidue::insertion_code = ' '

◆ name

std::string pulsatrix::StructureResidue::name

The three-letter name, such as ALA or MSE.

◆ number

int64_t pulsatrix::StructureResidue::number = 0

The author's residue number (auth_seq_id), and its insertion code, or ' '.


The documentation for this struct was generated from the following file: