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 T_Alignment_residue< ResidueBase > Self
 
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 underlyingresidue. 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 ESBTL

Member Typedef Documentation

◆ Residue_name

typedef char Residue_name

1 letter code representation of a residue name.

◆ Self

typedef T_Alignment_residue<ResidueBase> Self

Constructor & Destructor Documentation

◆ T_Alignment_residue()

T_Alignment_residue ( ResidueBase &  res)
inline

Init this residue with a base residue.

Member Function Documentation

◆ 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 underlyingresidue.

◆ 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.