Class to hold bases with backbones attached (nucleotides), along with associated necessary information.
More...
#include <Containers.h>
|
| BaseUnit (Base b, Backbone backbone, double glycosidic_bond_distance=0.0) |
|
| BaseUnit () |
| Empty constructor. More...
|
|
const OpenBabel::OBMol | getMol () |
| Returns the nucleotide molecule, BaseUnit::unit. More...
|
|
const std::array< std::size_t, 2 > | getBaseIndexRange () |
| Returns the indices for the begining and end of the nucleobase atom indices, BaseUnit::base_index_range. More...
|
|
const std::array< std::size_t, 2 > | getBackboneIndexRange () |
| Returns the indices for the begining and end of the backbone atom indices, BaseUnit::backbone_index_range. More...
|
|
const std::array< std::size_t, 2 > | getBackboneLinkers () |
| Returns the indices for atoms where the backbone connects, BaseUnit::backbone_interconnects. More...
|
|
std::size_t | getBaseConnectIndex () |
| Returns the index of the atom where the nucleobase connects to the backbone, BaseUnit::base_connect_index. More...
|
|
std::vector< std::vector< unsigned > > | getFixedBonds () |
| Returns a vector of the pair of indices for fixed rotatable dihedrals in the backbone, BaseUnit::fixed_bonds. More...
|
|
Class to hold bases with backbones attached (nucleotides), along with associated necessary information.
- See also
- Base
-
Backbone
-
Chain::setupChain
-
ConformationSearch
◆ BaseUnit() [1/2]
BaseUnit::BaseUnit |
( |
Base |
b, |
|
|
Backbone |
backbone, |
|
|
double |
glycosidic_bond_distance = 0.0 |
|
) |
| |
Constructor for the base unit
- Parameters
-
b | Base instance |
backbone | Backbone instance |
glycosidic_bond_distance | The glycosidic bond distance. If zero (default), set it by using the van der Waals radii |
◆ BaseUnit() [2/2]
PNAB::BaseUnit::BaseUnit |
( |
| ) |
|
|
inline |
◆ getBackboneIndexRange()
const std::array< std::size_t, 2 > PNAB::BaseUnit::getBackboneIndexRange |
( |
| ) |
|
|
inline |
Returns the indices for the begining and end of the backbone atom indices, BaseUnit::backbone_index_range.
- Returns
- The indices for the limits of the backbone
◆ getBackboneLinkers()
const std::array< std::size_t, 2 > PNAB::BaseUnit::getBackboneLinkers |
( |
| ) |
|
|
inline |
◆ getBaseConnectIndex()
std::size_t PNAB::BaseUnit::getBaseConnectIndex |
( |
| ) |
|
|
inline |
Returns the index of the atom where the nucleobase connects to the backbone, BaseUnit::base_connect_index.
- Returns
- The nucleobase index connecting to the backbone
◆ getBaseIndexRange()
const std::array< std::size_t, 2 > PNAB::BaseUnit::getBaseIndexRange |
( |
| ) |
|
|
inline |
Returns the indices for the begining and end of the nucleobase atom indices, BaseUnit::base_index_range.
- Returns
- The indices for the limits of the nucleobases
◆ getFixedBonds()
std::vector<std::vector<unsigned> > PNAB::BaseUnit::getFixedBonds |
( |
| ) |
|
|
inline |
Returns a vector of the pair of indices for fixed rotatable dihedrals in the backbone, BaseUnit::fixed_bonds.
- Returns
- The indices of the fixed rotatable dihedrals
◆ getMol()
const OpenBabel::OBMol PNAB::BaseUnit::getMol |
( |
| ) |
|
|
inline |
Returns the nucleotide molecule, BaseUnit::unit.
- Returns
- The nucleotide molecule
◆ backbone_index_range
std::array< std::size_t, 2 > PNAB::BaseUnit::backbone_index_range |
|
private |
Range of indices of the unit that are a part of the backbone, [start, stop].
◆ backbone_interconnects
std::array< std::size_t, 2 > PNAB::BaseUnit::backbone_interconnects |
|
private |
Atom indices defining where backbone connects.
◆ base_connect_index
std::size_t PNAB::BaseUnit::base_connect_index |
|
private |
Atom index where backbone connects to base (the base atom)
◆ base_index_range
std::array< std::size_t, 2 > PNAB::BaseUnit::base_index_range |
|
private |
Range of indices of the unit that are a part of the base, [start, stop].
◆ fixed_bonds
std::vector<std::vector<unsigned> > PNAB::BaseUnit::fixed_bonds |
|
private |
Indices of fixed bonds in dihedral search.
◆ unit
OpenBabel::OBMol PNAB::BaseUnit::unit |
|
private |
Holds molecule containing base with backbone attached.
The documentation for this class was generated from the following files: