Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Alignment_residue< ResidueBase > Class Template Reference

Representation of a residue in the alignement engines Representation of a residue in the alignement engines. More...

#include "Alignment_sequence.hpp"

Public Types

typedef char Residue_name
 1 letter code representation of a residue name. More...
 

Constructors

 T_Alignment_residue (ResidueBase &res)
 Init this residue with a base residue. More...
 

Accessors

int residue_sequence_number (void) const
 Sequence number of the underlying residue. More...
 
char chain_identifier (void) const
 Chain identifier of the underlying residue. More...
 
const ResidueBase & residue (void) const
 Base residue wrapped by this DS. More...
 
Residue_name get_name (void) const
 One letter code of this residue. More...
 
double x (void) const
 X coordinate of the C-alpha. More...
 
double y (void) const
 Y coordinate of the C-alpha. More...
 
double z (void) const
 Z coordinate of the C-alpha. More...
 

I/O

template<class MolecularViewer >
static void Molecular_view (MolecularViewer &viewer, const T_Alignment_residue< ResidueBase > &res)
 VMD and PyMOL drawing. More...
 

Detailed Description

template<class ResidueBase>
class SBL::CSB::T_Alignment_residue< ResidueBase >

Representation of a residue in the alignement engines Representation of a residue in the alignement engines.

Representation of a residue in the alignement engines.

Template Parameters
ResidueBaseBase representation of a residue, e.g from PDB / mmCIF format

Member Typedef Documentation

◆ Residue_name

typedef char Residue_name

1 letter code representation of a residue name.

Constructor & Destructor Documentation

◆ T_Alignment_residue()

T_Alignment_residue ( ResidueBase &  res)
inline

Init this residue with a base residue.

Member Function Documentation

◆ chain_identifier()

char chain_identifier ( void  ) const
inline

Chain identifier of the underlying residue.

◆ get_name()

Residue_name get_name ( void  ) const
inline

One letter code of this residue.

◆ Molecular_view()

static void Molecular_view ( MolecularViewer &  viewer,
const T_Alignment_residue< ResidueBase > &  res 
)
inlinestatic

VMD and PyMOL drawing.

◆ residue()

const ResidueBase& residue ( void  ) const
inline

Base residue wrapped by this DS.

◆ residue_sequence_number()

int residue_sequence_number ( void  ) const
inline

Sequence number of the underlying residue.

◆ x()

double x ( void  ) const
inline

X coordinate of the C-alpha.

◆ y()

double y ( void  ) const
inline

Y coordinate of the C-alpha.

◆ z()

double z ( void  ) const
inline

Z coordinate of the C-alpha.