![]() |
Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
#include <Nucleic_acid_representation.hpp>
Public Types | |
| typedef T_Nucleic_acid_representation< PolynucleotideChain > | Self |
| The class itself. | |
| typedef PolynucleotideChain | Polynucleotide_chain |
| Representation of a single polynucleotide chain within a Nucleic Acid representation. | |
| typedef std::unordered_map< char, Polynucleotide_chain > | Polynucleotide_chains_map |
| Map from chain identifiers to their representation. | |
| typedef Polynucleotide_chains_map::iterator | Polynucleotide_chains_iterator |
| Iterator over the map from chain identifiers to their representation. | |
| typedef Polynucleotide_chains_map::const_iterator | Polynucleotide_chains_const_iterator |
| Iterator over the map from chain identifiers to their representation (const)x. | |
Constructors | |
| T_Nucleic_acid_representation () | |
| Builds an empty nucleic acid. | |
Accessors | |
| unsigned | get_number_of_particles () const |
| Return the total number of particles in the nucleic acid. | |
| unsigned | get_number_of_embedded_particles () const |
| Return the number of particles in the nucleic acid with an associated geometric model. | |
| bool | is_fully_embedded () const |
| Return true iff all the chains are fully embedded. | |
| unsigned | get_number_of_bonds () const |
| Return the total number of bonds in the nucleic acid. | |
| unsigned | get_number_of_embedded_bonds () const |
| Return the number of bonds in the nucleic acid where both atoms have an associated geometric model. | |
| unsigned | get_total_number_of_residues () const |
| Return the total number of residues in the nucleic acid. | |
| std::size_t | get_number_of_chains () const |
| Return the number of polynucleotide chains. | |
| Polynucleotide_chain & | get_chain (char c) |
| Return the representation of the chain identified by the input character. | |
| const Polynucleotide_chain & | get_chain (char c) const |
| Return a const representation of the chain identified by the input character. | |
| const PolynucleotideChain & | get_the_unique_chain () const |
| Return a const representation of the unique chain of the nucleic acid. | |
| PolynucleotideChain & | get_the_unique_chain () |
| Return a const representation of the unique chain of the nucleic acid. | |
| std::string & | get_name () |
| Return a reference to the name of this nucleic acid. | |
| const std::string & | get_name () const |
| Return the name of this nucleic acid. | |
| void | statistics (std::ostream &out) const |
| Return statistics on this nucleic acid. | |
Modifiers | |
| void | create_chain (char c, Chain &chain, Molecular_covalent_structure &structure, const Conformation_type &C) |
| Create a polynucleotide chain in this nucleic acid. | |
Traversals | |
| Polynucleotide_chains_iterator | chains_begin () |
| Starts the container of chains. | |
| Polynucleotide_chains_iterator | chains_end () |
| Ends the container of chains. | |
| Polynucleotide_chains_const_iterator | chains_begin () const |
| Starts the container of chains (const) | |
| Polynucleotide_chains_const_iterator | chains_end () const |
| Ends the container of chains (const) | |
\sbl_add_package_main_class{Nucleic_acid_representation, T_Nucleic_acid_representation, Representation of a nucleic acid with its polynucleotide chains. \details Representation of a nucleic acid with its polynucleotide chains.
| PolynucleotideChain | Representation of a polynucleotide chain (see SBL::CSB::T_Polynucleotide_chain_representation) |
}
| typedef PolynucleotideChain Polynucleotide_chain |
Representation of a single polynucleotide chain within a Nucleic Acid representation.
| ParticleTraits | Traits class providing the particle type, see package ParticleTraits |
| MolecularCovalentStructure | Graph representation of a covalent structure. |
| ConformationType | Representation of a conformation as a point in dimension D, where D is three times the number of particles in the conformation. |
| typedef Polynucleotide_chains_map::const_iterator Polynucleotide_chains_const_iterator |
Iterator over the map from chain identifiers to their representation (const)x.
| typedef Polynucleotide_chains_map::iterator Polynucleotide_chains_iterator |
Iterator over the map from chain identifiers to their representation.
| typedef std::unordered_map<char, Polynucleotide_chain> Polynucleotide_chains_map |
Map from chain identifiers to their representation.
| typedef T_Nucleic_acid_representation<PolynucleotideChain> Self |
The class itself.
|
inline |
Builds an empty nucleic acid.
|
inline |
Starts the container of chains.
|
inline |
Starts the container of chains (const)
|
inline |
Ends the container of chains.
|
inline |
Ends the container of chains (const)
|
inline |
Create a polynucleotide chain in this nucleic acid.
| c | Chain identifier |
| chain | from a Biophysical model |
| structure | Covalent structure of this nucleic acid |
| C | Geometric conformation of this nucleic acid |
|
inline |
Return the representation of the chain identified by the input character.
| c | Chain identifier |
|
inline |
Return a const representation of the chain identified by the input character.
| c | Chain identifier |
|
inline |
Return a reference to the name of this nucleic acid.
|
inline |
Return the name of this nucleic acid.
|
inline |
Return the total number of bonds in the nucleic acid.
|
inline |
Return the number of polynucleotide chains.
|
inline |
Return the number of bonds in the nucleic acid where both atoms have an associated geometric model.
|
inline |
Return the number of particles in the nucleic acid with an associated geometric model.
|
inline |
Return the total number of particles in the nucleic acid.
|
inline |
Return a const representation of the unique chain of the nucleic acid.
|
inline |
Return a const representation of the unique chain of the nucleic acid.
|
inline |
Return the total number of residues in the nucleic acid.
|
inline |
Return true iff all the chains are fully embedded.
|
inline |
Return statistics on this nucleic acid.