Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.

Data structure to handle the contiguous indices of residues/un its in a chain even in the presence of missing residues/units. More...
#include <Chains_residues_contiguous_indexer.hpp>
Data structure to handle the contiguous indices of residues/un its in a chain even in the presence of missing residues/units.
\details Data structure to handle the contiguous indices of residues/units in a chain even in the presence of missing residues/units. It uses two notions: first, the notion of residue_index defined as the residue_sequence_number minus the min value on the sequence; second, the notion of contiguous index defined as the index in 0..N with N the number of residues in the structure. The space reserved for each chain is thus resseqnum_maxresseqnum_min+1, which is expected to be the sequence length. Locations corresponding to missing residues are padded with X for the sequence and std::numeric_limits<unsigned>::max() \tparam PCRep stands for Polypeptide chain representation.