![]() |
Rosetta Core
2014.16.56682
|
Namespaces | |
| membrane | |
| orbitals | |
| RotamerSetCacheableDataType | |
| signals | |
| symmetry | |
Classes | |
| class | AbstractRotamerTrie |
| struct | AddEdgeVisitor |
| class | Atom |
| A simple object with atom's position and its chemical type. More... | |
| class | AtomGraphEdgeData |
| class | AtomGraphVertexData |
| class | Conformation |
| A container of Residues and the kinematics to manage them. More... | |
| class | ConformationKinWriter |
| struct | DefaultCubeHash |
| uses default boost::hash combine to hash Cubes More... | |
| class | ExactResidueMatcher |
| class | PointGraphEdgeData |
| class | PointGraphVertexData |
| class | PseudoBond |
| class | PseudoBondCollection |
| class | Residue |
| Instance Residue class, used for placed residues and rotamers. More... | |
| class | ResidueFactory |
| a collection of functions making a single residue More... | |
| class | ResidueKinWriter |
| class | ResidueMatcher |
| class | RotamerSetBase |
| class | UltraLightResidue |
| class | WatsonCrickResidueMatcher |
Enumerations | |
| enum | Strategy { NAIVE, AUTOMATIC, OCTREE, THREEDGRID, STRIPEHASH } |
Functions | |
| std::ostream & | operator<< (std::ostream &os, Atom const &atom) |
| void | atom_graph_from_conformation (Conformation const &conformation, AtomGraphOP atom_graph) |
| platform::Size | annotated_atom_graph_from_conformation (Conformation const &conformation, AtomGraphOP pg, PointPosition const &additional_point) |
| create a pointgraph which consists of 1 node for every atom, plus 1 additional node which will be added as the last node. The index of the additional node is returned More... | |
| std::ostream & | operator<< (std::ostream &os, Conformation const &conf) |
| template<class Vertex , class Edge > | |
| void | find_neighbors_naive (utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > point_graph, core::Real neighbor_cutoff) |
| template<class Vertex , class Edge > | |
| void | find_neighbors_octree (utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > point_graph, core::Real neighbor_cutoff, Strategy strategy) |
| Finds the residue neighbors efficiently using an octree-like spatial sort. More... | |
| template<class Vertex , class Edge > | |
| void | find_neighbors_3dgrid (utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > point_graph, core::Real neighbor_cutoff) |
| Create a 3D grid of points. O(N^3). For "spherical" conformations, Theta(N). Speeds neighbor detection in abinitio by a factor of 2. Definition: Spherical = span of x,y and z all O(N**1/3). Note circularity. Adendum: if the 3D grid used a list of point indices instead of a vector, then this would be Theta(N) for spherical conformations; however, with a vector, this is O(NlgN). With the additional assumption that each cube contains O(1) points, then this implementation is O(N). Such an assumption is unneccessary in the list implementation. More... | |
| template<class Vertex , class Edge > | |
| void | find_neighbors_naive_restricted (utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > point_graph, core::Real neighbor_cutoff, utility::vector1< bool > const &residue_selection) |
| template<class Vertex , class Edge > | |
| void | find_neighbors_octree_restricted (utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > point_graph, core::Real neighbor_cutoff, utility::vector1< bool > const &residue_selection, Strategy strategy) |
| Finds the residue neighbors efficiently using an octree-like spatial sort. More... | |
| template<class Vertex , class Edge > | |
| void | find_neighbors_3dgrid_restricted (utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > point_graph, core::Real neighbor_cutoff, utility::vector1< bool > const &residue_selection) |
| Create a 3D grid of points. O(N^3). For "spherical" conformations, Theta(N). Speeds neighbor detection in abinitio by a factor of 2. Definition: Spherical = span of x,y and z all O(N**1/3). Note circularity. Adendum: if the 3D grid used a list of point indices instead of a vector, then this would be Theta(N) for spherical conformations; however, with a vector, this is O(NlgN). With the additional assumption that each cube contains O(1) points, then this implementation is O(N). Such an assumption is unneccessary in the list implementation. More... | |
| template<class Vertex , class Edge > | |
| core::Size | get_nearest_neighbor (utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > point_graph, core::Size node_id, core::Real neighbor_cutoff, Strategy strategy=AUTOMATIC) |
| template<class Vertex , class Edge > | |
| void | find_neighbors (utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > point_graph, core::Real neighbor_cutoff, Strategy strategy=AUTOMATIC) |
| template<class Vertex , class Edge > | |
| void | find_neighbors_stripe (utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > point_graph, core::Real neighbor_cutoff) |
| template<class Vertex , class Edge > | |
| void | find_neighbors_restricted (utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > point_graph, core::Real neighbor_cutoff, utility::vector1< bool > const &residue_selection, Strategy strategy=AUTOMATIC) |
| template<class Vertex , class Edge > | |
| void | find_neighbors_naive_surface (utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > point_graph, core::Real neighbor_cutoff, utility::vector1< std::pair< Size, Size > > const &non_surface_ranges, utility::vector1< bool > const &is_surface) |
| void | residue_point_graph_from_conformation (Conformation const &conformation, PointGraph &pg) |
| std::ostream & | operator<< (std::ostream &os, Residue const &res) |
| void | idealize_hydrogens (Residue &res, Conformation const &conf) |
| void | set_chi_according_to_coordinates (conformation::Residue &rotamer) |
| rotamer chi-update from coords useful for building rotamers from coordinates More... | |
| void | write_kinemage_header (std::ostream &ostr, Size const kin_number, std::string const &title, Vector const &ctr) |
| void | print_node (std::ostream &out, int residue_num, int atom_num, core::Vector const &atom_xyz, core::chemical::ResidueType const &res, std::string extras="") |
| TWO FUNCTIONS STOLEN FROM IAN: and slightly modified. More... | |
| void | print_node (std::ostream &out, int residue_num, int atom_num, core::conformation::Residue const &res, std::string extras="") |
| void | print_node (std::ostream &out, int residue_num, std::string atom_name, core::conformation::Residue const &res, std::string extras="") |
| void | orient_residue_for_ideal_bond (Residue &moving_rsd, chemical::ResidueConnection const &moving_connection, Residue const &fixed_rsd, chemical::ResidueConnection const &fixed_connection, Conformation const &conformation, bool lookup_bond_length) |
| void | insert_ideal_mainchain_bonds (Size const seqpos, Conformation &conformation) |
| void | insert_ideal_bonds_at_polymer_junction (Size const seqpos, Conformation &conformation) |
| Sets the two bond angles and the bond length across the junction, rebuilds dependent atoms (eg O,H) More... | |
| void | idealize_position (Size const seqpos, Conformation &conformation) |
| Idealize backbone and sidechain at seqpos. More... | |
| bool | is_ideal_position (Size const seqpos, Conformation const &conformation, Real theta_epsilon=0.005,Real D_epsilon=0.02) |
| Return true if position contains an ideal geometry up to some epsilon. More... | |
| void | copy_residue_coordinates_and_rebuild_missing_atoms (Residue const &source_rsd, Residue &target_rsd, Conformation const &conf) |
| Fills coords of target_rsd with coords from source_rsd of same atom_name, rebuilds others. More... | |
| std::ostream & | print_atom (id::AtomID const &id, Conformation const &conf, std::ostream &os) |
| void | show_atom_tree (kinematics::tree::Atom const &atom, Conformation const &conf, std::ostream &os) |
| void | replace_conformation_residue_copying_existing_coordinates (conformation::Conformation &conformation, Size const seqpos, chemical::ResidueType const &new_rsd_type) |
| void | add_variant_type_to_conformation_residue (conformation::Conformation &conformation, chemical::VariantType const &variant_type, Size const seqpos) |
| construct a variant of an existing pose residue More... | |
| void | remove_variant_type_from_conformation_residue (conformation::Conformation &conformation, chemical::VariantType const &variant_type, Size const seqpos) |
| construct a non-variant of an existing pose residue More... | |
| void | add_lower_terminus_type_to_conformation_residue (conformation::Conformation &conformation, Size const seqpos) |
| void | remove_lower_terminus_type_from_conformation_residue (conformation::Conformation &conformation, Size const seqpos) |
| void | add_upper_terminus_type_to_conformation_residue (conformation::Conformation &conformation, Size const seqpos) |
| void | remove_upper_terminus_type_from_conformation_residue (conformation::Conformation &conformation, Size const seqpos) |
| void | build_tree (kinematics::FoldTree const &fold_tree, conformation::ResidueCAPs const &residues, kinematics::AtomPointer2D &atom_pointer) |
| void | build_jump_edge (kinematics::Edge const &edge, conformation::ResidueCAPs const &residues, kinematics::AtomPointer2D &atom_pointer) |
| build a sub atom-tree for a jump edge and attach it to main atom-tree More... | |
| void | build_polymer_edge (kinematics::Edge const &edge, conformation::ResidueCAPs const &residues, kinematics::AtomPointer2D &atom_pointer) |
| build a sub atom-tree for a polymer edge and attach it to main atom-tree More... | |
| void | build_chemical_edge (kinematics::Edge const &edge, conformation::ResidueCAPs const &residues, kinematics::AtomPointer2D &atom_pointer) |
| build a sub atom-tree for a chemical edge and attach it to main atom-tree More... | |
| int | get_root_atomno (conformation::Residue const &rsd, int const dir) |
| get the root atom for building residue atom-tree given the folding direction "dir" More... | |
| Size | get_root_residue_root_atomno (conformation::Residue const &rsd, kinematics::FoldTree const &fold_tree) |
| void | build_residue_tree (conformation::ResidueCAPs const &residues, conformation::Residue const &rsd, kinematics::FoldTree const &fold_tree, kinematics::AtomPointer1D &atom_ptr) |
| build_residue_tree function that uses the foldtree info More... | |
| bool | check_good_neighbor (Size const &atom_index, utility::vector1< Size > const &cut_nbrs) |
| Check if this atom neighbor has been black-listed ("CUT_BOND" in params file). More... | |
| bool | chi_continuation (Size const atom1, Size const atom2, utility::vector1< utility::vector1< Size > > const &chi_atoms) |
| is atom2 the last atom of our chi angle ? More... | |
| bool | chi_interruption (Size const atom1, Size const atom2, utility::vector1< utility::vector1< Size > > const &chi_atoms, utility::vector1< bool > const &is_done) |
| would we be breaking into a chi angle by adding atom2 to the tree now? More... | |
| void | setup_links_simple (conformation::Residue const &rsd, kinematics::Links &links) |
| simply fill the "links" by adding, for each atom, its bonded neighbors More... | |
| void | setup_atom_links (int const atom1, kinematics::Links const &full_links, utility::vector1< bool > &is_done, utility::vector1< bool > const &is_mainchain, utility::vector1< bool > const &is_chi, utility::vector1< bool > const &is_hydrogen, utility::vector1< utility::vector1< Size > > const &chi_atoms, kinematics::Links &new_links) |
| set correct order for how atoms are linked to each other. More... | |
| void | setup_links (conformation::Residue const &rsd, int const root_atomno, kinematics::Links &links) |
| given the root_atomno, set up rules for how other atoms are linked for this residue a wrapper function calling setup_atom_links recursively . More... | |
| void | build_residue_tree (int const root_atomno, conformation::Residue const &rsd, kinematics::AtomPointer1D &atom_ptr, bool const root_is_jump_atom) |
| set up a local atom-tree for a residue from the defined root atom. More... | |
| void | get_residue_connections (conformation::Residue const &new_rsd, kinematics::FoldTree const &fold_tree, conformation::ResidueCAPs const &residues, id::BondID &new_rsd_in, utility::vector1< id::BondID > &new_rsd_out) |
| void | replace_residue_in_atom_tree (conformation::Residue const &new_rsd, kinematics::FoldTree const &fold_tree, conformation::ResidueCAPs const &residues, kinematics::AtomTree &atom_tree) |
| Helper function for conformation routines. More... | |
| void | insert_residue_into_atom_tree (conformation::Residue const &new_rsd, kinematics::FoldTree const &fold_tree, conformation::ResidueCAPs const &residues, kinematics::AtomTree &atom_tree) |
| Inserts/ appends new residue subtree into an existing atomtree. More... | |
| int | get_anchor_atomno (conformation::Residue const &anchor_rsd, Size const seqpos, kinematics::FoldTree const &fold_tree) |
| Get the atom-index of the atom to which the residue at position seqpos should be anchored. More... | |
| int | get_anchor_atomno (conformation::Residue const &rsd, int const dir) |
| get anchor atom to which the atom-tree of next residue in the edge is attached. More... | |
| void | get_anchor_and_root_atoms (conformation::Residue const &anchor_rsd, conformation::Residue const &root_rsd, kinematics::Edge const &edge, Size &anchor_atomno, Size &root_atomno) |
| Use this routine to deduce atom indices of connect atoms in the tree. More... | |
| void | promote_sameresidue_child_of_jump_atom (kinematics::Edge const &edge, conformation::ResidueCAPs const &residues, kinematics::AtomTree &atom_tree) |
| Moves the first same-residue child of the jump atom corresponding to edge into first place in the child list. More... | |
| void | promote_sameresidue_child_of_jump_atom (kinematics::Edge const &edge, conformation::ResidueCAPs const &residues, kinematics::AtomPointer2D const &atom_pointer) |
| Moves the first same-residue child of the jump atom corresponding to edge into first place in the child list. More... | |
| void | get_chemical_root_and_anchor_atomnos (conformation::Residue const &rsd_anchor, conformation::Residue const &rsd_root, Size &anchor_atom_no, Size &root_atom_no) |
| void | setup_corresponding_atoms (id::AtomID_Map< id::AtomID > &atom_map, conformation::Residue const &rsd1, conformation::Residue const &rsd2) |
| set up a map to match mainchain atoms from residue1 to residue2 More... | |
| bool | change_cys_state (Size const index, std::string cys_type_name3, Conformation &conf) |
| Replace a CYS with a CYD or vice-versa for changing disulfide bonds. More... | |
| id::NamedAtomID | atom_id_to_named_atom_id (id::AtomID const &atom_id, conformation::Residue const &rsd) |
| id::AtomID | named_atom_id_to_atom_id (id::NamedAtomID const &named_atom_id, conformation::Residue const &rsd) |
| id::NamedStubID | stub_id_to_named_stub_id (id::StubID const &stub_id, conformation::Residue const &rsd) |
| id::StubID | named_stub_id_to_stub_id (id::NamedStubID const &named_stub_id, conformation::Residue const &rsd) |
| void | form_disulfide (Conformation &conformation, Size lower_res, Size upper_res) |
| Introduce cysteines at the specified location and define a disulfide bond between them. More... | |
| bool | is_disulfide_bond (conformation::Conformation const &conformation, Size residueA_pos, Size residueB_pos) |
| Find whether there is a disulfide defined between two residues. More... | |
| void | disulfide_bonds (conformation::Conformation const &conformation, utility::vector1< std::pair< Size, Size > > &disulfides) |
| Generate a list of all disulfide bonds in the conformation. More... | |
| char | get_torsion_bin (core::Real phi, core::Real psi, core::Real omega) |
| void | disulfide_bonds (core::conformation::Conformation const &conformation, utility::vector1< std::pair< core::Size, core::Size > > &disulfides) |
| Generate a list of all disulfide bonds in the conformation. More... | |
Variables | |
| static basic::Tracer | TR ("core.conformation.Residue") |
| typedef utility::pointer::owning_ptr< AbstractRotamerTrie const > core::conformation::AbstractRotamerTrieCOP |
| typedef utility::pointer::owning_ptr< AbstractRotamerTrie > core::conformation::AbstractRotamerTrieOP |
| typedef utility::pointer::owning_ptr< ConformationKinWriter const > core::conformation::ConformationKinWriterCOP |
| typedef utility::pointer::owning_ptr< ConformationKinWriter > core::conformation::ConformationKinWriterOP |
| typedef graph::UpperEdgeGraph< PointGraphVertexData, PointGraphEdgeData > core::conformation::PointGraph |
| typedef utility::pointer::owning_ptr< PseudoBondCollection const > core::conformation::PseudoBondCollectionCOP |
| typedef utility::pointer::owning_ptr< PseudoBondCollection > core::conformation::PseudoBondCollectionOP |
| typedef utility::pointer::owning_ptr< ResidueKinWriter const > core::conformation::ResidueKinWriterCOP |
| void core::conformation::add_lower_terminus_type_to_conformation_residue | ( | conformation::Conformation & | conformation, |
| Size const | seqpos | ||
| ) |
References add_variant_type_to_conformation_residue(), and core::chemical::LOWER_TERMINUS.
| void core::conformation::add_upper_terminus_type_to_conformation_residue | ( | conformation::Conformation & | conformation, |
| Size const | seqpos | ||
| ) |
References add_variant_type_to_conformation_residue(), and core::chemical::UPPER_TERMINUS.
| void core::conformation::add_variant_type_to_conformation_residue | ( | conformation::Conformation & | conformation, |
| chemical::VariantType const & | variant_type, | ||
| Size const | seqpos | ||
| ) |
construct a variant of an existing pose residue
eg make a terminus variant, and replace the orignal in pose.
References replace_conformation_residue_copying_existing_coordinates(), and core::conformation::Conformation::residue().
Referenced by add_lower_terminus_type_to_conformation_residue(), and add_upper_terminus_type_to_conformation_residue().
| platform::Size core::conformation::annotated_atom_graph_from_conformation | ( | Conformation const & | conformation, |
| AtomGraphOP | atom_graph, | ||
| PointPosition const & | additional_point | ||
| ) |
create a pointgraph which consists of 1 node for every atom, plus 1 additional node which will be added as the last node. The index of the additional node is returned
References core::conformation::AtomGraphVertexData::atom_name(), core::chemical::ResidueType::natoms(), core::pose::num_atoms(), core::conformation::Conformation::residue(), core::conformation::AtomGraphVertexData::residue_id(), core::conformation::Conformation::residue_type(), core::conformation::Conformation::size(), and core::conformation::PointGraphVertexData::xyz().
| void core::conformation::atom_graph_from_conformation | ( | Conformation const & | conformation, |
| AtomGraphOP | atom_graph | ||
| ) |
References core::conformation::AtomGraphVertexData::atom_name(), core::conformation::AtomGraphVertexData::atom_radius_squared(), core::chemical::ResidueType::natoms(), core::pose::num_atoms(), core::conformation::Conformation::residue(), core::conformation::Conformation::residue_type(), core::conformation::Conformation::size(), and core::conformation::PointGraphVertexData::xyz().
| id::NamedAtomID core::conformation::atom_id_to_named_atom_id | ( | id::AtomID const & | atom_id, |
| conformation::Residue const & | rsd | ||
| ) |
References core::conformation::Residue::atom_name(), core::id::AtomID::atomno(), core::conformation::Residue::atoms(), core::id::AtomID::rsd(), and TR.
Referenced by core::conformation::Conformation::append_residue_by_bond(), core::scoring::constraints::AngleConstraint::remapped_clone(), core::scoring::constraints::CoordinateConstraint::remapped_clone(), core::scoring::constraints::AtomPairConstraint::remapped_clone(), core::scoring::constraints::AmbiguousNMRDistanceConstraint::remapped_clone(), core::scoring::constraints::DihedralConstraint::show_def(), core::scoring::constraints::AngleConstraint::show_def(), core::scoring::constraints::AtomPairConstraint::show_def(), and stub_id_to_named_stub_id().
| void core::conformation::build_chemical_edge | ( | kinematics::Edge const & | edge, |
| conformation::ResidueCAPs const & | residues, | ||
| kinematics::AtomPointer2D & | atom_pointer | ||
| ) |
build a sub atom-tree for a chemical edge and attach it to main atom-tree
assumes that the start residue of edge has already been built. Traverse the chemical edge residue by residue and after building sub atom-tree for this residue, attaches the edge's subtree to the anchor_atom in the previous residue.
References build_residue_tree(), get_anchor_and_root_atoms(), core::kinematics::Edge::start(), and core::kinematics::Edge::stop().
Referenced by build_tree().
| void core::conformation::build_jump_edge | ( | kinematics::Edge const & | edge, |
| conformation::ResidueCAPs const & | residues, | ||
| kinematics::AtomPointer2D & | atom_pointer | ||
| ) |
build a sub atom-tree for a jump edge and attach it to main atom-tree
root_atomno is the root for the sub atom-tree of this edge. anchor_atomno is the entry point of this sub atom-tree into the main atom-tree.
References build_residue_tree(), get_anchor_and_root_atoms(), core::kinematics::Edge::is_jump(), core::kinematics::Edge::start(), and core::kinematics::Edge::stop().
Referenced by build_tree().
| void core::conformation::build_polymer_edge | ( | kinematics::Edge const & | edge, |
| conformation::ResidueCAPs const & | residues, | ||
| kinematics::AtomPointer2D & | atom_pointer | ||
| ) |
build a sub atom-tree for a polymer edge and attach it to main atom-tree
assumes that the start residue of edge has already been built. Traverse the polymer edge residue by residue and after building sub atom-tree for this residue, attaches the edge's subtree to the anchor_atom in the previous residue.
References build_residue_tree(), get_anchor_and_root_atoms(), core::kinematics::Edge::polymer_direction(), start, core::kinematics::Edge::start(), and core::kinematics::Edge::stop().
Referenced by build_tree().
| void core::conformation::build_residue_tree | ( | conformation::ResidueCAPs const & | residues, |
| conformation::Residue const & | rsd, | ||
| kinematics::FoldTree const & | fold_tree, | ||
| kinematics::AtomPointer1D & | atom_ptr | ||
| ) |
build_residue_tree function that uses the foldtree info
A wrapper function to build an atom-tree for a residue. Uses information from the foldtree to find the proper root atom if it is not defined, and determine the direction in which to build the residue. The goal of this function is to allow the Conformation to rebuild parts of the AtomTree in a way that is compatible with what would be built if we erased the entire atomtree and rebuilt it using the foldtree. Also used to build the atomtree for the root residue when we are building the atomtree from scratch.
also used in build_tree to build the residue tree for the root residue
References core::conformation::Residue::atom_index(), core::kinematics::dir_jump, get_anchor_and_root_atoms(), core::kinematics::FoldTree::get_residue_edge(), get_root_atomno(), get_root_residue_root_atomno(), core::kinematics::FoldTree::root(), and core::conformation::Residue::seqpos().
Referenced by build_chemical_edge(), build_jump_edge(), build_polymer_edge(), build_tree(), core::conformation::Conformation::fill_missing_atoms(), replace_residue_in_atom_tree(), and core::pack::scmin::ResidueAtomTreeCollection::ResidueAtomTreeCollection().
| void core::conformation::build_residue_tree | ( | int const | root_atomno, |
| conformation::Residue const & | rsd, | ||
| kinematics::AtomPointer1D & | atom_ptr, | ||
| bool const | root_is_jump_atom | ||
| ) |
set up a local atom-tree for a residue from the defined root atom.
build the tree of atoms for this residue, anchored at root_atomno
References core::kinematics::add_atom(), core::conformation::Residue::atom(), core::conformation::Residue::natoms(), core::conformation::Residue::seqpos(), setup_links(), and core::conformation::Atom::xyz().
| void core::conformation::build_tree | ( | kinematics::FoldTree const & | fold_tree, |
| conformation::ResidueCAPs const & | residues, | ||
| kinematics::AtomPointer2D & | atom_pointer | ||
| ) |
Build an atom-tree from a fold-tree and a set of residues atoms in the tree are allocated with new (on the heap) and held in owning pointers in atom_pointer
References core::kinematics::FoldTree::begin(), build_chemical_edge(), build_jump_edge(), build_polymer_edge(), build_residue_tree(), core::kinematics::Edge::CHEMICAL, core::id::AtomID_Map< T >::clear(), core::kinematics::FoldTree::end(), core::kinematics::Edge::PEPTIDE, promote_sameresidue_child_of_jump_atom(), core::id::AtomID_Map< T >::resize(), core::kinematics::FoldTree::root(), and utility_exit.
Referenced by core::conformation::Conformation::setup_atom_tree().
| bool core::conformation::change_cys_state | ( | Size const | index, |
| std::string | cys_type_name3, | ||
| Conformation & | conf | ||
| ) |
Replace a CYS with a CYD or vice-versa for changing disulfide bonds.
| [in] | index | Position of the residue to replace. |
| [in] | cys_type_name3 | The 3-letter name of the cys type to use: e.g. CYS or CYD. |
| [in,out] | conf | The conformation to modify |
Substitutes a residue with the given cys type, keeping as many of the existing atom positions as possible. If the original residue has a disulfide variant it will be removed, otherwise a disulfide variant will be added. Should work with any ResidueTypeSet that has the proper disulfide variants. If the replacement fails for any reason a warning will be printed.
| [in] | index | Position of the residue to replace. |
| [in] | cys_type_name3 | The 3-letter name of the cys type to use: either CYS or CYD. |
| [in,out] | conf | The conformation to modify |
References core::chemical::aa_cys, copy_residue_coordinates_and_rebuild_missing_atoms(), core::conformation::ResidueFactory::create_residue(), core::chemical::DISULFIDE, core::conformation::Conformation::replace_residue(), core::conformation::Conformation::residue(), residue_type_set, and TR.
Referenced by core::conformation::symmetry::SymmetricConformation::detect_disulfides(), core::conformation::Conformation::detect_disulfides(), core::conformation::Conformation::fix_disulfides(), and form_disulfide().
| bool core::conformation::check_good_neighbor | ( | Size const & | atom_index, |
| utility::vector1< Size > const & | cut_nbrs | ||
| ) |
Check if this atom neighbor has been black-listed ("CUT_BOND" in params file).
Referenced by setup_links_simple().
|
inline |
is atom2 the last atom of our chi angle ?
Referenced by setup_atom_links().
|
inline |
would we be breaking into a chi angle by adding atom2 to the tree now?
Referenced by setup_atom_links().
| void core::conformation::copy_residue_coordinates_and_rebuild_missing_atoms | ( | Residue const & | source_rsd, |
| Residue & | target_rsd, | ||
| Conformation const & | conformation | ||
| ) |
Fills coords of target_rsd with coords from source_rsd of same atom_name, rebuilds others.
For building variant residues, eg
References core::conformation::Residue::atom(), core::conformation::Residue::atom_name(), core::conformation::Residue::chain(), core::conformation::Residue::fill_missing_atoms(), core::conformation::Residue::has(), core::conformation::Residue::name(), core::conformation::Residue::natoms(), core::conformation::Residue::seqpos(), TR, and core::conformation::Atom::xyz().
Referenced by core::pose::add_variant_type_to_residue(), change_cys_state(), form_disulfide(), core::pose::remove_variant_type_from_residue(), replace_conformation_residue_copying_existing_coordinates(), core::pose::replace_pose_residue_copying_existing_coordinates(), and core::util::switch_to_residue_type_set().
| void core::conformation::disulfide_bonds | ( | core::conformation::Conformation const & | conformation, |
| utility::vector1< std::pair< core::Size, core::Size > > & | disulfides | ||
| ) |
Generate a list of all disulfide bonds in the conformation.
| void core::conformation::disulfide_bonds | ( | conformation::Conformation const & | conformation, |
| utility::vector1< std::pair< Size, Size > > & | disulfides | ||
| ) |
Generate a list of all disulfide bonds in the conformation.
References core::chemical::aa_cys, core::chemical::ResidueConnection::atomno(), core::conformation::Residue::connect_map(), core::chemical::DISULFIDE, core::chemical::ResidueType::n_residue_connections(), core::chemical::ResConnID::resid(), core::conformation::Conformation::residue(), core::chemical::ResidueType::residue_connection(), core::conformation::Conformation::size(), TR, core::conformation::Residue::type(), and utility_exit.
Referenced by core::scoring::disulfides::DisulfideMatchingPotential::compute_matching_energy(), and core::util::switch_to_residue_type_set().
| void core::conformation::find_neighbors | ( | utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > | point_graph, |
| core::Real | neighbor_cutoff, | ||
| Strategy | strategy = AUTOMATIC |
||
| ) |
References AUTOMATIC, basic::options::OptionKeys::score::find_neighbors_3dgrid, find_neighbors_3dgrid(), find_neighbors_naive(), find_neighbors_octree(), find_neighbors_stripe(), basic::options::OptionKeys::score::find_neighbors_stripehash, NAIVE, basic::options::option, STRIPEHASH, and THREEDGRID.
Referenced by core::pack::task::residue_selector::NumNeighborsSelector::apply(), core::conformation::symmetry::SymmetricConformation::detect_disulfides(), and core::conformation::Conformation::detect_disulfides().
| void core::conformation::find_neighbors_3dgrid | ( | utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > | point_graph, |
| core::Real | neighbor_cutoff | ||
| ) |
Create a 3D grid of points. O(N^3). For "spherical" conformations, Theta(N). Speeds neighbor detection in abinitio by a factor of 2. Definition: Spherical = span of x,y and z all O(N**1/3). Note circularity. Adendum: if the 3D grid used a list of point indices instead of a vector, then this would be Theta(N) for spherical conformations; however, with a vector, this is O(NlgN). With the additional assumption that each cube contains O(1) points, then this implementation is O(N). Such an assumption is unneccessary in the list implementation.
Shameless code duplication below based on Stuart's stl-map-based-neighbor-detection code. Note that the FArray3D is an index-from-1 data structure.
References begin, numeric::xyzVector< class >::distance_squared(), core::sequence::end, epsilon, j, numeric::max(), numeric::xyzVector< class >::max(), max(), numeric::min(), min, core::io::serialization::size(), numeric::square(), numeric::xyzVector< class >::x(), numeric::xyzVector< class >::y(), and numeric::xyzVector< class >::z().
Referenced by find_neighbors().
| void core::conformation::find_neighbors_3dgrid_restricted | ( | utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > | point_graph, |
| core::Real | neighbor_cutoff, | ||
| utility::vector1< bool > const & | residue_selection | ||
| ) |
Create a 3D grid of points. O(N^3). For "spherical" conformations, Theta(N). Speeds neighbor detection in abinitio by a factor of 2. Definition: Spherical = span of x,y and z all O(N**1/3). Note circularity. Adendum: if the 3D grid used a list of point indices instead of a vector, then this would be Theta(N) for spherical conformations; however, with a vector, this is O(NlgN). With the additional assumption that each cube contains O(1) points, then this implementation is O(N). Such an assumption is unneccessary in the list implementation.
References begin, numeric::xyzVector< class >::distance_squared(), core::sequence::end, epsilon, j, numeric::max(), numeric::xyzVector< class >::max(), max(), numeric::min(), min, core::io::serialization::size(), numeric::square(), numeric::xyzVector< class >::x(), numeric::xyzVector< class >::y(), and numeric::xyzVector< class >::z().
| void core::conformation::find_neighbors_naive | ( | utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > | point_graph, |
| core::Real | neighbor_cutoff | ||
| ) |
Referenced by find_neighbors().
| void core::conformation::find_neighbors_naive_restricted | ( | utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > | point_graph, |
| core::Real | neighbor_cutoff, | ||
| utility::vector1< bool > const & | residue_selection | ||
| ) |
| void core::conformation::find_neighbors_naive_surface | ( | utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > | point_graph, |
| core::Real | neighbor_cutoff, | ||
| utility::vector1< std::pair< Size, Size > > const & | non_surface_ranges, | ||
| utility::vector1< bool > const & | is_surface | ||
| ) |
| void core::conformation::find_neighbors_octree | ( | utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > | point_graph, |
| core::Real | neighbor_cutoff, | ||
| Strategy | strategy | ||
| ) |
Finds the residue neighbors efficiently using an octree-like spatial sort.
References numeric::xyzVector< class >::distance_squared(), epsilon, j, numeric::max(), numeric::xyzVector< class >::max(), max(), numeric::min(), min, OCTREE, numeric::square(), square(), numeric::xyzVector< class >::x(), numeric::xyzVector< class >::y(), and numeric::xyzVector< class >::z().
Referenced by find_neighbors().
| void core::conformation::find_neighbors_octree_restricted | ( | utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > | point_graph, |
| core::Real | neighbor_cutoff, | ||
| utility::vector1< bool > const & | residue_selection, | ||
| Strategy | strategy | ||
| ) |
Finds the residue neighbors efficiently using an octree-like spatial sort.
References numeric::xyzVector< class >::distance_squared(), epsilon, j, numeric::max(), numeric::xyzVector< class >::max(), max(), numeric::min(), min, OCTREE, numeric::square(), square(), numeric::xyzVector< class >::x(), numeric::xyzVector< class >::y(), and numeric::xyzVector< class >::z().
| void core::conformation::find_neighbors_restricted | ( | utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > | point_graph, |
| core::Real | neighbor_cutoff, | ||
| utility::vector1< bool > const & | residue_selection, | ||
| Strategy | strategy = AUTOMATIC |
||
| ) |
| void core::conformation::find_neighbors_stripe | ( | utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > | point_graph, |
| core::Real | neighbor_cutoff | ||
| ) |
References numeric::geometry::hashing::xyzStripeHashWithMeta< class >::visit().
Referenced by find_neighbors().
| void core::conformation::form_disulfide | ( | Conformation & | conformation, |
| Size | lower_res, | ||
| Size | upper_res | ||
| ) |
Introduce cysteines at the specified location and define a disulfide bond between them.
Does not do the repacking & minimization required to place the disulfide correctly.
References core::conformation::Residue::aa(), core::chemical::aa_cys, core::conformation::Residue::atom_index(), core::chemical::ResidueConnection::atomno(), change_cys_state(), core::conformation::Residue::connect_map(), copy_residue_coordinates_and_rebuild_missing_atoms(), core::conformation::ResidueFactory::create_residue(), core::conformation::Conformation::declare_chemical_bond(), core::chemical::DISULFIDE, core::chemical::FA_STANDARD, core::chemical::ChemicalManager::get_instance(), core::chemical::ResidueType::has(), core::conformation::Residue::has_variant_type(), core::conformation::Conformation::is_fullatom(), core::chemical::ResidueType::n_residue_connections(), core::conformation::Residue::name(), core::conformation::Conformation::replace_residue(), core::chemical::ResConnID::resid(), core::conformation::Conformation::residue(), core::chemical::ResidueType::residue_connection(), core::conformation::Conformation::residue_type(), core::chemical::ChemicalManager::residue_type_set(), runtime_assert, runtime_assert_msg, TR, core::conformation::Residue::type(), and utility_exit.
| void core::conformation::get_anchor_and_root_atoms | ( | conformation::Residue const & | anchor_rsd, |
| conformation::Residue const & | root_rsd, | ||
| kinematics::Edge const & | edge, | ||
| Size & | anchor_atomno, | ||
| Size & | root_atomno | ||
| ) |
Use this routine to deduce atom indices of connect atoms in the tree.
Determines the anchor and root atom indices based on residue types and the foldtree edge.
References ASSERT_ONLY, core::conformation::Residue::atom_index(), core::kinematics::dir_jump, core::kinematics::Edge::downstream_atom(), get_anchor_atomno(), get_chemical_root_and_anchor_atomnos(), get_root_atomno(), core::kinematics::Edge::has_atom_info(), core::kinematics::Edge::is_chemical_bond(), core::kinematics::Edge::is_jump(), core::kinematics::Edge::is_polymer(), core::kinematics::Edge::polymer_direction(), core::conformation::Residue::seqpos(), core::kinematics::Edge::start(), core::kinematics::Edge::stop(), core::kinematics::Edge::upstream_atom(), and utility_exit_with_message.
Referenced by build_chemical_edge(), build_jump_edge(), build_polymer_edge(), build_residue_tree(), get_residue_connections(), and promote_sameresidue_child_of_jump_atom().
| int core::conformation::get_anchor_atomno | ( | conformation::Residue const & | anchor_rsd, |
| Size const | seqpos, | ||
| kinematics::FoldTree const & | fold_tree | ||
| ) |
Get the atom-index of the atom to which the residue at position seqpos should be anchored.
Get the atom-index of the atom to which the residue at position seqpos should be anchored in constructing the atomtree.
References core::conformation::Residue::atom_index(), core::kinematics::dir_jump, core::kinematics::FoldTree::get_residue_edge(), core::kinematics::FoldTree::root(), and core::conformation::Residue::seqpos().
Referenced by get_anchor_and_root_atoms(), and get_anchor_atomno().
| int core::conformation::get_anchor_atomno | ( | conformation::Residue const & | rsd, |
| int const | dir | ||
| ) |
get anchor atom to which the atom-tree of next residue in the edge is attached.
References core::kinematics::dir_jump, get_anchor_atomno(), core::conformation::Residue::is_lower_terminus(), core::conformation::Residue::is_polymer(), core::conformation::Residue::is_upper_terminus(), core::conformation::Residue::lower_connect_atom(), core::conformation::Residue::mainchain_atom(), core::conformation::Residue::mainchain_atoms(), core::conformation::Residue::n_mainchain_atoms(), and core::conformation::Residue::upper_connect_atom().
| void core::conformation::get_chemical_root_and_anchor_atomnos | ( | conformation::Residue const & | rsd_anchor, |
| conformation::Residue const & | rsd_root, | ||
| Size & | anchor_atom_no, | ||
| Size & | root_atom_no | ||
| ) |
References core::chemical::ResidueConnection::atomno(), core::conformation::Residue::connect_map(), core::conformation::Residue::connections_to_residue(), core::chemical::ResConnID::connid(), core::conformation::Residue::is_bonded(), and core::conformation::Residue::residue_connection().
Referenced by get_anchor_and_root_atoms().
| core::Size core::conformation::get_nearest_neighbor | ( | utility::pointer::owning_ptr< graph::UpperEdgeGraph< Vertex, Edge > > | point_graph, |
| core::Size | node_id, | ||
| core::Real | neighbor_cutoff, | ||
| Strategy | strategy = AUTOMATIC |
||
| ) |
| void core::conformation::get_residue_connections | ( | conformation::Residue const & | new_rsd, |
| kinematics::FoldTree const & | fold_tree, | ||
| conformation::ResidueCAPs const & | residues, | ||
| id::BondID & | new_rsd_in, | ||
| utility::vector1< id::BondID > & | new_rsd_out | ||
| ) |
Get the incoming connection and all outgoing connections from a residue
References core::id::BondID::atom1, core::id::BondID::atom2, core::id::BOGUS_ATOM_ID, get_anchor_and_root_atoms(), core::kinematics::FoldTree::get_outgoing_edges(), core::kinematics::FoldTree::get_residue_edge(), get_root_residue_root_atomno(), core::kinematics::FoldTree::is_root(), core::kinematics::Edge::polymer_direction(), and core::conformation::Residue::seqpos().
Referenced by replace_residue_in_atom_tree().
| int core::conformation::get_root_atomno | ( | conformation::Residue const & | rsd, |
| int const | dir | ||
| ) |
get the root atom for building residue atom-tree given the folding direction "dir"
References core::kinematics::dir_jump, core::chemical::ResidueType::has_variant_type(), core::conformation::Residue::is_lower_terminus(), core::conformation::Residue::is_polymer(), core::conformation::Residue::is_upper_terminus(), core::conformation::Residue::lower_connect_atom(), core::conformation::Residue::mainchain_atom(), core::conformation::Residue::mainchain_atoms(), core::conformation::Residue::n_mainchain_atoms(), core::conformation::Residue::type(), and core::conformation::Residue::upper_connect_atom().
Referenced by build_residue_tree(), get_anchor_and_root_atoms(), get_root_residue_root_atomno(), and core::conformation::Conformation::jump_atom_id().
| Size core::conformation::get_root_residue_root_atomno | ( | conformation::Residue const & | rsd, |
| kinematics::FoldTree const & | fold_tree | ||
| ) |
Determine which atom to use as the root of the root residue in the atomtree. It is sometimes useful to be able to control the atom chosen as the root of the atomtree, eg in graphics. The logic below uses atom_info stored in the foldtree for jump edges emanating from the root residue to override the default atom (if the root residue is a jump_point and said atom_info exists)
References core::conformation::Residue::atom_index(), core::kinematics::dir_jump, get_root_atomno(), core::kinematics::FoldTree::is_jump_point(), core::kinematics::FoldTree::jump_edge(), core::kinematics::FoldTree::num_jump(), core::kinematics::FoldTree::root(), and core::conformation::Residue::seqpos().
Referenced by build_residue_tree(), and get_residue_connections().
| char core::conformation::get_torsion_bin | ( | core::Real | phi, |
| core::Real | psi, | ||
| core::Real | omega | ||
| ) |
| void core::conformation::idealize_hydrogens | ( | Residue & | res, |
| Conformation const & | conf | ||
| ) |
References core::conformation::Residue::atom_name(), core::chemical::ICoorAtomID::atomno(), core::chemical::AtomICoor::build(), core::conformation::Residue::icoor(), core::chemical::ICoorAtomID::is_internal(), core::conformation::Residue::natoms(), core::conformation::Residue::nheavyatoms(), core::conformation::Residue::set_xyz(), core::chemical::AtomICoor::stub_atom(), and utility_exit_with_message.
Referenced by core::pack::rotamer_set::RotamerSet_::build_optimize_H_rotamers().
| void core::conformation::idealize_position | ( | Size const | seqpos, |
| Conformation & | conformation | ||
| ) |
Idealize backbone and sidechain at seqpos.
References core::id::BB, core::chemical::rna::CHI, core::conformation::ResidueFactory::create_residue(), core::conformation::Conformation::fold_tree(), core::kinematics::FoldTree::is_cutpoint(), core::conformation::Residue::orient_onto_residue(), core::conformation::Conformation::replace_residue(), core::conformation::Conformation::residue(), runtime_assert, core::conformation::Conformation::set_bond_angle(), core::conformation::Conformation::set_bond_length(), core::conformation::Conformation::size(), and core::conformation::Residue::type().
Referenced by core::fragment::make_pose_from_frags().
| void core::conformation::insert_ideal_bonds_at_polymer_junction | ( | Size const | seqpos, |
| Conformation & | conformation | ||
| ) |
Sets the two bond angles and the bond length across the junction, rebuilds dependent atoms (eg O,H)
Just sets the two bond angles and the bond length between seqpos and seqpos+1
References core::conformation::ResidueFactory::create_residue(), core::conformation::Conformation::fold_tree(), core::kinematics::FoldTree::is_cutpoint(), core::conformation::Residue::mainchain_atom(), core::conformation::Conformation::rebuild_polymer_bond_dependent_atoms(), core::conformation::Conformation::residue(), runtime_assert, core::conformation::Conformation::set_bond_angle(), core::conformation::Conformation::set_bond_length(), core::conformation::Conformation::size(), TR, and core::conformation::Residue::type().
| void core::conformation::insert_ideal_mainchain_bonds | ( | Size const | seqpos, |
| Conformation & | conformation | ||
| ) |
References core::conformation::ResidueFactory::create_residue(), core::conformation::Residue::mainchain_atom(), core::conformation::Residue::n_mainchain_atoms(), core::conformation::Conformation::residue(), runtime_assert, core::conformation::Conformation::set_bond_angle(), core::conformation::Conformation::set_bond_length(), core::conformation::Conformation::size(), and core::conformation::Residue::type().
| void core::conformation::insert_residue_into_atom_tree | ( | conformation::Residue const & | new_rsd, |
| kinematics::FoldTree const & | fold_tree, | ||
| conformation::ResidueCAPs const & | residues, | ||
| kinematics::AtomTree & | atom_tree | ||
| ) |
Inserts/ appends new residue subtree into an existing atomtree.
References nres, core::kinematics::FoldTree::nres(), replace_residue_in_atom_tree(), core::conformation::Residue::seqpos(), core::kinematics::AtomTree::size(), and core::kinematics::AtomTree::update_sequence_numbering().
Referenced by core::conformation::Conformation::append_residue(), core::conformation::Conformation::insert_polymer_residue(), and core::conformation::Conformation::insert_residue_by_jump().
| bool core::conformation::is_disulfide_bond | ( | conformation::Conformation const & | conformation, |
| Size | residueA_pos, | ||
| Size | residueB_pos | ||
| ) |
Find whether there is a disulfide defined between two residues.
We define a disulfide to exist between a pair of residues iff
References core::conformation::Residue::atom_index(), core::chemical::ResidueConnection::atomno(), core::conformation::Residue::connect_map(), core::chemical::ResidueType::has(), core::conformation::Residue::is_protein(), core::chemical::ResidueType::n_residue_connections(), core::chemical::ResidueType::name1(), core::chemical::ResConnID::resid(), core::conformation::Conformation::residue(), core::chemical::ResidueType::residue_connection(), runtime_assert, and core::conformation::Residue::type().
Referenced by core::util::rebuild_disulfide().
| bool core::conformation::is_ideal_position | ( | Size const | seqpos, |
| Conformation const & | conformation, | ||
| Real | theta_epsilon = 0.005, |
||
| Real | D_epsilon = 0.02 |
||
| ) |
Return true if position contains an ideal geometry up to some epsilon.
seqpos - sequence position conformation - conformation object theta_epsilon - permitted deviation from ideal bond angles, in Radians D_epsilon - permitted deviation from ideal bond length
References core::conformation::Conformation::append_residue_by_bond(), core::conformation::ResidueFactory::create_residue(), core::id::D, numeric::equal_by_epsilon(), core::conformation::Conformation::fold_tree(), core::kinematics::FoldTree::is_cutpoint(), core::conformation::Conformation::residue(), runtime_assert, core::conformation::Conformation::size(), core::id::THETA, TR, and core::conformation::Residue::type().
Referenced by core::pose::is_ideal_position().
| id::AtomID core::conformation::named_atom_id_to_atom_id | ( | id::NamedAtomID const & | named_atom_id, |
| conformation::Residue const & | rsd | ||
| ) |
References core::id::NamedAtomID::atom(), core::conformation::Residue::atom_index(), and core::id::NamedAtomID::rsd().
Referenced by core::scoring::constraints::AmbiguousNMRDistanceConstraint::map_to_CEN(), named_stub_id_to_stub_id(), core::scoring::constraints::parse_NMR_name(), core::scoring::constraints::parse_NMR_name_old(), core::scoring::constraints::CoordinateConstraint::read_def(), core::scoring::constraints::AtomPairConstraint::read_def(), core::scoring::constraints::AngleConstraint::remapped_clone(), core::scoring::constraints::CoordinateConstraint::remapped_clone(), and core::scoring::constraints::AtomPairConstraint::remapped_clone().
| id::StubID core::conformation::named_stub_id_to_stub_id | ( | id::NamedStubID const & | named_stub_id, |
| conformation::Residue const & | rsd | ||
| ) |
| std::ostream & core::conformation::operator<< | ( | std::ostream & | os, |
| Atom const & | atom | ||
| ) |
| std::ostream & core::conformation::operator<< | ( | std::ostream & | os, |
| Residue const & | res | ||
| ) |
References core::conformation::Residue::show().
| std::ostream & core::conformation::operator<< | ( | std::ostream & | os, |
| Conformation const & | conf | ||
| ) |
| void core::conformation::orient_residue_for_ideal_bond | ( | Residue & | moving_rsd, |
| chemical::ResidueConnection const & | moving_connection, | ||
| Residue const & | fixed_rsd, | ||
| chemical::ResidueConnection const & | fixed_connection, | ||
| Conformation const & | conformation, | ||
| bool | lookup_bond_length | ||
| ) |
References core::conformation::Residue::actcoord(), core::conformation::Residue::atom_type_index(), core::chemical::ResidueConnection::atomno(), core::chemical::AtomICoor::build(), cm, core::chemical::FA_STANDARD, core::chemical::ChemicalManager::get_instance(), global, core::kinematics::Stub::global2local(), core::chemical::ResidueConnection::icoor(), core::chemical::ChemicalManager::ideal_bond_length_set(), core::chemical::AtomICoor::is_internal(), core::conformation::Residue::natoms(), numeric::xyzVector< class >::normalize(), runtime_assert, core::conformation::Residue::set_xyz(), core::chemical::AtomICoor::stub_atom2(), core::chemical::ICoorAtomID::xyz(), and core::conformation::Residue::xyz().
Referenced by core::conformation::Conformation::append_polymer_residue_after_seqpos(), core::conformation::Conformation::append_residue_by_bond(), and core::conformation::Conformation::prepend_polymer_residue_before_seqpos().
| std::ostream& core::conformation::print_atom | ( | id::AtomID const & | id, |
| Conformation const & | conf, | ||
| std::ostream & | os | ||
| ) |
Helper function for below
References core::conformation::Residue::atom_name(), core::conformation::Residue::name(), core::conformation::Conformation::residue(), and core::conformation::Residue::seqpos().
Referenced by show_atom_tree().
| void core::conformation::print_node | ( | std::ostream & | out, |
| int | residue_num, | ||
| int | atom_num, | ||
| core::Vector const & | atom_xyz, | ||
| core::chemical::ResidueType const & | res, | ||
| std::string | extras = "" |
||
| ) |
TWO FUNCTIONS STOLEN FROM IAN: and slightly modified.
References core::chemical::ResidueType::atom_name(), core::chemical::ResidueType::atom_type(), core::chemical::AtomType::name(), core::chemical::ResidueType::name3(), numeric::xyzVector< class >::x(), numeric::xyzVector< class >::y(), and numeric::xyzVector< class >::z().
Referenced by print_node(), core::conformation::ConformationKinWriter::write_coords(), and core::conformation::ResidueKinWriter::write_rsd_coords().
| void core::conformation::print_node | ( | std::ostream & | out, |
| int | residue_num, | ||
| int | atom_num, | ||
| core::conformation::Residue const & | res, | ||
| std::string | extras = "" |
||
| ) |
| void core::conformation::print_node | ( | std::ostream & | out, |
| int | residue_num, | ||
| std::string | atom_name, | ||
| core::conformation::Residue const & | res, | ||
| std::string | extras = "" |
||
| ) |
References core::conformation::Residue::atom_index(), and print_node().
| void core::conformation::promote_sameresidue_child_of_jump_atom | ( | kinematics::Edge const & | edge, |
| conformation::ResidueCAPs const & | residues, | ||
| kinematics::AtomTree & | atom_tree | ||
| ) |
Moves the first same-residue child of the jump atom corresponding to edge into first place in the child list.
if ( debug ) { BondID old_rsd_in; vector1< BondID > old_rsd_out; get_residue_connections( old_rsd, fold_tree, residues, old_rsd_in, old_rsd_out ); assert( new_rsd_in.atom1 == old_rsd_in.atom1 && new_rsd_out.size() == old_rsd_out.size() ); for ( Size i=1; i<= new_rsd_out.size(); ++i ) { assert( new_rsd_out[i].atom2 == old_rsd_out[i].atom2 ); } }
References get_anchor_and_root_atoms(), core::kinematics::Edge::is_jump(), core::kinematics::AtomTree::promote_sameresidue_nonjump_child(), core::kinematics::Edge::start(), and core::kinematics::Edge::stop().
Referenced by build_tree(), and replace_residue_in_atom_tree().
| void core::conformation::promote_sameresidue_child_of_jump_atom | ( | kinematics::Edge const & | edge, |
| conformation::ResidueCAPs const & | residues, | ||
| kinematics::AtomPointer2D const & | atom_pointer | ||
| ) |
Moves the first same-residue child of the jump atom corresponding to edge into first place in the child list.
References get_anchor_and_root_atoms(), core::kinematics::Edge::is_jump(), core::kinematics::Edge::start(), core::kinematics::Edge::stop(), and TR.
| void core::conformation::remove_lower_terminus_type_from_conformation_residue | ( | conformation::Conformation & | conformation, |
| Size const | seqpos | ||
| ) |
| void core::conformation::remove_upper_terminus_type_from_conformation_residue | ( | conformation::Conformation & | conformation, |
| Size const | seqpos | ||
| ) |
| void core::conformation::remove_variant_type_from_conformation_residue | ( | conformation::Conformation & | conformation, |
| chemical::VariantType const & | variant_type, | ||
| Size const | seqpos | ||
| ) |
construct a non-variant of an existing pose residue
eg remove a terminus variant, and replace the orignal in pose.
References replace_conformation_residue_copying_existing_coordinates(), and core::conformation::Conformation::residue().
Referenced by remove_lower_terminus_type_from_conformation_residue(), and remove_upper_terminus_type_from_conformation_residue().
| void core::conformation::replace_conformation_residue_copying_existing_coordinates | ( | conformation::Conformation & | conformation, |
| Size const | seqpos, | ||
| chemical::ResidueType const & | new_rsd_type | ||
| ) |
helper function for residue replacement/residuetype switching
References copy_residue_coordinates_and_rebuild_missing_atoms(), core::conformation::ResidueFactory::create_residue(), core::conformation::Conformation::replace_residue(), and core::conformation::Conformation::residue().
Referenced by add_variant_type_to_conformation_residue(), and remove_variant_type_from_conformation_residue().
| void core::conformation::replace_residue_in_atom_tree | ( | conformation::Residue const & | new_rsd, |
| kinematics::FoldTree const & | fold_tree, | ||
| conformation::ResidueCAPs const & | residues, | ||
| kinematics::AtomTree & | atom_tree | ||
| ) |
Helper function for conformation routines.
Helper function for conformation routines. Uses fold_tree to deduce the incoming/outgoing connections for the new residue and the old residue We want it to be the case that the tree we get after this call is the same one that we would have gotten by calling build_tree
References build_residue_tree(), get_residue_connections(), core::kinematics::FoldTree::get_residue_edge(), core::kinematics::Edge::is_jump(), core::kinematics::FoldTree::is_jump_point(), core::kinematics::FoldTree::is_root(), core::kinematics::Edge::keep_stub_in_residue(), promote_sameresidue_child_of_jump_atom(), core::kinematics::AtomTree::replace_residue_subtree(), and core::conformation::Residue::seqpos().
Referenced by insert_residue_into_atom_tree(), and core::conformation::Conformation::replace_residue().
| void core::conformation::residue_point_graph_from_conformation | ( | Conformation const & | conformation, |
| PointGraph & | pg | ||
| ) |
References core::graph::UEVertex< V, E >::data(), core::graph::UpperEdgeGraph< V, E >::get_vertex(), core::conformation::Residue::nbr_atom(), core::conformation::Conformation::residue(), core::graph::UpperEdgeGraph< V, E >::set_num_vertices(), core::conformation::Conformation::size(), and core::conformation::Residue::xyz().
Referenced by core::pack::task::residue_selector::NumNeighborsSelector::apply(), core::pack::task::operation::util::calc_interacting_vector(), core::pack::interaction_graph::SurfacePotential::compute_pose_hpatch_score(), core::pack::create_packer_graph(), core::scoring::symmetry::SymmetricEnergies::fill_point_graph(), core::scoring::solid_surface::SurfaceEnergies::fill_point_graph(), core::scoring::Energies::fill_point_graph(), core::pack::task::operation::util::find_jump_partners_within_CB_cutoff(), core::pack::task::operation::util::find_neighbors_within_CB_cutoff(), core::pose::metrics::simple_calculators::InterfaceNeighborDefinitionCalculator::recompute(), and core::scoring::NeighborList::setup().
| void core::conformation::set_chi_according_to_coordinates | ( | conformation::Residue & | rotamer | ) |
rotamer chi-update from coords useful for building rotamers from coordinates
hokey "update chi from coordinates" useful for when the coordinates are known for a rotamer (specifically, a residue living outside of a conformation object); after the coordinates are set, the chis have to be updated – that won't happen automatically.
References core::conformation::Residue::chi(), core::conformation::Residue::chi_atoms(), numeric::dihedral(), core::conformation::Residue::is_protein(), core::conformation::Residue::nchi(), and core::conformation::Residue::xyz().
Referenced by core::pack::rotamer_set::RotamerSet_::build_optimize_H_rotamers(), and core::pack::dunbrack::SingleLigandRotamerLibrary::init_from_file().
| void core::conformation::setup_atom_links | ( | int const | atom1, |
| kinematics::Links const & | full_links, | ||
| utility::vector1< bool > & | is_done, | ||
| utility::vector1< bool > const & | is_mainchain, | ||
| utility::vector1< bool > const & | is_chi, | ||
| utility::vector1< bool > const & | is_hydrogen, | ||
| utility::vector1< utility::vector1< Size > > const & | chi_atoms, | ||
| kinematics::Links & | new_links | ||
| ) |
set correct order for how atoms are linked to each other.
this function is called recursively.
References chi_continuation(), and chi_interruption().
Referenced by setup_links().
| void core::conformation::setup_corresponding_atoms | ( | id::AtomID_Map< id::AtomID > & | atom_map, |
| conformation::Residue const & | rsd1, | ||
| conformation::Residue const & | rsd2 | ||
| ) |
set up a map to match mainchain atoms from residue1 to residue2
only map by atom number, not by identity currently.
References core::conformation::Residue::atom_name(), core::chemical::ResidueConnection::atomno(), core::conformation::Residue::atoms(), core::conformation::Residue::chi_atoms(), core::conformation::Residue::is_DNA(), core::conformation::Residue::is_RNA(), core::conformation::Residue::mainchain_atoms(), core::conformation::Residue::n_residue_connections(), core::conformation::Residue::name1(), core::chemical::ResidueType::name3(), core::conformation::Residue::natoms(), core::chemical::ResidueType::residue_connection(), core::conformation::Residue::seqpos(), core::id::AtomID_Map< T >::set(), and core::conformation::Residue::type().
| void core::conformation::setup_links | ( | conformation::Residue const & | rsd, |
| int const | root_atomno, | ||
| kinematics::Links & | links | ||
| ) |
given the root_atomno, set up rules for how other atoms are linked for this residue a wrapper function calling setup_atom_links recursively .
References core::conformation::Residue::atom_index(), core::conformation::Residue::atom_name(), core::conformation::Residue::atom_type(), core::conformation::Residue::chi_atoms(), core::chemical::CUTPOINT_LOWER, core::chemical::CUTPOINT_UPPER, core::conformation::Residue::has_variant_type(), core::chemical::AtomType::is_hydrogen(), j, core::conformation::Residue::mainchain_atoms(), core::conformation::Residue::natoms(), setup_atom_links(), setup_links_simple(), and utility_exit.
Referenced by build_residue_tree().
| void core::conformation::setup_links_simple | ( | conformation::Residue const & | rsd, |
| kinematics::Links & | links | ||
| ) |
simply fill the "links" by adding, for each atom, its bonded neighbors
References check_good_neighbor(), core::conformation::Residue::cut_bond_neighbor(), core::conformation::Residue::natoms(), and core::conformation::Residue::nbrs().
Referenced by setup_links().
| void core::conformation::show_atom_tree | ( | kinematics::tree::Atom const & | atom, |
| Conformation const & | conf, | ||
| std::ostream & | os | ||
| ) |
| id::NamedStubID core::conformation::stub_id_to_named_stub_id | ( | id::StubID const & | stub_id, |
| conformation::Residue const & | rsd | ||
| ) |
|
static |
Referenced by core::conformation::Conformation::append_residue(), core::conformation::Residue::apply_transform_downstream(), atom_id_to_named_atom_id(), change_cys_state(), core::conformation::Residue::copy_residue_connections(), copy_residue_coordinates_and_rebuild_missing_atoms(), core::conformation::Conformation::detect_bonds(), core::conformation::Conformation::detect_disulfides(), core::conformation::Conformation::detect_pseudobonds(), disulfide_bonds(), core::conformation::membrane::MembraneInfo::fa_depth(), core::conformation::membrane::MembraneInfo::fa_proj(), core::conformation::membrane::MembraneInfo::fa_proj_coord(), core::conformation::membrane::MembraneInfo::fa_proj_deriv(), core::conformation::Conformation::fill_missing_atoms(), core::conformation::Residue::fill_missing_atoms(), core::conformation::Conformation::fix_disulfides(), form_disulfide(), core::conformation::membrane::SpanningTopology::get_subset(), core::conformation::Conformation::get_torsion_angle_atom_ids(), insert_ideal_bonds_at_polymer_junction(), is_ideal_position(), core::conformation::membrane::MembraneInfo::is_membrane(), core::conformation::Conformation::is_residue_typeset(), core::conformation::membrane::MembraneInfo::pose_embedding_steepness(), promote_sameresidue_child_of_jump_atom(), core::conformation::Residue::Residue(), core::conformation::Conformation::residues_append(), core::conformation::Conformation::set_torsion(), core::conformation::Conformation::set_torsion_angle(), core::conformation::membrane::SpanningTopology::show(), and core::conformation::Conformation::show_residue_connections().
1.8.7