|
Rosetta 3.5
|
#include <CarbohydrateInfo.hh>


Public Member Functions | |
| CarbohydrateInfo () | |
| Empty constructor. More... | |
| CarbohydrateInfo (core::chemical::ResidueTypeCAP residue_type) | |
| Standard constructor. More... | |
| CarbohydrateInfo (CarbohydrateInfo const &object_to_copy) | |
| Copy constructor. More... | |
| CarbohydrateInfo & | operator= (CarbohydrateInfo const &object_to_copy) |
| ~CarbohydrateInfo () | |
| void | show (std::ostream &output=std::cout) const |
| Generate string representation of CarbohydrateInfo for debugging purposes. More... | |
| std::string | full_name () const |
| Return the full IUPAC name of the monosaccharide. More... | |
| std::string | short_name () const |
| Return the abbreviated IUPAC name of the monosaccharide (for use in polysaccharide sequences). More... | |
| std::string | base_name () const |
| Return the standard/common, non-residue, short name of the monosaccharide. More... | |
| bool | is_aldose () const |
| Return true if the monosaccharide is an aldose. More... | |
| bool | is_ketose () const |
| Return true if the monosaccharide is a ketose. More... | |
| core::uint | anomeric_carbon () const |
| Return the anomeric carbon number. More... | |
| core::Size | n_carbons () const |
| Get the number of carbons in the monosaccharide. More... | |
| bool | is_triose () const |
| Return true if the monosaccharide is a triose. More... | |
| bool | is_tetrose () const |
| Return true if the monosaccharide is a tetrose. More... | |
| bool | is_pentose () const |
| Return true if the monosaccharide is a pentose. More... | |
| bool | is_hexose () const |
| Return true if the monosaccharide is a hexose. More... | |
| bool | is_heptose () const |
| Return true if the monosaccharide is a heptose. More... | |
| char | stereochem () const |
| Get the stereochemical designation for the monosaccharide. More... | |
| bool | is_L_sugar () const |
| Return true if the monosaccharide is an L-sugar. More... | |
| bool | is_D_sugar () const |
| Return true if the monosaccharide is a D-sugar. More... | |
| core::Size | ring_size () const |
| Get the size of the carbohydrate ring. More... | |
| bool | is_acyclic () const |
| Return true if the monosaccharide is linear. More... | |
| bool | is_cyclic () const |
| Return true if the monosaccharide is a ring. More... | |
| bool | is_furanose () const |
| Return true if the monosaccharide is a furanose. More... | |
| bool | is_pyranose () const |
| Return true if the monosaccharide is a pyranose. More... | |
| bool | is_septanose () const |
| Return true if the monosaccharide is a septanose. More... | |
| std::string | anomer () const |
| Get the anomeric form for the monosaccharide. More... | |
| bool | is_alpha_sugar () const |
| Return true if the cyclic monosaccharide is an alpha sugar. More... | |
| bool | is_beta_sugar () const |
| Return true if the cyclic monosaccharide is a beta sugar. More... | |
| bool | is_glycoside () const |
| Return true if the monosaccharide is attached to something at the anomeric carbon. More... | |
| core::uint | mainchain_glycosidic_bond_acceptor () const |
| Return the attachment point of the downstream saccharide residue of the main chain. More... | |
| core::Size | n_branches () const |
| Return the number of branches off of this residue. More... | |
| core::uint | branch_point (core::uint i) const |
| Return the attachment point of the downstream saccharide residue attached to ith branch off of this residue. More... | |
| bool | has_exocyclic_linkage () const |
| Return true if the attachment point of the downstream saccharide is on an exocyclic carbon. More... | |
| bool | is_uronic_acid () const |
| Return true if the primary hydroxyl group is oxidized to the acid. More... | |
| std::pair < core::id::TorsionType, core::uint > | glycosidic_linkage_id (core::uint torsion_index) const |
| Return the BB or CHI identifier for the requested glycosidic linkage torsion angle. More... | |
| std::pair < core::id::TorsionType, core::uint > | nu_id (core::uint subscript) const |
| Return the CHI identifier for the requested nu (internal ring torsion) angle. More... | |
Static Public Attributes | |
| static std::map< std::string, std::string > const | CODE_TO_ROOT_MAP |
Private Member Functions | |
| void | init (core::chemical::ResidueTypeCAP residue_type) |
| void | copy_data (CarbohydrateInfo object_to_copy_to, CarbohydrateInfo object_to_copy_from) |
| core::Size | get_n_carbons () const |
| void | read_and_set_properties () |
| void | determine_polymer_connections () |
| void | determine_IUPAC_names () |
| std::string | root_from_code (std::string code) const |
| void | define_nu_ids () |
Private Attributes | |
| core::chemical::ResidueTypeCAP | residue_type_ |
| std::string | full_name_ |
| std::string | short_name_ |
| core::uint | anomeric_carbon_ |
| core::Size | n_carbons_ |
| char | stereochem_ |
| core::Size | ring_size_ |
| std::string | anomer_ |
| bool | is_glycoside_ |
| bool | is_uronic_acid_ |
| core::uint | mainchain_glycosidic_bond_acceptor_ |
| utility::vector1< core::uint > | branch_points_ |
| bool | has_exocyclic_linkage_ |
| utility::vector1< std::pair < core::id::TorsionType, core::uint > > | glycosidic_linkage_id_ |
| utility::vector1< std::pair < core::id::TorsionType, core::uint > > | nu_id_ |
Static Private Attributes | |
| static core::Size const | MAX_C_SIZE_LIMIT = 7 |
| static core::Size const | MIN_C_SIZE_LIMIT = 3 |
Friends | |
| std::ostream & | operator<< (std::ostream &output, CarbohydrateInfo const &object_to_output) |
Definition at line 41 of file CarbohydrateInfo.hh.
| core::chemical::carbohydrates::CarbohydrateInfo::CarbohydrateInfo | ( | ) |
| core::chemical::carbohydrates::CarbohydrateInfo::CarbohydrateInfo | ( | core::chemical::ResidueTypeCAP | residue_type) |
Standard constructor.
| <residue_type>,: | the ResidueType object containing this CarbohydrateInfo |
Definition at line 104 of file CarbohydrateInfo.cc.
References init().
| core::chemical::carbohydrates::CarbohydrateInfo::CarbohydrateInfo | ( | CarbohydrateInfo const & | object_to_copy) |
| core::chemical::carbohydrates::CarbohydrateInfo::~CarbohydrateInfo | ( | ) |
Definition at line 129 of file CarbohydrateInfo.cc.
|
inline |
Get the anomeric form for the monosaccharide.
"alpha" and "beta" designate the stereochemistry at the anomeric carbon of a cyclic sugar.
Definition at line 278 of file CarbohydrateInfo.hh.
References anomer_.
|
inline |
Return the anomeric carbon number.
For linear monosaccharides, this number corresponds to the carbon that is oxidized to the aldehyde or ketone.
Definition at line 118 of file CarbohydrateInfo.hh.
References anomeric_carbon_.
| std::string core::chemical::carbohydrates::CarbohydrateInfo::base_name | ( | ) | const |
Return the standard/common, non-residue, short name of the monosaccharide.
Definition at line 207 of file CarbohydrateInfo.cc.
References residue_type_, and root_from_code().
Referenced by show().
| core::uint core::chemical::carbohydrates::CarbohydrateInfo::branch_point | ( | core::uint | i) | const |
Return the attachment point of the downstream saccharide residue attached to ith branch off of this residue.
| <i>,: | the branch point index |
A monosaccharide with a group linked to it at one position is a distinct residue type from the same monosaccharide with the same group linked to it at another position. For example, Rosetta treats (1->4)-beta- D-glucopyranose as an entirely distinct residue type from (1->3)-beta-D-glucopyranose, with separate .params files for each.
See also:
CarbohydrateInfo.mainchain_glycosidic_bond_acceptor()
CarbohydrateInfo.n_branches()
Definition at line 226 of file CarbohydrateInfo.cc.
References branch_points_, and n_branches().
|
private |
Definition at line 328 of file CarbohydrateInfo.cc.
References anomer_, anomeric_carbon_, branch_points_, full_name_, glycosidic_linkage_id_, has_exocyclic_linkage_, is_glycoside_, is_uronic_acid_, mainchain_glycosidic_bond_acceptor_, n_carbons_, nu_id_, residue_type_, ring_size_, short_name_, and stereochem_.
Referenced by CarbohydrateInfo(), and operator=().
|
private |
Definition at line 592 of file CarbohydrateInfo.cc.
References core::id::CHI, nu_id_, residue_type_, and ring_size_.
Referenced by init().
|
private |
Definition at line 525 of file CarbohydrateInfo.cc.
References anomer_, full_name_, is_glycoside_, is_uronic_acid_, mainchain_glycosidic_bond_acceptor_, residue_type_, ring_size_, root_from_code(), short_name_, and stereochem_.
Referenced by init().
|
private |
Definition at line 460 of file CarbohydrateInfo.cc.
References anomeric_carbon_, core::id::BB, core::id::CHI, glycosidic_linkage_id_, has_exocyclic_linkage_, is_aldose(), mainchain_glycosidic_bond_acceptor_, residue_type_, and ring_size_.
Referenced by init().
|
inline |
Return the full IUPAC name of the monosaccharide.
Definition at line 72 of file CarbohydrateInfo.hh.
References full_name_.
|
private |
Definition at line 351 of file CarbohydrateInfo.cc.
References MAX_C_SIZE_LIMIT, MIN_C_SIZE_LIMIT, and residue_type_.
Referenced by init().
| std::pair< core::id::TorsionType, core::uint > core::chemical::carbohydrates::CarbohydrateInfo::glycosidic_linkage_id | ( | core::uint | torsion_index) | const |
Return the BB or CHI identifier for the requested glycosidic linkage torsion angle.
| <torsion_index>,: | an integer corresponding to phi (1), psi (2), or omega (3) |
It is crucial to note that this data structure stores information to identify:
phi(n)
psi(n+1), NOT psi(n)
omega(n+1), NOT omega(n)
See Also:
Pose.phi()
Pose.set_phi()
Pose.psi()
Pose.set_psi()
Pose.omega()
Pose.set_omega()
Definition at line 283 of file CarbohydrateInfo.cc.
References glycosidic_linkage_id_, and has_exocyclic_linkage_.
|
inline |
Return true if the attachment point of the downstream saccharide is on an exocyclic carbon.
Definition at line 354 of file CarbohydrateInfo.hh.
References has_exocyclic_linkage_.
|
private |
Definition at line 301 of file CarbohydrateInfo.cc.
References anomer_, anomeric_carbon_, define_nu_ids(), determine_IUPAC_names(), determine_polymer_connections(), get_n_carbons(), is_glycoside_, is_uronic_acid_, n_carbons_, read_and_set_properties(), residue_type_, ring_size_, and stereochem_.
Referenced by CarbohydrateInfo().
|
inline |
Return true if the monosaccharide is linear.
Definition at line 224 of file CarbohydrateInfo.hh.
References ring_size_.
Referenced by is_cyclic().
|
inline |
Return true if the monosaccharide is an aldose.
An aldose sugar is an aldehyde derivative.
Definition at line 91 of file CarbohydrateInfo.hh.
References anomeric_carbon_.
Referenced by determine_polymer_connections(), and show().
|
inline |
Return true if the cyclic monosaccharide is an alpha sugar.
"alpha" and "beta" designate the stereochemistry at the anomeric carbon of a cyclic sugar.
Definition at line 286 of file CarbohydrateInfo.hh.
References anomer_.
|
inline |
Return true if the cyclic monosaccharide is a beta sugar.
"alpha" and "beta" designate the stereochemistry at the anomeric carbon of a cyclic sugar.
Definition at line 297 of file CarbohydrateInfo.hh.
References anomer_.
|
inline |
Return true if the monosaccharide is a ring.
Definition at line 234 of file CarbohydrateInfo.hh.
References is_acyclic().
|
inline |
Return true if the monosaccharide is a D-sugar.
Definition at line 204 of file CarbohydrateInfo.hh.
References stereochem_.
|
inline |
Return true if the monosaccharide is a furanose.
A furanose has a five-membered ring (like furan).
Definition at line 242 of file CarbohydrateInfo.hh.
References ring_size_.
|
inline |
Return true if the monosaccharide is attached to something at the anomeric carbon.
Definition at line 310 of file CarbohydrateInfo.hh.
References is_glycoside_.
|
inline |
Return true if the monosaccharide is a heptose.
Definition at line 174 of file CarbohydrateInfo.hh.
References n_carbons_.
|
inline |
Return true if the monosaccharide is a hexose.
Definition at line 164 of file CarbohydrateInfo.hh.
References n_carbons_.
|
inline |
Return true if the monosaccharide is a ketose.
A ketose sugar is a ketone derivative.
Does not distinguish between 2-ketoses (uloses) and 3-ketoses.
See also:
CarbohydrateInfo.anomeric_carbon()
Definition at line 106 of file CarbohydrateInfo.hh.
References anomeric_carbon_.
|
inline |
Return true if the monosaccharide is an L-sugar.
Definition at line 194 of file CarbohydrateInfo.hh.
References stereochem_.
|
inline |
Return true if the monosaccharide is a pentose.
Definition at line 154 of file CarbohydrateInfo.hh.
References n_carbons_.
|
inline |
Return true if the monosaccharide is a pyranose.
A pyranose has a six-membered ring (like pyran).
Definition at line 253 of file CarbohydrateInfo.hh.
References ring_size_.
|
inline |
Return true if the monosaccharide is a septanose.
A septanose has a seven-membered ring.
Definition at line 264 of file CarbohydrateInfo.hh.
References ring_size_.
|
inline |
Return true if the monosaccharide is a tetrose.
Definition at line 144 of file CarbohydrateInfo.hh.
References n_carbons_.
|
inline |
Return true if the monosaccharide is a triose.
Definition at line 134 of file CarbohydrateInfo.hh.
References n_carbons_.
|
inline |
Return true if the primary hydroxyl group is oxidized to the acid.
Definition at line 365 of file CarbohydrateInfo.hh.
References is_uronic_acid_.
|
inline |
Return the attachment point of the downstream saccharide residue of the main chain.
A monosaccharide with a group linked to it at one position is a distinct residue type from the same monosaccharide with the same group linked to it at another position. For example, Rosetta treats (1->4)-beta- D-glucopyranose as an entirely distinct residue type from (1->3)-beta-D-glucopyranose, with separate .params files for each.
See also:
CarbohydrateInfo.n_branches()
CarbohydrateInfo.branch_point()
Definition at line 327 of file CarbohydrateInfo.hh.
References mainchain_glycosidic_bond_acceptor_.
|
inline |
Return the number of branches off of this residue.
A monosaccharide with a group linked to it at one position is a distinct residue type from the same monosaccharide with the same group linked to it at another position. For example, Rosetta treats (1->4)-beta- D-glucopyranose as an entirely distinct residue type from (1->3)-beta-D-glucopyranose, with separate .params files for each.
See also:
CarbohydrateInfo.mainchain_glycosidic_bond_acceptor()
CarbohydrateInfo.branch_point()
Definition at line 343 of file CarbohydrateInfo.hh.
References branch_points_.
Referenced by branch_point().
|
inline |
Get the number of carbons in the monosaccharide.
Definition at line 127 of file CarbohydrateInfo.hh.
References n_carbons_.
| std::pair< core::id::TorsionType, core::uint > core::chemical::carbohydrates::CarbohydrateInfo::nu_id | ( | core::uint | subscript) | const |
Return the CHI identifier for the requested nu (internal ring torsion) angle.
| <subscript>,: | the subscript for nu, which must be between 1 and 2 less than the ring size, inclusive |
Definition at line 248 of file CarbohydrateInfo.cc.
References nu_id_, and ring_size_.
| CarbohydrateInfo & core::chemical::carbohydrates::CarbohydrateInfo::operator= | ( | CarbohydrateInfo const & | object_to_copy) |
Definition at line 117 of file CarbohydrateInfo.cc.
References copy_data().
|
private |
Definition at line 369 of file CarbohydrateInfo.cc.
References anomer_, anomeric_carbon_, is_uronic_acid_, residue_type_, ring_size_, and stereochem_.
Referenced by init().
|
inline |
Get the size of the carbohydrate ring.
A linear monosaccharide has a ring size of zero.
Definition at line 217 of file CarbohydrateInfo.hh.
References ring_size_.
|
inlineprivate |
Definition at line 400 of file CarbohydrateInfo.hh.
References CODE_TO_ROOT_MAP.
Referenced by base_name(), and determine_IUPAC_names().
|
inline |
Return the abbreviated IUPAC name of the monosaccharide (for use in polysaccharide sequences).
Definition at line 79 of file CarbohydrateInfo.hh.
References short_name_.
| void core::chemical::carbohydrates::CarbohydrateInfo::show | ( | std::ostream & | output = std::cout) | const |
Generate string representation of CarbohydrateInfo for debugging purposes.
Definition at line 135 of file CarbohydrateInfo.cc.
References anomer_, anomeric_carbon_, base_name(), full_name_, is_aldose(), is_uronic_acid_, mainchain_glycosidic_bond_acceptor_, n_carbons_, ring_size_, and stereochem_.
Referenced by core::chemical::carbohydrates::operator<<().
|
inline |
Get the stereochemical designation for the monosaccharide.
Definition at line 187 of file CarbohydrateInfo.hh.
References stereochem_.
|
friend |
Definition at line 617 of file CarbohydrateInfo.cc.
|
private |
Definition at line 416 of file CarbohydrateInfo.hh.
Referenced by anomer(), copy_data(), determine_IUPAC_names(), init(), is_alpha_sugar(), is_beta_sugar(), read_and_set_properties(), and show().
|
private |
Definition at line 412 of file CarbohydrateInfo.hh.
Referenced by anomeric_carbon(), copy_data(), determine_polymer_connections(), init(), is_aldose(), is_ketose(), read_and_set_properties(), and show().
|
private |
Definition at line 422 of file CarbohydrateInfo.hh.
Referenced by branch_point(), copy_data(), and n_branches().
|
static |
Definition at line 440 of file CarbohydrateInfo.hh.
Referenced by root_from_code().
|
private |
Definition at line 410 of file CarbohydrateInfo.hh.
Referenced by copy_data(), determine_IUPAC_names(), full_name(), and show().
|
private |
Definition at line 430 of file CarbohydrateInfo.hh.
Referenced by copy_data(), determine_polymer_connections(), and glycosidic_linkage_id().
|
private |
Definition at line 423 of file CarbohydrateInfo.hh.
Referenced by copy_data(), determine_polymer_connections(), glycosidic_linkage_id(), and has_exocyclic_linkage().
|
private |
Definition at line 417 of file CarbohydrateInfo.hh.
Referenced by copy_data(), determine_IUPAC_names(), init(), and is_glycoside().
|
private |
Definition at line 418 of file CarbohydrateInfo.hh.
Referenced by copy_data(), determine_IUPAC_names(), init(), is_uronic_acid(), read_and_set_properties(), and show().
|
private |
Definition at line 421 of file CarbohydrateInfo.hh.
Referenced by copy_data(), determine_IUPAC_names(), determine_polymer_connections(), mainchain_glycosidic_bond_acceptor(), and show().
|
staticprivate |
Definition at line 436 of file CarbohydrateInfo.hh.
Referenced by get_n_carbons().
|
staticprivate |
Definition at line 437 of file CarbohydrateInfo.hh.
Referenced by get_n_carbons().
|
private |
Definition at line 413 of file CarbohydrateInfo.hh.
Referenced by copy_data(), init(), is_heptose(), is_hexose(), is_pentose(), is_tetrose(), is_triose(), n_carbons(), and show().
|
private |
Definition at line 433 of file CarbohydrateInfo.hh.
Referenced by copy_data(), define_nu_ids(), and nu_id().
|
private |
Definition at line 409 of file CarbohydrateInfo.hh.
Referenced by base_name(), copy_data(), define_nu_ids(), determine_IUPAC_names(), determine_polymer_connections(), get_n_carbons(), init(), and read_and_set_properties().
|
private |
Definition at line 415 of file CarbohydrateInfo.hh.
Referenced by copy_data(), define_nu_ids(), determine_IUPAC_names(), determine_polymer_connections(), init(), is_acyclic(), is_furanose(), is_pyranose(), is_septanose(), nu_id(), read_and_set_properties(), ring_size(), and show().
|
private |
Definition at line 411 of file CarbohydrateInfo.hh.
Referenced by copy_data(), determine_IUPAC_names(), and short_name().
|
private |
Definition at line 414 of file CarbohydrateInfo.hh.
Referenced by copy_data(), determine_IUPAC_names(), init(), is_D_sugar(), is_L_sugar(), read_and_set_properties(), show(), and stereochem().
1.8.4