carbohydrates

Bindings for core::io::carbohydrates namespace

pyrosetta.rosetta.core.io.carbohydrates.chain_gws_string(pose: pyrosetta.rosetta.core.pose.Pose, chain_id: int) str

Return a GWS-formatted string for the given carbohydrate chain, including branches.

C++: core::io::carbohydrates::chain_gws_string(const class core::pose::Pose &, const unsigned long) –> std::string

pyrosetta.rosetta.core.io.carbohydrates.char_to_int(char_in: str) int

Given a char, parse it as an integer.

Returns 0 for anything outside of the range 1-9.

Vikram K. Mulligan (vmullig.edu).

C++: core::io::carbohydrates::char_to_int(const char) –> unsigned long

pyrosetta.rosetta.core.io.carbohydrates.dump_gws(pose: pyrosetta.rosetta.core.pose.Pose, filename: str) None

Write the GlycoWorkbench structure file for all carbohydrate chains of the given pose to <filename>.

C++: core::io::carbohydrates::dump_gws(const class core::pose::Pose &, const std::string &) –> void

pyrosetta.rosetta.core.io.carbohydrates.dump_gws_chain(pose: pyrosetta.rosetta.core.pose.Pose, chain_id: int, filename: str) None

Write the GlycoWorkbench structure file for the given pose chain to <filename>.

C++: core::io::carbohydrates::dump_gws_chain(const class core::pose::Pose &, const unsigned long, const std::string &) –> void

pyrosetta.rosetta.core.io.carbohydrates.residue_gws_string(pose: pyrosetta.rosetta.core.pose.Pose, seqpos: int) str

Return a GWS-formatted string for the given carbohydrate residue.

C++: core::io::carbohydrates::residue_gws_string(const class core::pose::Pose &, const unsigned long) –> std::string

pyrosetta.rosetta.core.io.carbohydrates.residue_range_gws_string(pose: pyrosetta.rosetta.core.pose.Pose, begin: int, end: int) str

Return a GWS-formatted string for each carbohydrate residue in the given sequence range, including branches.

C++: core::io::carbohydrates::residue_range_gws_string(const class core::pose::Pose &, const unsigned long, const unsigned long) –> std::string

pyrosetta.rosetta.core.io.carbohydrates.sugar_modifications_from_suffix(suffix: str) pyrosetta.rosetta.utility.vector1_std_pair_unsigned_long_std_string_t

Parse sugar code suffixes to extract a list of sugar modifications with their corresponding positions.

C++: core::io::carbohydrates::sugar_modifications_from_suffix(const std::string &) –> class utility::vector1<struct std::pair<unsigned long, std::string >, class std::allocator<struct std::pair<unsigned long, std::string > > >