![]() |
Rosetta Core
2014.16.56682
|
A container of Residues and the kinematics to manage them. More...
#include <Conformation.hh>
Public Member Functions | |
| Conformation () | |
| constructor More... | |
| virtual | ~Conformation () |
| default destructor More... | |
| Conformation (Conformation const &src) | |
| copy constructor More... | |
| virtual Conformation & | operator= (Conformation const &src) |
| equals operator More... | |
| virtual ConformationOP | clone () const |
| clone the conformation More... | |
| void | clear () |
| clear data More... | |
| void | debug_residue_torsions (bool verbose=false) const |
| debugging More... | |
| void | show_residue_connections () const |
| Show residue connections for debugging purposes. More... | |
| void | show_residue_connections (std::ostream &os) const |
| Show residue connections for debugging purposes. More... | |
| virtual bool | same_type_as_me (Conformation const &other, bool recurse) const |
| determine the type of the ConformationOP More... | |
| bool | sequence_matches (Conformation const &other) const |
| do the names of all residues in this and src match? More... | |
| Size | size () const |
| Returns the number of residues in the Conformation. More... | |
| bool | empty () const |
| Returns true if this conformation does not have any residues. More... | |
| bool | is_residue_typeset (std::string tag) const |
| convenience test for residue_type_set ( based on two middle residue – to avoid hitting on ligands or pseudos ) More... | |
| bool | is_fullatom () const |
| convenience test for residue_type_set ( based on two middle residue – to avoid hitting on ligands or pseudos ) More... | |
| bool | is_centroid () const |
| convenience test for residue_type_set ( based on two middle residue – to avoid hitting on ligands or pseudos ) More... | |
| bool | is_membrane () const |
| convenience test for if the conformation contains information for a membrane protein More... | |
| bool | contains_carbohydrate_residues () const |
| Return true if this conformation contains any carbohydrate residues. More... | |
| void | contains_carbohydrate_residues (bool const setting) |
| Set whether this conformation contains any carbohydrate residues. More... | |
| Size | chain_end (Size const chain) const |
| Returns the position number of the last residue in <chain> More... | |
| Size | chain_begin (Size const chain) const |
| Returns the position number of the first residue in <chain> More... | |
| Size | num_chains () const |
| Returns the number of chains. More... | |
| utility::vector1< Size > const & | chain_endings () const |
| Returns the list of chain endings. More... | |
| void | chain_endings (utility::vector1< Size > const &endings) |
| Sets the list of chain endings. More... | |
| void | insert_chain_ending (Size const seqpos) |
| Marks <seqpos> as the end of a new chain. More... | |
| void | delete_chain_ending (Size const seqpos) |
| Deletes <seqpos> from the list of chain endings. More... | |
| void | reset_chain_endings () |
| Resets chain data so that the Conformation is marked as a single chain. More... | |
| void | chains_from_termini () |
| Rederive the chains from the termini/polymer status. More... | |
| char | secstruct (Size const seqpos) const |
| Returns the secondary structure the position <seqpos> More... | |
| virtual void | set_secstruct (Size const seqpos, char const setting) |
| Sets the secondary structure of the position <seqpos> to <setting> More... | |
| void | setup_membrane (utility::vector1< std::pair< int, int > > embres_map, int membrane) |
| Setup a Membrane Info Object inside the conformation. More... | |
| membrane::MembraneInfoOP | membrane () |
| Returns a Membrane Info Object in the conformation. More... | |
| virtual FoldTree const & | fold_tree () const |
| Returns the conformation's FoldTree. More... | |
| virtual void | fold_tree (FoldTree const &fold_tree_in) |
| Sets the FoldTree to <fold_tree_in> More... | |
| AtomTree const & | atom_tree () const |
| Returns the conformation's AtomTree. More... | |
| chemical::AA const & | aa (Size const seqpos) const |
| Returns the AA enum for position <seqpos> More... | |
| Residue const & | residue (Size const seqpos) const |
| access one of the residues More... | |
| chemical::ResidueType const & | residue_type (Size const seqpos) const |
| access one of the residue's types – avoids coord/torsion update More... | |
| ResidueCAPs | const_residues () const |
| Inefficient – constructs copy of residues_. More... | |
| virtual void | append_residue_by_jump (conformation::Residue const &new_rsd, Size const anchor_residue, std::string const &anchor_atom="", std::string const &root_atom="", bool const start_new_chain=false) |
| Append a new residue by a jump. More... | |
| void | insert_residue_by_jump (Residue const &new_rsd_in, Size const seqpos, Size anchor_pos, std::string const &anchor_atom="", std::string const &root_atom="", bool new_chain=false) |
| Insert a new residue by jump. If new_chain is "true", then seqpos must be the last residue of one chain (i.e. residue(seqpos).chain() != residue(seqpos+1).chain() ) More... | |
| void | append_residue_by_bond (conformation::Residue const &new_rsd, bool const build_ideal_geometry=false, int connection_index=0, Size anchor_residue=0, int anchor_connection_index=0, bool const start_new_chain=false, bool const lookup_bond_length=false) |
| Append a new residue by a bond. More... | |
| void | append_polymer_residue_after_seqpos (Residue const &new_rsd, Size const seqpos, bool const build_ideal_geometry) |
| glues to seqpos and perhaps also seqpos+1 More... | |
| void | safely_append_polymer_residue_after_seqpos (Residue const &new_rsd, Size const seqpos, bool const build_ideal_geometry) |
| glues to seqpos and perhaps also seqpos+1, removes termini variants if necessary More... | |
| void | prepend_polymer_residue_before_seqpos (Residue const &new_rsd, Size const seqpos, bool const build_ideal_geometry) |
| glues to seqpos and perhaps also seqpos-1 More... | |
| void | safely_prepend_polymer_residue_before_seqpos (Residue const &new_rsd, Size const seqpos, bool const build_ideal_geometry) |
| glues to seqpos and perhaps also seqpos-1, removes termini variants if necessary More... | |
| virtual void | replace_residue (Size const seqpos, Residue const &new_rsd, bool const orient_backbone) |
| replace residue More... | |
| virtual void | replace_residue (Size const seqpos, Residue const &new_rsd, utility::vector1< std::pair< std::string, std::string > > const &atom_pairs) |
| function to replace a residue based on superposition on the specified input atom pairs More... | |
| void | delete_polymer_residue (Size const seqpos) |
| Delete polymer residue at the given sequence position. More... | |
| void | delete_residue_slow (Size const seqpos) |
| Slow method that relies on FoldTree::delete_seqpos, rebuilds atomtree, can handle jumps/root residue. More... | |
| void | delete_residue_range_slow (Size const range_begin, Size const range_end) |
| Slow method that relies on FoldTree::delete_seqpos, rebuilds atomtree, can handle jumps/root residue. More... | |
| virtual utility::vector1< bool > | get_residue_mask () const |
| returns a mask of residues to be used in scoring More... | |
| virtual Real | get_residue_weight (core::Size, core::Size) const |
| returns a residue-pair weight More... | |
| void | detect_bonds () |
| void | detect_pseudobonds () |
| void | declare_chemical_bond (Size const seqpos1, std::string const &atom_name1, Size const seqpos2, std::string const &atom_name2) |
| Declare that a chemical bond exists between two residues. More... | |
| void | rebuild_polymer_bond_dependent_atoms (Size const seqpos) |
| Rebuild the atoms ( like HN(seqpos), OC(seqpos+1) ) that are dependent on the polymer bond between seqpos and seqpos+1. More... | |
| void | rebuild_residue_connection_dependent_atoms (Size const seqpos, Size const connid) |
| AtomID | inter_residue_connection_partner (Size const seqpos, int const connection_index) const |
| This returns the AtomID of the atom in the other residue to which the "connection_index"-th connection of residue seqpos is connected to. More... | |
| utility::vector1 < core::id::AtomID > | bonded_neighbor_all_res (core::id::AtomID atomid, bool virt=false) const |
| get all atoms bonded to another More... | |
| void | fill_missing_atoms (id::AtomID_Mask missing) |
| bool | atom_is_backbone_norefold (Size const pos, Size const atomno) const |
| returns true if atom is part of backbone. More... | |
| void | set_stub_transform (id::StubID const &stub_id1, id::StubID const &stub_id2, kinematics::RT const &target_rt) |
| Set the transform between two stubs – only works if there's a jump between the two sets of stubatoms. More... | |
| kinematics::RT | get_stub_transform (id::StubID const &stub_id1, id::StubID const &stub_id2) const |
| get the transform between two stubs More... | |
| void | set_jump_atom_stub_id (id::StubID const &id) |
| kinematics::Stub | stub_from_id (id::StubID const &id) const |
| kinematics::Stub | upstream_jump_stub (int const jump_number) const |
| The upstream and downstream Stubs are the coordinate frames between which this jump is transforming. More... | |
| kinematics::Stub | downstream_jump_stub (int const jump_number) const |
| The upstream and downstream Stubs are the coordinate frames between which this jump is transforming. More... | |
| void | set_polymeric_connection (Size res_id_lower, Size res_id_upper) |
| identify polymeric connections More... | |
| void | update_polymeric_connection (Size const lower_seqpos) |
| Update the polymer connection status between lower_seqpos and lower_seqpos+1 based on chainID's and termini. More... | |
| virtual void | detect_disulfides () |
| Detect existing disulfides from the protein structure. More... | |
| void | fix_disulfides (utility::vector1< std::pair< Size, Size > > disulf_bonds) |
| Assigns disulfide bonds based on a pre-determined list. More... | |
| virtual void | insert_conformation_by_jump (Conformation const &conf, Size const insert_seqpos, Size const insert_jumppos, Size const anchor_pos, Size const anchor_jump_number=0, std::string const &anchor_atom="", std::string const &root_atom="") |
| Insert one conformation into another. See FoldTree::insert_fold_tree_by_jump. More... | |
| void | copy_segment (Size const size, Conformation const &src, Size const begin, Size const src_begin) |
| copy a stretch of coordinates/torsions from another Conformation More... | |
| void | insert_fragment (id::StubID const &instub_id, FragRT const &outstub_transforms, FragXYZ const &frag_xyz) |
| Real | dof (DOF_ID const &id) const |
| Returns the AtomTree degree of freedom (DOF) <id> More... | |
| virtual void | set_dof (DOF_ID const &id, Real const setting) |
| Sets the AtomTree degree of freedom (DOF) <id> to <setting> More... | |
| Real | torsion (TorsionID const &id) const |
| Returns the torsion angle <id> More... | |
| virtual void | set_torsion (TorsionID const &id, Real const setting) |
| Sets the AtomTree DOF and the torsion in the corresponding Residue. More... | |
| Real | torsion_angle (AtomID const &atom1, AtomID const &atom2, AtomID const &atom3, AtomID const &atom4) const |
| Returns the torsion angle defined by <atom[1-4]> More... | |
| virtual void | set_torsion_angle (AtomID const &atom1, AtomID const &atom2, AtomID const &atom3, AtomID const &atom4, Real const setting, bool const quiet=false) |
| Sets the torsion angle defined by <atom[1-4]> to <setting> More... | |
| Real | bond_angle (AtomID const &atom1, AtomID const &atom2, AtomID const &atom3) const |
| Returns the bond angle defined by <atom[1-3]> More... | |
| virtual void | set_bond_angle (AtomID const &atom1, AtomID const &atom2, AtomID const &atom3, Real const setting) |
| Sets the bond angle defined by <atom[1-3]> to <setting> More... | |
| Real | bond_length (AtomID const &atom1, AtomID const &atom2) const |
| Returns the bond length between <atom1> and <atom2> More... | |
| virtual void | set_bond_length (AtomID const &atom1, AtomID const &atom2, Real const setting) |
| Sets the cond length between <atom1> and <atom2> to <setting> More... | |
| const Jump & | jump (int const jump_number) const |
| Returns the Jump with jump number <jump_number> More... | |
| const Jump & | jump (AtomID const &id) const |
| access a jump More... | |
| virtual void | set_jump (int const jump_number, Jump const &new_jump) |
| Sets the jump <jump_number> to <new_jump> More... | |
| virtual void | set_jump (AtomID const &id, Jump const &new_jump) |
| set a jump More... | |
| PointPosition const & | xyz (AtomID const &id) const |
| access xyz coordinates of an atom More... | |
| virtual void | set_xyz (AtomID const &id, PointPosition const &position) |
| virtual void | batch_set_xyz (utility::vector1< AtomID > const &id, utility::vector1< PointPosition > const &position) |
| virtual void | batch_get_xyz (utility::vector1< AtomID > const &id, utility::vector1< PointPosition > &position) const |
| void | insert_ideal_geometry_at_polymer_bond (Size const seqpos) |
| void | insert_ideal_geometry_at_residue_connection (Size const pos1, Size const connid1) |
| void | update_actcoords () |
| void | update_actcoord (Size resid) |
| void | update_orbital_coords (Residue &rsd) const |
| void | update_orbital_coords (Size resid) |
| DOF_ID | dof_id_from_torsion_id (TorsionID const &id) const |
| id::AtomID | jump_atom_id (int const jump_number) const |
| bool | get_torsion_angle_atom_ids (TorsionID const &tor_id, AtomID &id1, AtomID &id2, AtomID &id3, AtomID &id4) const |
| get four atoms which defined this torsion More... | |
| void | update_domain_map (DomainMap &domain_map) const |
| Generate a domain_map from the current dof/xyz moved data. More... | |
| bool | structure_moved () const |
| has the structure moved since the last call to reset_move_data or reset_structure_moved More... | |
| void | reset_structure_moved () const |
| reset the structure_moved_ bool More... | |
| void | reset_move_data () |
| forget all the structure modifications More... | |
| virtual void | push_passport (core::environment::DofPassportCOP) |
| virtual void | pop_passport () |
| virtual bool | has_passport () const |
| virtual bool | is_protected () const |
| template<typename MemFn , typename Ptr > | |
| utility::signals::Link | attach_connection_obs (MemFn fn, Ptr ptr) const |
| attach ConnectionEvent observer function More... | |
| template<typename MemFn , typename Ptr > | |
| bool | detach_connection_obs (MemFn fn, Ptr ptr) const |
| detach ConnectionEvent observer function More... | |
| template<typename MemFn , typename Ptr > | |
| utility::signals::Link | attach_general_obs (MemFn fn, Ptr ptr) const |
| attach GeneralEvent observer function More... | |
| template<typename MemFn , typename Ptr > | |
| bool | detach_general_obs (MemFn fn, Ptr ptr) const |
| detach GeneralEvent observer function More... | |
| template<typename MemFn , typename Ptr > | |
| utility::signals::Link | attach_identity_obs (MemFn fn, Ptr ptr) const |
| attach IdentityEvent observer function More... | |
| template<typename MemFn , typename Ptr > | |
| bool | detach_identity_obs (MemFn fn, Ptr ptr) const |
| detach IdentityEvent observer function More... | |
| template<typename MemFn , typename Ptr > | |
| utility::signals::Link | attach_length_obs (MemFn fn, Ptr ptr) const |
| attach LengthEvent observer function More... | |
| template<typename MemFn , typename Ptr > | |
| bool | detach_length_obs (MemFn fn, Ptr ptr) const |
| detach LengthEvent observer function More... | |
| template<typename MemFn , typename Ptr > | |
| utility::signals::Link | attach_xyz_obs (MemFn fn, Ptr ptr) const |
| attach XYZEvent observer function More... | |
| template<typename MemFn , typename Ptr > | |
| bool | detach_xyz_obs (MemFn fn, Ptr ptr) const |
| detach XYZEvent observer function More... | |
| void | clear_observers () |
| clear all observers More... | |
| void | receive_observers_from (Conformation const &src) |
| fire a ConnectionEvent::TRANSFER to transfer observers from some source Conformation More... | |
| void | debug_pause (bool const flag) const |
| wait for stdin after sending a GeneralEvent signal More... | |
| bool | debug_pause () const |
| waiting for stdin after sending a GeneralEvent signal? More... | |
| void | buffer_signals () |
| block signals from being sent and buffer them to be sent after unblocking More... | |
| void | block_signals () |
| block signals from being sent More... | |
| void | unblock_signals () |
| allow signals to be sent More... | |
| bool | buffering_signals () const |
| are signals being blocked and buffered? More... | |
| bool | blocking_signals () const |
| are signals being blocked? More... | |
Protected Attributes | |
| ResidueOPs | residues_ |
| container of Residues More... | |
Private Member Functions | |
| Residue const & | residue_ (Size const seqpos) const |
| Returns a residue without triggering coordinate/torsion update. More... | |
| void | update_sequence_numbering (Size const new_size, utility::vector1< Size > const &old2new) |
| remap *_moved arrays, sequence numbering in the residues_ arrays, etc, after insertion or deletion of rsds More... | |
| void | rebuild_polymer_bond_dependent_atoms (Size const seqpos, int const upper_lower) |
| rebuild atoms in residue seqpos dependent on either the lower (-1) or upper(1) polymer residue More... | |
| void | insert_polymer_residue (Residue const &new_rsd_in, Size const seqpos, bool const join_lower, bool const join_upper) |
| void | append_residue (Residue const &new_rsd_in, bool const attach_by_jump, std::string const &root_atom, id::NamedAtomID anchor_id, bool const start_new_chain) |
| Now a private method public interface: append_residue_by_bond or append_residue_by_jump. More... | |
| void | residues_replace (Size const seqpos, Residue const &new_rsd) |
| wrap direct access to the Residues container More... | |
| void | residues_insert (Size const seqpos, Residue const &new_rsd, bool const use_lower_chain=false, bool const new_chain=false) |
| void | residues_append (Residue const &new_rsd, bool const start_new_chain, bool const by_jump=false) |
| void | residues_delete (Size const seqpos) |
| void | setup_atom_tree () |
| (re-)builds the AtomTree using the FoldTree and the Residues More... | |
| Real | atom_tree_torsion (TorsionID const &tor_id) const |
| access a torsion from the atom_tree More... | |
| bool | backbone_torsion_angle_atoms (TorsionID const &id, AtomID &id1, AtomID &id2, AtomID &id3, AtomID &id4) const |
| get four backbone atoms which define this backbone torsion More... | |
| void | set_xyz_moved (AtomID const &id) |
| notify of xyz-change More... | |
| void | set_xyz_moved (utility::vector1< AtomID > const &ids) |
| notify of mutiple-xyz-change More... | |
| void | set_dof_moved (AtomID const &id) |
| notify of dof-change More... | |
| void | set_dof_moved (DOF_ID const &id) |
| notify of dof-change More... | |
| void | update_residue_coordinates () const |
| Will (if necessary) copy the xyz coordinates from the AtomTree to the Residues being managed. More... | |
| void | update_residue_coordinates (Size const seqpos, bool const fire_signal=true) const |
| void | rederive_chain_endings () |
| void | rederive_chain_ids () |
| void | update_residue_torsions () const |
| Will (if necessary) copy the torsion angles (mainchain/chi) from the AtomTree to the Residues being managed. More... | |
| void | update_residue_torsions (Size const seqpos, bool const fire_signal=true) const |
| void | add_pseudobond (Size lr, Size lr_connid, Size ur, Size ur_connid, Size nbonds) |
| void | in_place_copy (Conformation const &src) |
| Optimizing the common case of assigning a conformation to another with the same sequence. More... | |
| void | pre_nresidue_change () |
| The Conformation must transfer lazily accumulated "moved" data from the AtomTree before changing the number of residues. More... | |
| void | notify_connection_obs (ConnectionEvent const &e) const |
| notify ConnectionEvent observers More... | |
| void | notify_general_obs (GeneralEvent const &e) const |
| notify GeneralEvent observers More... | |
| void | notify_identity_obs (IdentityEvent const &e, bool const fire_general=true) const |
| notify IdentityEvent observers More... | |
| void | notify_length_obs (LengthEvent const &e, bool const fire_general=true) const |
| notify LengthEvent observers More... | |
| void | notify_xyz_obs (XYZEvent const &e, bool const fire_general=true) const |
| notify XYZEvent observers More... | |
A container of Residues and the kinematics to manage them.
| typedef core::conformation::signals::ConnectionEvent core::conformation::Conformation::ConnectionEvent |
| typedef std::map< id::AtomID, Vector > core::conformation::Conformation::FragXYZ |
| core::conformation::Conformation::Conformation | ( | ) |
constructor
References atom_tree_.
Referenced by clone().
|
virtual |
default destructor
| core::conformation::Conformation::Conformation | ( | Conformation const & | src | ) |
copy constructor
References atom_tree_, chain_endings_, basic::CONFORMATION_COPY, contains_carbohydrate_residues_, dof_moved_, fold_tree_, residue_coordinates_need_updating_, residue_torsions_need_updating_, residues_, secstruct_, size(), structure_moved_, and xyz_moved_.
|
inline |
Returns the AA enum for position <seqpos>
References residues_, and size().
Referenced by core::pose::Pose::aa(), core::conformation::symmetry::SymmetricConformation::get_upstream_vrt(), and core::conformation::symmetry::SymmetricConformation::recalculate_transforms().
| void core::conformation::Conformation::append_polymer_residue_after_seqpos | ( | Residue const & | new_rsd, |
| Size const | seqpos, | ||
| bool const | build_ideal_geometry | ||
| ) |
glues to seqpos and perhaps also seqpos+1
Fires a LengthEvent::RESIDUE_PREPEND signal at seqpos + 1 due to insert_polymer_residue() call.
References core::conformation::Residue::clone(), dof_moved_, fold_tree_, insert_polymer_residue(), core::conformation::Residue::is_lower_terminus(), core::conformation::Residue::is_upper_terminus(), core::conformation::Residue::lower_connect(), core::conformation::Residue::natoms(), core::conformation::orient_residue_for_ideal_bond(), pre_nresidue_change(), rebuild_polymer_bond_dependent_atoms(), residue_(), residue_coordinates_need_updating_, size(), core::id::AtomID_Map< T >::size(), update_residue_coordinates(), core::conformation::Residue::upper_connect(), and xyz_moved_.
Referenced by core::pose::Pose::append_polymer_residue_after_seqpos(), and safely_append_polymer_residue_after_seqpos().
|
private |
Now a private method public interface: append_residue_by_bond or append_residue_by_jump.
add a residue into residues_ container, update its seqpos, chainid as well fold tree and atoms. private now – this is our internal routine with everything determined ahead of time root_atomno and anchor_id.atomno() may not be filled in yet Fires a LengthEvent::RESIDUE_APPEND signal.
References core::id::NamedAtomID::atom(), core::conformation::Residue::atom_index(), atom_tree_, const_residues(), fold_tree_, core::conformation::insert_residue_into_atom_tree(), core::conformation::Residue::is_ligand(), core::conformation::Residue::is_lower_terminus(), core::conformation::Residue::lower_connect_atom(), core::conformation::Residue::name(), notify_length_obs(), pre_nresidue_change(), core::conformation::signals::LengthEvent::RESIDUE_APPEND, residue_torsions_need_updating_, residues_, residues_append(), core::id::NamedAtomID::rsd(), setup_atom_tree(), size(), and core::conformation::TR.
Referenced by append_residue_by_bond(), and append_residue_by_jump().
| void core::conformation::Conformation::append_residue_by_bond | ( | conformation::Residue const & | new_rsd, |
| bool const | build_ideal_geometry = false, |
||
| int | residue_connection_index = 0, |
||
| Size | anchor_pos = 0, |
||
| int | anchor_residue_connection_index = 0, |
||
| bool const | start_new_chain = false, |
||
| bool const | lookup_bond_length = false |
||
| ) |
Append a new residue by a bond.
The default behavior is to append by a polymeric connection to the preceding residue If we want to connect via a non-polymer connection, we give the connection number, anchor residue and the connection number for the anchor residue. These connection numbers are wrt the connections_ arrays in Residue and ResidueType If build_ideal_bond is TRUE it will transform the coordinates of the new residue so that the bond geometry of the new bond is ideal according to the icoor_internal data in the residues. Otherwise the incoming coordinates of new_rsd are preserved. Fires a LengthEvent::RESIDUE_APPEND signal.
References append_residue(), core::conformation::atom_id_to_named_atom_id(), core::conformation::Residue::atom_name(), core::id::AtomID::atomno(), core::chemical::ResidueConnection::atomno(), core::id::BOGUS_NAMED_ATOM_ID, core::conformation::Residue::clone(), core::conformation::Residue::is_polymer(), core::conformation::Residue::lower_connect(), core::conformation::Residue::lower_connect_atom(), core::chemical::ResidueType::lower_connect_id(), core::chemical::ResidueType::name(), core::conformation::orient_residue_for_ideal_bond(), pre_nresidue_change(), rebuild_polymer_bond_dependent_atoms(), residue_(), core::conformation::Residue::residue_connection(), residue_coordinates_need_updating_, residues_, size(), core::conformation::Residue::type(), update_residue_coordinates(), core::conformation::Residue::upper_connect(), core::conformation::Residue::upper_connect_atom(), core::chemical::ResidueType::upper_connect_id(), and utility_exit_with_message.
Referenced by core::pose::Pose::append_residue_by_bond(), and core::conformation::is_ideal_position().
|
virtual |
Append a new residue by a jump.
add a residue into residues_ container, update its seqpos, chainid as well fold tree and atoms. Fires a LengthEvent::RESIDUE_APPEND signal.
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References append_residue(), core::id::BOGUS_NAMED_ATOM_ID, pre_nresidue_change(), and size().
Referenced by core::pose::Pose::append_residue_by_jump(), and core::conformation::symmetry::setup_symmetric_conformation().
| bool core::conformation::Conformation::atom_is_backbone_norefold | ( | Size const | pos, |
| Size const | atomno | ||
| ) | const |
returns true if atom is part of backbone.
There is a version of this in Residue.hh. The problem with that function is that accessing a residue in the pose triggers a refold which is really slow. We do not need a correctly folded residue to makethis check
References residues_.
Referenced by core::conformation::symmetry::guess_torsion_type_of_dof_id().
|
inline |
Returns the conformation's AtomTree.
References atom_tree_.
Referenced by core::pose::Pose::atom_tree(), core::scoring::constraints::AtomPairConstraint::dist(), core::scoring::methods::LinearChainbreakEnergy::do_score_ovp(), core::pose::Pose::has_dof(), core::optimization::CartesianMinimizerMap::setup(), core::optimization::MinimizerMap::setup(), and core::optimization::symmetry::SymMinimizerMap::SymMinimizerMap().
access a torsion from the atom_tree
used when we want to copy torsions from the atomtree to the residues used when updating the torsion angles stashed in the Residues other torsion access calls look inside the residues since this will be faster than getting from the atomtree, at least in the current implementation of this routine
References atom_tree_, numeric::conversions::degrees(), degrees(), dof_id_from_torsion_id(), get_torsion_angle_atom_ids(), core::id::JUMP, and core::id::TorsionID::type().
Referenced by debug_residue_torsions(), and update_residue_torsions().
|
inline |
attach ConnectionEvent observer function
| fn | pointer to observer's unary member function with signature void( ConnectionEvent const & ) |
| ptr | pointer to observer object |
References connection_obs_hub_.
Referenced by core::pose::PDBInfo::attach_to(), and core::scoring::constraints::ConstraintSet::attach_to_conformation().
|
inline |
attach GeneralEvent observer function
| fn | pointer to observer's unary member function with signature void( GeneralEvent const & ) |
| ptr | pointer to observer object |
References general_obs_hub_.
|
inline |
attach IdentityEvent observer function
| fn | pointer to observer's unary member function with signature void( IdentityEvent const & ) |
| ptr | pointer to observer object |
References identity_obs_hub_.
Referenced by core::pose::PDBInfo::attach_to().
|
inline |
attach LengthEvent observer function
| fn | pointer to observer's unary member function with signature void( LengthEvent const & ) |
| ptr | pointer to observer object |
References length_obs_hub_.
Referenced by core::pose::datacache::LengthEventCollector::attach_impl(), core::pose::datacache::SpecialSegmentsObserver::attach_impl(), core::pose::PDBInfo::attach_to(), and core::scoring::constraints::ConstraintSet::attach_to_conformation().
|
inline |
attach XYZEvent observer function
| fn | pointer to observer's unary member function with signature void( XYZEvent const & ) |
| ptr | pointer to observer object |
References xyz_obs_hub_.
Referenced by core::pose::Pose::init(), core::pose::Pose::operator=(), and core::pose::Pose::set_new_conformation().
|
private |
get four backbone atoms which define this backbone torsion
References core::chemical::ACETYLATED_NTERMINUS, core::conformation::Residue::atom_index(), core::id::AtomID::atomno(), core::chemical::CUTPOINT_LOWER, core::chemical::CUTPOINT_UPPER, fold_tree_, core::conformation::Residue::has_variant_type(), core::conformation::Residue::mainchain_atom(), core::conformation::Residue::mainchain_atoms(), core::chemical::METHYLATED_CTERMINUS, residue_(), residues_, core::id::AtomID::rsd(), and torsion().
Referenced by get_torsion_angle_atom_ids().
|
virtual |
References xyz().
Referenced by core::pose::Pose::batch_get_xyz().
|
virtual |
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References atom_tree_, residues_, runtime_assert, and set_xyz_moved().
Referenced by core::conformation::symmetry::SymmetricConformation::batch_set_xyz(), core::pose::Pose::batch_set_xyz(), and core::conformation::UltraLightResidue::update_conformation().
| void core::conformation::Conformation::block_signals | ( | ) |
block signals from being sent
References general_obs_hub_, identity_obs_hub_, length_obs_hub_, and xyz_obs_hub_.
| bool core::conformation::Conformation::blocking_signals | ( | ) | const |
are signals being blocked?
References general_obs_hub_.
| Real core::conformation::Conformation::bond_angle | ( | AtomID const & | atom1, |
| AtomID const & | atom2, | ||
| AtomID const & | atom3 | ||
| ) | const |
Returns the bond angle defined by <atom[1-3]>
References atom_tree_.
Referenced by core::fragment::BBTorsionAndAnglesSRFD::steal().
| Real core::conformation::Conformation::bond_length | ( | AtomID const & | atom1, |
| AtomID const & | atom2 | ||
| ) | const |
Returns the bond length between <atom1> and <atom2>
References atom_tree_.
Referenced by core::io::pdb::FileData::init_from_pose().
| utility::vector1< id::AtomID > core::conformation::Conformation::bonded_neighbor_all_res | ( | core::id::AtomID | atomid, |
| bool | virt = false |
||
| ) | const |
get all atoms bonded to another
virtual atoms are excluded by default
References core::conformation::Residue::actual_residue_connection(), core::id::AtomID::atomno(), core::conformation::Residue::bonded_neighbor(), core::conformation::Residue::connection_incomplete(), core::conformation::Residue::is_virtual(), core::conformation::Residue::n_residue_connections(), neighbors, residue(), core::conformation::Residue::residue_connect_atom_index(), and core::id::AtomID::rsd().
Referenced by core::io::pdb::dump_connect_info().
| void core::conformation::Conformation::buffer_signals | ( | ) |
block signals from being sent and buffer them to be sent after unblocking
References general_obs_hub_, identity_obs_hub_, length_obs_hub_, and xyz_obs_hub_.
| bool core::conformation::Conformation::buffering_signals | ( | ) | const |
are signals being blocked and buffered?
References general_obs_hub_.
Returns the position number of the first residue in <chain>
References chain_endings_.
Referenced by core::conformation::membrane::MembraneInfo::build_membrane_foldtree(), core::pose::Pose::chain_sequence(), core::membrane::geometry::EmbeddingFactory::create_and_add_embedding(), core::pose::metrics::simple_calculators::InterfaceDefinitionCalculator::fill_in_chain_terminii(), core::pack::task::operation::util::find_neighbors_within_CB_cutoff(), core::conformation::symmetry::get_chain2range(), core::pose::get_chain_from_chain_id(), core::pose::get_chain_residues(), core::pose::get_hash_from_chain(), core::scoring::methods::NMerSVMEnergy::get_residue_energy_by_svm(), core::scoring::methods::NMerPSSMEnergy::residue_energy(), core::pack::task::residue_selector::ChainSelector::select_chain_by_index(), core::scoring::constraints::SiteConstraint::setup_csts(), core::scoring::constraints::FabConstraint::setup_csts(), and core::conformation::symmetry::setup_symmetric_conformation().
Returns the position number of the last residue in <chain>
References chain_endings_, and size().
Referenced by core::conformation::membrane::MembraneInfo::build_membrane_foldtree(), core::pose::Pose::chain_sequence(), core::pose::metrics::simple_calculators::InterfaceDefinitionCalculator::fill_in_chain_terminii(), core::pack::task::operation::util::find_neighbors_within_CB_cutoff(), core::conformation::symmetry::get_chain2range(), core::pose::get_chain_residues(), core::pose::get_hash_from_chain(), core::scoring::methods::NMerSVMEnergy::get_residue_energy_by_svm(), insert_conformation_by_jump(), core::scoring::methods::NMerPSSMEnergy::residue_energy(), core::pack::task::residue_selector::ChainSelector::select_chain_by_index(), core::scoring::constraints::SiteConstraint::setup_csts(), core::scoring::constraints::FabConstraint::setup_csts(), and core::conformation::symmetry::setup_symmetric_conformation().
| utility::vector1< Size > const & core::conformation::Conformation::chain_endings | ( | ) | const |
Returns the list of chain endings.
References chain_endings_.
Referenced by core::io::silent::BinarySilentStruct::fill_pose(), core::io::silent::ProteinSilentStruct_Template< T >::fill_pose(), core::io::silent::BinarySilentStruct::fill_struct(), core::io::silent::ProteinSilentStruct_Template< T >::fill_struct(), core::io::pdb::FileData::get_residue_information(), core::pose::renumber_pdbinfo_based_on_conf_chains(), and core::pose::Pose::update_pose_chains_from_pdb_chains().
| void core::conformation::Conformation::chain_endings | ( | utility::vector1< Size > const & | endings | ) |
Sets the list of chain endings.
References chain_endings_, rederive_chain_ids(), size(), and utility_exit_with_message.
| void core::conformation::Conformation::chains_from_termini | ( | ) |
Rederive the chains from the termini/polymer status.
References chain_endings_, rederive_chain_ids(), residues_, and size().
| void core::conformation::Conformation::clear | ( | ) |
clear data
References atom_tree_, chain_endings_, core::id::AtomID_Map< T >::clear(), dof_moved_, fold_tree_, pre_nresidue_change(), residues_, and xyz_moved_.
Referenced by core::pose::Pose::clear(), operator=(), and core::conformation::symmetry::SymmetricConformation::~SymmetricConformation().
| void core::conformation::Conformation::clear_observers | ( | ) |
clear all observers
References connection_obs_hub_, core::conformation::signals::ConnectionEvent::DISCONNECT, general_obs_hub_, identity_obs_hub_, length_obs_hub_, notify_connection_obs(), and xyz_obs_hub_.
|
virtual |
clone the conformation
make a copy of this conformation( allocate actual memory for it )
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References Conformation().
Referenced by core::pose::Pose::operator=(), and core::pose::Pose::set_new_conformation().
| ResidueCAPs core::conformation::Conformation::const_residues | ( | ) | const |
Inefficient – constructs copy of residues_.
References residues_, and size().
Referenced by append_residue(), insert_polymer_residue(), insert_residue_by_jump(), replace_residue(), and setup_atom_tree().
|
inline |
Return true if this conformation contains any carbohydrate residues.
References contains_carbohydrate_residues_.
Referenced by core::io::pdb::build_pose_as_is1(), core::import_pose::build_pose_as_is2(), and core::pose::make_pose_from_saccharide_sequence().
|
inline |
Set whether this conformation contains any carbohydrate residues.
References contains_carbohydrate_residues_.
| void core::conformation::Conformation::copy_segment | ( | Size const | size, |
| Conformation const & | src, | ||
| Size const | begin, | ||
| Size const | src_begin | ||
| ) |
copy a stretch of coordinates/torsions from another Conformation
copy a stretch of coordinates/torsions from another pose Fires IdentityEvent signals as residues are replaced.
References replace_residue(), residue(), and size().
Referenced by core::pose::Pose::copy_segment().
| void core::conformation::Conformation::debug_pause | ( | bool const | flag | ) | const |
wait for stdin after sending a GeneralEvent signal
References general_obs_hub_.
| bool core::conformation::Conformation::debug_pause | ( | ) | const |
waiting for stdin after sending a GeneralEvent signal?
References general_obs_hub_.
| void core::conformation::Conformation::debug_residue_torsions | ( | bool | verbose = false | ) | const |
debugging
check that the residue torsions are in sync with the residue coords and atomtree coords
References ASSERT_ONLY, atom_tree_, atom_tree_torsion(), core::id::AtomID::atomno(), core::id::BB, core::id::CHI, core::conformation::Residue::chi(), numeric::dihedral(), fold_tree_, get_torsion_angle_atom_ids(), j, core::conformation::Residue::mainchain_atoms(), core::conformation::Residue::mainchain_torsion(), core::conformation::Residue::nchi(), core::io::raw_data::precision, residue(), core::id::AtomID::rsd(), size(), basic::subtract_degree_angles(), subtract_degree_angles(), basic::t_warning, torsion(), type, update_residue_coordinates(), update_residue_torsions(), and xyz().
| void core::conformation::Conformation::declare_chemical_bond | ( | Size const | seqpos1, |
| std::string const & | atom_name1, | ||
| Size const | seqpos2, | ||
| std::string const & | atom_name2 | ||
| ) |
Declare that a chemical bond exists between two residues.
References core::conformation::Residue::atom_index(), core::chemical::ResidueConnection::atomno(), core::conformation::Residue::n_residue_connections(), core::conformation::Residue::name(), core::conformation::Residue::residue_connection(), core::conformation::Residue::residue_connection_partner(), residues_, and utility_exit_with_message.
Referenced by core::util::add_covalent_linkage(), and core::conformation::form_disulfide().
| void core::conformation::Conformation::delete_chain_ending | ( | Size const | seqpos | ) |
Deletes <seqpos> from the list of chain endings.
References chain_endings_, rederive_chain_ids(), and utility_exit_with_message.
| void core::conformation::Conformation::delete_polymer_residue | ( | Size const | seqpos | ) |
Delete polymer residue at the given sequence position.
delete a polymer residues Fires a LengthEvent::RESIDUE_DELETE signal.
References atom_tree_, fold_tree_, notify_length_obs(), pre_nresidue_change(), core::conformation::signals::LengthEvent::RESIDUE_DELETE, residue_torsions_need_updating_, residues_delete(), and size().
Referenced by core::pose::Pose::delete_polymer_residue().
| void core::conformation::Conformation::delete_residue_range_slow | ( | Size const | range_begin, |
| Size const | range_end | ||
| ) |
Slow method that relies on FoldTree::delete_seqpos, rebuilds atomtree, can handle jumps/root residue.
Like above but only one call to setup_atom_tree Fires a LengthEvent::RESIDUE_DELETE signal.
References atom_tree_, fold_tree_, notify_length_obs(), pre_nresidue_change(), core::conformation::signals::LengthEvent::RESIDUE_DELETE, residue_torsions_need_updating_, residues_delete(), setup_atom_tree(), and size().
| void core::conformation::Conformation::delete_residue_slow | ( | Size const | seqpos | ) |
Slow method that relies on FoldTree::delete_seqpos, rebuilds atomtree, can handle jumps/root residue.
Delete a residue from the Conformation the slow way – triggers a rebuild of the atomtree Fires a LengthEvent::RESIDUE_DELETE signal.
LOGIC: uses fold_tree.delete_seqpos to handle shifting the topology around if necessary, then calls setup_atom_tree
References atom_tree_, fold_tree_, notify_length_obs(), pre_nresidue_change(), core::conformation::signals::LengthEvent::RESIDUE_DELETE, residue_torsions_need_updating_, residues_delete(), setup_atom_tree(), and size().
Referenced by core::pose::remove_ligand_canonical_residues(), core::pose::remove_nonprotein_residues(), and core::pose::remove_virtual_residues().
|
inline |
detach ConnectionEvent observer function
| fn | pointer to observer's unary member function with signature void( ConnectionEvent const & ) |
| ptr | pointer to observer object |
References connection_obs_hub_.
Referenced by core::pose::PDBInfo::detach_from(), and core::scoring::constraints::ConstraintSet::detach_from_conformation().
|
inline |
detach GeneralEvent observer function
| fn | pointer to observer's unary member function with signature void( GeneralEvent const & ) |
| ptr | pointer to observer object |
References general_obs_hub_.
|
inline |
detach IdentityEvent observer function
| fn | pointer to observer's unary member function with signature void( IdentityEvent const & ) |
| ptr | pointer to observer object |
References identity_obs_hub_.
Referenced by core::pose::PDBInfo::detach_from().
|
inline |
detach LengthEvent observer function
| fn | pointer to observer's unary member function with signature void( LengthEvent const & ) |
| ptr | pointer to observer object |
References length_obs_hub_.
Referenced by core::pose::PDBInfo::detach_from(), and core::scoring::constraints::ConstraintSet::detach_from_conformation().
|
inline |
detach XYZEvent observer function
| fn | pointer to observer's unary member function with signature void( XYZEvent const & ) |
| ptr | pointer to observer object |
References xyz_obs_hub_.
| void core::conformation::Conformation::detect_bonds | ( | ) |
References core::conformation::Residue::atom(), core::chemical::ResidueType::atom_name(), core::chemical::ResidueConnection::atomno(), core::conformation::Residue::atoms(), core::chemical::AtomICoor::build(), core::conformation::Residue::connection_distance(), core::conformation::Residue::connection_incomplete(), core::chemical::AtomICoor::d(), numeric::xyzVector< class >::distance(), core::conformation::Residue::has_incomplete_connection(), core::chemical::ResidueConnection::icoor(), core::chemical::ResidueType::n_residue_connections(), core::chemical::ResidueType::n_residue_connections_for_atom(), core::conformation::Residue::name(), core::conformation::Residue::nbr_atom(), core::conformation::Residue::nbr_radius(), residue(), core::chemical::ResidueType::residue_connection(), core::conformation::Residue::residue_connection(), residues_, size(), core::conformation::TR, type, core::conformation::Residue::type(), core::conformation::Atom::xyz(), and core::conformation::Residue::xyz().
Referenced by core::io::pdb::build_pose_as_is1(), and core::pose::symmetry::make_symmetric_pose().
|
virtual |
Detect existing disulfides from the protein structure.
For full atom confomations, looks at SG-SG distance. If the SG-SG are about 2.02 A apart, calls it a disulfide bond. For centroid and other conformations, the less accurate CB-CB distance is used instead. In this case a CB-CB distance of 3.72 A is optimal.
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References core::conformation::Residue::aa(), core::chemical::aa_cys, core::conformation::Residue::atom(), core::conformation::Residue::atom_index(), core::conformation::Residue::atoms(), core::conformation::change_cys_state(), basic::CONFORMATION_DETECT_DISULF, numeric::xyzVector< class >::distance(), core::chemical::DISULFIDE, core::chemical::FA_STANDARD, core::conformation::find_neighbors(), fullatom, core::chemical::ResidueType::has(), core::conformation::Residue::has_variant_type(), core::conformation::Residue::nbr_atom(), core::conformation::Residue::nbr_radius(), option, residue(), core::chemical::ResidueType::residue_connection_id_for_atom(), residue_type(), residue_type_set, residues_, size(), core::conformation::TR, core::conformation::Residue::type(), utility_exit, core::conformation::Atom::xyz(), and xyz().
Referenced by core::pose::symmetry::extract_asymmetric_unit(), core::pose::initialize_disulfide_bonds(), and core::pose::symmetry::make_symmetric_pose().
| void core::conformation::Conformation::detect_pseudobonds | ( | ) |
References core::conformation::Residue::actual_residue_connection(), add_pseudobond(), core::chemical::ResidueType::atom_name(), core::chemical::ResidueConnection::atomno(), core::conformation::Residue::is_coarse(), core::chemical::ResidueType::n_residue_connections(), core::conformation::Residue::path_distance(), residue(), residue_(), core::chemical::ResidueType::residue_connection(), core::conformation::Residue::residue_connection(), core::conformation::Residue::residue_connection_conn_id(), core::conformation::Residue::residue_connection_partner(), size(), core::conformation::TR, type, and core::conformation::Residue::type().
Referenced by core::io::pdb::build_pose_as_is1().
Returns the AtomTree degree of freedom (DOF) <id>
References atom_tree_.
Referenced by core::pose::Pose::dof(), and core::conformation::symmetry::SymmetricConformation::set_dof().
| id::DOF_ID core::conformation::Conformation::dof_id_from_torsion_id | ( | TorsionID const & | id | ) | const |
References atom_tree_, core::id::BOGUS_DOF_ID, core::id::get_rb_type(), get_torsion_angle_atom_ids(), core::id::JUMP, jump_atom_id(), core::id::TorsionID::rsd(), core::id::TorsionID::torsion(), and core::id::TorsionID::type().
Referenced by atom_tree_torsion(), core::optimization::symmetry::SymAtomTreeMinimizer::make_assymetric_movemap(), core::optimization::symmetry::SymAtomTreeMinimizer::make_semisymmetric_movemap(), core::pose::symmetry::make_symmetric_movemap(), set_torsion(), core::pose::setup_dof_mask_from_move_map(), core::pose::setup_dof_to_torsion_map(), and torsion().
| kinematics::Stub core::conformation::Conformation::downstream_jump_stub | ( | int const | jump_number | ) | const |
The upstream and downstream Stubs are the coordinate frames between which this jump is transforming.
References atom_tree_, and jump_atom_id().
|
inline |
Returns true if this conformation does not have any residues.
References residues_.
Referenced by core::pose::Pose::empty().
| void core::conformation::Conformation::fill_missing_atoms | ( | id::AtomID_Mask | missing | ) |
References core::kinematics::AtomTree::atom(), core::chemical::ICoorAtomID::atom_id(), core::conformation::Residue::atom_name(), core::conformation::Residue::atom_type(), core::conformation::Residue::build_atom_ideal(), core::conformation::build_residue_tree(), core::id::D, core::chemical::AtomICoor::d(), core::kinematics::AtomTree::dof(), core::conformation::Residue::icoor(), core::kinematics::tree::Atom::input_stub_atom1_id(), core::kinematics::tree::Atom::input_stub_atom2_id(), core::kinematics::tree::Atom::input_stub_atom3_id(), core::chemical::AtomType::is_heavyatom(), core::conformation::Residue::is_virtual(), j, core::conformation::Residue::name(), core::conformation::Residue::natoms(), core::id::PHI, core::chemical::AtomICoor::phi(), residue_(), core::conformation::Residue::seqpos(), set_xyz(), size(), core::kinematics::Stub::spherical(), core::chemical::AtomICoor::stub_atom1(), core::chemical::AtomICoor::stub_atom2(), core::chemical::AtomICoor::stub_atom3(), core::id::THETA, core::chemical::AtomICoor::theta(), core::conformation::TR, core::conformation::Residue::type(), uniform(), numeric::random::uniform(), update_residue_coordinates(), utility_exit_with_message, core::conformation::Residue::xyz(), and xyz().
Referenced by core::io::pdb::build_pose_as_is1().
| void core::conformation::Conformation::fix_disulfides | ( | utility::vector1< std::pair< Size, Size > > | disulf_bonds | ) |
Assigns disulfide bonds based on a pre-determined list.
References core::conformation::Residue::atom_index(), core::conformation::change_cys_state(), core::chemical::DISULFIDE, core::chemical::ResidueType::has(), residue(), core::chemical::ResidueType::residue_connection_id_for_atom(), residues_, size(), core::conformation::TR, core::conformation::Residue::type(), and utility_exit.
Referenced by core::pose::initialize_disulfide_bonds(), and core::io::raw_data::DisulfideFile::read_in_and_set_disulfides().
|
inlinevirtual |
Returns the conformation's FoldTree.
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References fold_tree_.
Referenced by core::optimization::symmetry::SymMinimizerMap::asymmetric_dof(), core::conformation::membrane::MembraneInfo::build_membrane_foldtree(), core::conformation::symmetry::SymmetryInfo::dependent_dofs(), core::conformation::symmetry::SymmetryInfo::dof_is_independent(), core::conformation::Residue::fill_missing_atoms(), core::pose::symmetry::find_new_symmetric_jump_residues(), core::pose::symmetry::find_symmetric_basejump_anchor(), core::conformation::symmetry::SymmetricConformation::fold_tree(), core::pose::Pose::fold_tree(), core::conformation::symmetry::get_asymm_unit_fold_tree(), core::conformation::symmetry::SymmetryInfo::get_dof_derivative_weight(), core::conformation::idealize_position(), core::conformation::symmetry::SymmetricConformation::insert_conformation_by_jump(), insert_conformation_by_jump(), core::conformation::insert_ideal_bonds_at_polymer_junction(), core::conformation::is_ideal_position(), core::conformation::membrane::MembraneInfo::is_membrane(), core::optimization::symmetry::SymAtomTreeMinimizer::make_assymetric_movemap(), core::optimization::symmetry::SymAtomTreeMinimizer::make_semisymmetric_movemap(), core::pose::Pose::num_jump(), core::conformation::symmetry::process_residue_request(), core::conformation::symmetry::set_asymm_unit_fold_tree(), core::conformation::symmetry::set_fold_tree_from_symm_data(), core::conformation::symmetry::setup_symmetric_conformation(), and core::conformation::symmetry::symmetrize_fold_tree().
|
virtual |
Sets the FoldTree to <fold_tree_in>
setup atom tree as well from the fold tree
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References core::kinematics::FoldTree::nres(), setup_atom_tree(), size(), update_residue_coordinates(), and utility_exit_with_message.
|
virtual |
returns a mask of residues to be used in scoring
Returns a mask of residues over which scoring is restricted. Only these residues will be used in constructing the neighbor list.
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References nres, and residues_.
Referenced by core::scoring::NeighborList::setup().
|
virtual |
returns a residue-pair weight
Returns a weight to be used when scoring this residue.
Reimplemented in core::conformation::symmetry::SymmetricConformation.
Referenced by core::scoring::NeighborList::setup().
| kinematics::RT core::conformation::Conformation::get_stub_transform | ( | id::StubID const & | stub_id1, |
| id::StubID const & | stub_id2 | ||
| ) | const |
get the transform between two stubs
References atom_tree_.
Referenced by core::fragment::DownJumpSRFD::steal().
| bool core::conformation::Conformation::get_torsion_angle_atom_ids | ( | TorsionID const & | tor_id, |
| AtomID & | id1, | ||
| AtomID & | id2, | ||
| AtomID & | id3, | ||
| AtomID & | id4 | ||
| ) | const |
get four atoms which defined this torsion
References core::id::AtomID::atomno(), backbone_torsion_angle_atoms(), core::id::BB, core::id::CHI, core::conformation::Residue::chi_atoms(), core::id::JUMP, core::id::NU, core::conformation::Residue::nu_atoms(), residue_(), core::id::AtomID::rsd(), core::id::TorsionID::rsd(), core::id::TorsionID::torsion(), torsion(), core::conformation::TR, core::id::TorsionID::type(), and utility_exit.
Referenced by core::optimization::CartesianMinimizerMap::assign_rosetta_torsions_and_trim(), atom_tree_torsion(), core::optimization::cartesian_collect_torsional_deriv(), core::scoring::rna::RNA_TorsionPotential::check_intra_residue(), debug_residue_torsions(), dof_id_from_torsion_id(), core::pose::rna::RNA_IdealCoord::is_torsion_exists(), core::scoring::rna::RNA_TorsionPotential::print_torsion_info(), set_torsion(), and core::scoring::rna::RNA_TorsionPotential::should_score_torsion().
|
inlinevirtual |
|
private |
Optimizing the common case of assigning a conformation to another with the same sequence.
References atom_tree_, chain, chain_endings_, dof_moved_, fold_tree_, residue_coordinates_need_updating_, residue_torsions_need_updating_, residues_, runtime_assert, secstruct_, size(), structure_moved_, type, and xyz_moved_.
Referenced by operator=().
| void core::conformation::Conformation::insert_chain_ending | ( | Size const | seqpos | ) |
Marks <seqpos> as the end of a new chain.
References chain_endings_, rederive_chain_ids(), and size().
Referenced by core::io::pdb::build_pose_as_is1(), core::pose::create_subpose(), core::fragment::make_pose_from_frags(), and core::io::serialization::read_binary().
|
virtual |
Insert one conformation into another. See FoldTree::insert_fold_tree_by_jump.
Insert one conformation into another. Some tricky issues: (1) residue connections: assume all residue connections within conf carry over, after renumbering residues positions (2) jump numbers: see FoldTree::insert_fold_tree_by_jump (3) chains: chain endings are inserted before insert_seqpos, and after insert_seqpos+conf.size()-1 ie. at the beginning and ending of the inserted conformation; all internal chain endings from conf are used (4) atom_tree: setup_atom_tree is called to rebuild from scratch using the fold_tree
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References chain_end(), chain_endings_, core::id::AtomID_Map< T >::clear(), core::conformation::Residue::clone(), dof_moved_, fold_tree(), fold_tree_, notify_length_obs(), num_chains(), pre_nresidue_change(), rederive_chain_ids(), residue(), core::conformation::signals::LengthEvent::RESIDUE_APPEND, residue_torsions_need_updating_, residues_, core::id::AtomID_Map< T >::resize(), secstruct_, setup_atom_tree(), size(), update_sequence_numbering(), core::conformation::Residue::update_sequence_numbering(), utility_exit_with_message, and xyz_moved_.
Referenced by core::pose::Pose::append_pose_by_jump(), core::conformation::symmetry::SymmetricConformation::insert_conformation_by_jump(), and core::conformation::symmetry::setup_symmetric_conformation().
| void core::conformation::Conformation::insert_fragment | ( | id::StubID const & | instub_id, |
| FragRT const & | outstub_transforms, | ||
| FragXYZ const & | frag_xyz | ||
| ) |
References atom_tree_, and set_dof_moved().
| void core::conformation::Conformation::insert_ideal_geometry_at_polymer_bond | ( | Size const | seqpos | ) |
Set two bond angles and a bond length. DOES NOT DO ANY DIHEDRALS – NOT EVEN OMEGA IF ITS A PROTEIN
References core::chemical::ResidueType::lower_connect(), core::chemical::ResidueType::mainchain_atom(), core::chemical::ResidueType::mainchain_atoms(), numeric::constants::d::pi, rebuild_polymer_bond_dependent_atoms(), residue_type(), set_bond_angle(), set_bond_length(), and core::chemical::ResidueType::upper_connect().
| void core::conformation::Conformation::insert_ideal_geometry_at_residue_connection | ( | Size const | pos1, |
| Size const | connid1 | ||
| ) |
Set two bond angles and a bond length. DOES NOT DO ANY DIHEDRALS – NOT EVEN OMEGA IF ITS A PROTEIN
References numeric::constants::d::pi, rebuild_residue_connection_dependent_atoms(), residues_, set_bond_angle(), and set_bond_length().
|
private |
insert a polymer residue Fires a LengthEvent::RESIDUE_PREPEND signal.
References atom_tree_, const_residues(), fold_tree_, core::conformation::insert_residue_into_atom_tree(), core::conformation::Residue::is_lower_terminus(), core::conformation::Residue::is_upper_terminus(), notify_length_obs(), pre_nresidue_change(), residue_(), core::conformation::signals::LengthEvent::RESIDUE_PREPEND, residue_torsions_need_updating_, residues_insert(), and size().
Referenced by append_polymer_residue_after_seqpos(), and prepend_polymer_residue_before_seqpos().
| void core::conformation::Conformation::insert_residue_by_jump | ( | Residue const & | new_rsd_in, |
| Size const | seqpos, | ||
| Size | anchor_pos, | ||
| std::string const & | anchor_atom = "", |
||
| std::string const & | root_atom = "", |
||
| bool | new_chain = false |
||
| ) |
Insert a new residue by jump. If new_chain is "true", then seqpos must be the last residue of one chain (i.e. residue(seqpos).chain() != residue(seqpos+1).chain() )
insert a residue by jump Fires a LengthEvent::RESIDUE_PREPEND signal.
References ASSERT_ONLY, atom_tree_, const_residues(), fold_tree_, core::conformation::insert_residue_into_atom_tree(), notify_length_obs(), pre_nresidue_change(), residue_(), core::conformation::signals::LengthEvent::RESIDUE_PREPEND, residue_torsions_need_updating_, residues_insert(), runtime_assert, core::conformation::Residue::seqpos(), and size().
Referenced by core::conformation::symmetry::SymmetricConformation::append_residue_by_jump(), and core::pose::Pose::insert_residue_by_jump().
| id::AtomID core::conformation::Conformation::inter_residue_connection_partner | ( | Size const | seqpos, |
| int const | connection_index | ||
| ) | const |
This returns the AtomID of the atom in the other residue to which the "connection_index"-th connection of residue seqpos is connected to.
References core::chemical::ResidueConnection::atomno(), core::conformation::Residue::residue_connection(), core::conformation::Residue::residue_connection_partner(), and residues_.
Referenced by core::chemical::ICoorAtomID::atom_id().
| bool core::conformation::Conformation::is_centroid | ( | ) | const |
convenience test for residue_type_set ( based on two middle residue – to avoid hitting on ligands or pseudos )
References core::chemical::CENTROID, and is_residue_typeset().
Referenced by core::pose::Pose::is_centroid().
| bool core::conformation::Conformation::is_fullatom | ( | ) | const |
convenience test for residue_type_set ( based on two middle residue – to avoid hitting on ligands or pseudos )
References core::chemical::FA_STANDARD, and is_residue_typeset().
Referenced by core::conformation::membrane::MembraneInfo::conformation_changed(), core::conformation::form_disulfide(), core::conformation::membrane::MembraneInfo::init(), and core::pose::Pose::is_fullatom().
|
inline |
convenience test for if the conformation contains information for a membrane protein
References membrane_info_.
|
inlinevirtual |
| bool core::conformation::Conformation::is_residue_typeset | ( | std::string | tag | ) | const |
convenience test for residue_type_set ( based on two middle residue – to avoid hitting on ligands or pseudos )
References correct, core::chemical::ResidueTypeSet::name(), residue_type(), core::chemical::ResidueType::residue_type_set(), size(), and core::conformation::TR.
Referenced by is_centroid(), and is_fullatom().
| Conformation::Jump const & core::conformation::Conformation::jump | ( | int const | jump_number | ) | const |
Returns the Jump with jump number <jump_number>
References atom_tree_, and jump_atom_id().
Referenced by core::pose::Pose::jump(), and core::conformation::symmetry::setup_symmetric_conformation().
| Conformation::Jump const & core::conformation::Conformation::jump | ( | AtomID const & | id | ) | const |
access a jump
References atom_tree_.
| id::AtomID core::conformation::Conformation::jump_atom_id | ( | int const | jump_number | ) | const |
| membrane::MembraneInfoOP core::conformation::Conformation::membrane | ( | ) |
Returns a Membrane Info Object in the conformation.
Membrane Info contains information regarding membrane residues, foldtree modifications, fullatom vs. centroid embedding parameters for scoring and the spanning topology/lipids accessibility data
References membrane_info_.
|
private |
notify ConnectionEvent observers
work in progress void insert_chemical_chainbreak_between_polymer_residues( Size const lower_seqpos ) { ResidueOP lower_rsd( residues_[ lower_seqpos ] );
the type of the desired variant residue ResidueTypeSet const & rsd_set( lower_rsd->residue_type_set() );
ResidueType const & new_lower_rsd_type ( rsd_set.get_residue_type_with_variant_removed( lower_rsd.type(), UPPER_TERMINUS ) ); ResidueOP new_lower_rsd( ResidueFactory::create_residue( new_lower_rsd_type ) ); }
References connection_obs_hub_.
Referenced by clear_observers(), and receive_observers_from().
|
private |
notify GeneralEvent observers
References general_obs_hub_.
Referenced by notify_identity_obs(), notify_length_obs(), and notify_xyz_obs().
|
private |
notify IdentityEvent observers
| e | the event |
| fire_general | fire a GeneralEvent afterwards? default true |
References identity_obs_hub_, and notify_general_obs().
Referenced by operator=(), and replace_residue().
|
private |
notify LengthEvent observers
| e | the event |
| fire_general | fire a GeneralEvent afterwards? default true |
References length_obs_hub_, and notify_general_obs().
Referenced by append_residue(), delete_polymer_residue(), delete_residue_range_slow(), delete_residue_slow(), insert_conformation_by_jump(), insert_polymer_residue(), insert_residue_by_jump(), and operator=().
|
private |
notify XYZEvent observers
| e | the event |
| fire_general | fire a GeneralEvent afterwards? default true |
References notify_general_obs(), and xyz_obs_hub_.
Referenced by operator=(), update_residue_coordinates(), and update_residue_torsions().
|
inline |
Returns the number of chains.
References chain_endings_.
Referenced by core::conformation::membrane::MembraneInfo::build_membrane_foldtree(), core::pose::conf2pdb_chain(), core::pose::conf2pdb_chain_default_map(), core::conformation::symmetry::get_chain2range(), core::pose::get_chain_ids_from_chain(), core::pose::has_chain(), insert_conformation_by_jump(), core::conformation::membrane::MembraneInfo::is_membrane(), core::conformation::membrane::MembraneInfo::num_polymer_chains(), core::pack::task::residue_selector::ChainSelector::select_chain_by_index(), core::conformation::symmetry::setup_symmetric_conformation(), core::pose::Pose::split_by_chain(), and core::conformation::membrane::MembraneInfo::total_polymer_residue().
|
virtual |
equals operator
If lengths & sequence of source and target are different, will fire a LengthEvent::INVALIDATE signal and then an IdentityEvent::INVALIDATE signal.
References atom_tree_, chain_endings_, clear(), basic::CONFORMATION_COPY, contains_carbohydrate_residues_, dof_moved_, fold_tree_, in_place_copy(), core::conformation::signals::LengthEvent::INVALIDATE, core::conformation::signals::IdentityEvent::INVALIDATE, notify_identity_obs(), notify_length_obs(), notify_xyz_obs(), residue_coordinates_need_updating_, residue_torsions_need_updating_, residues_, secstruct_, sequence_matches(), size(), structure_moved_, and xyz_moved_.
Referenced by core::conformation::symmetry::SymmetricConformation::operator=().
|
inlinevirtual |
|
private |
The Conformation must transfer lazily accumulated "moved" data from the AtomTree before changing the number of residues.
Copy any un-registered coordinate or DOF changes into the existing residues. For now, the AtomTree only tracks which Residues need external coordinate changes, and not internal coordinate changes. When internal coordinates go out-of-date in the atom tree, the "update_internal_coordinates" recursion begins at the root. Moreover, the Conformation updates internal coordinates for all residues when it updates. However, when this changes and the AtomTree starts tracking which residues need to have their internal coordinates updated, then it will be necessary to add a call to update_residue_torsions() here.
References update_residue_coordinates().
Referenced by append_polymer_residue_after_seqpos(), append_residue(), append_residue_by_bond(), append_residue_by_jump(), clear(), delete_polymer_residue(), delete_residue_range_slow(), delete_residue_slow(), insert_conformation_by_jump(), insert_polymer_residue(), insert_residue_by_jump(), prepend_polymer_residue_before_seqpos(), and safely_append_polymer_residue_after_seqpos().
| void core::conformation::Conformation::prepend_polymer_residue_before_seqpos | ( | Residue const & | new_rsd, |
| Size const | seqpos, | ||
| bool const | build_ideal_geometry | ||
| ) |
glues to seqpos and perhaps also seqpos-1
Fires a LengthEvent::RESIDUE_PREPEND signal.
References core::conformation::Residue::clone(), dof_moved_, fold_tree_, insert_polymer_residue(), core::conformation::Residue::is_lower_terminus(), core::conformation::Residue::is_upper_terminus(), core::conformation::Residue::lower_connect(), core::conformation::Residue::natoms(), core::conformation::orient_residue_for_ideal_bond(), pre_nresidue_change(), rebuild_polymer_bond_dependent_atoms(), residue_(), residue_coordinates_need_updating_, size(), core::id::AtomID_Map< T >::size(), update_residue_coordinates(), core::conformation::Residue::upper_connect(), and xyz_moved_.
Referenced by core::pose::Pose::prepend_polymer_residue_before_seqpos(), and safely_prepend_polymer_residue_before_seqpos().
|
inlinevirtual |
| void core::conformation::Conformation::rebuild_polymer_bond_dependent_atoms | ( | Size const | seqpos | ) |
Rebuild the atoms ( like HN(seqpos), OC(seqpos+1) ) that are dependent on the polymer bond between seqpos and seqpos+1.
rebuilds the atoms that are dependent on the bond between seqpos and seqpos+1 for their torsion offset
Referenced by append_polymer_residue_after_seqpos(), append_residue_by_bond(), core::conformation::insert_ideal_bonds_at_polymer_junction(), insert_ideal_geometry_at_polymer_bond(), and prepend_polymer_residue_before_seqpos().
|
private |
rebuild atoms in residue seqpos dependent on either the lower (-1) or upper(1) polymer residue
References core::conformation::Residue::atom_name(), core::chemical::AtomICoor::build(), core::chemical::AtomICoor::depends_on_polymer_lower(), core::chemical::AtomICoor::depends_on_polymer_upper(), core::conformation::Residue::icoor(), core::conformation::Residue::natoms(), residue_(), set_xyz(), and update_residue_coordinates().
| void core::conformation::Conformation::rebuild_residue_connection_dependent_atoms | ( | Size const | seqpos, |
| Size const | connid | ||
| ) |
References core::chemical::AtomICoor::build(), core::chemical::AtomICoor::depends_on_residue_connection(), core::conformation::Residue::icoor(), core::conformation::Residue::natoms(), residue_(), set_xyz(), and update_residue_coordinates().
Referenced by insert_ideal_geometry_at_residue_connection().
| void core::conformation::Conformation::receive_observers_from | ( | Conformation const & | src | ) |
fire a ConnectionEvent::TRANSFER to transfer observers from some source Conformation
| src | Take observers from this source Conformation. |
References notify_connection_obs(), and core::conformation::signals::ConnectionEvent::TRANSFER.
Referenced by core::pose::Pose::operator=().
|
private |
References chain, chain_endings_, residues_, and size().
Referenced by residues_append(), residues_delete(), and residues_insert().
|
private |
References chain, chain_endings_, residues_, and size().
Referenced by chain_endings(), chains_from_termini(), delete_chain_ending(), insert_chain_ending(), insert_conformation_by_jump(), reset_chain_endings(), residues_append(), and residues_delete().
|
virtual |
replace residue
replace a residue Fires an IdentityEvent signal.
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References atom_tree_, const_residues(), fold_tree_, notify_identity_obs(), core::conformation::replace_residue_in_atom_tree(), core::conformation::signals::IdentityEvent::RESIDUE, residue_torsions_need_updating_, residues_, and residues_replace().
Referenced by core::conformation::change_cys_state(), copy_segment(), core::conformation::form_disulfide(), core::conformation::idealize_position(), core::conformation::replace_conformation_residue_copying_existing_coordinates(), core::conformation::symmetry::SymmetricConformation::replace_residue(), replace_residue(), and core::pose::Pose::replace_residue().
|
virtual |
function to replace a residue based on superposition on the specified input atom pairs
References core::conformation::Residue::orient_onto_residue(), replace_residue(), and residues_.
| void core::conformation::Conformation::reset_chain_endings | ( | ) |
Resets chain data so that the Conformation is marked as a single chain.
References chain_endings_, and rederive_chain_ids().
| void core::conformation::Conformation::reset_move_data | ( | ) |
forget all the structure modifications
called after domain map information is transferred to the Energies class
References dof_moved_, core::id::AtomID_Map< T >::fill_with(), structure_moved_, and xyz_moved_.
Referenced by core::pose::Pose::update_residue_neighbors().
|
inline |
reset the structure_moved_ bool
References structure_moved_.
Referenced by core::pose::Pose::scoring_begin(), and core::pose::Pose::update_residue_neighbors().
access one of the residues
update coordinates and torsions for this and all other residues before allowing read access
References residue_coordinates_need_updating_, residue_torsions_need_updating_, residues_, runtime_assert, size(), update_residue_coordinates(), and update_residue_torsions().
Referenced by core::conformation::add_variant_type_to_conformation_residue(), core::pose::carbohydrates::align_virtual_atoms_in_carbohydrate_residue(), core::conformation::annotated_atom_graph_from_conformation(), core::conformation::atom_graph_from_conformation(), bonded_neighbor_all_res(), core::conformation::change_cys_state(), copy_segment(), debug_residue_torsions(), detect_bonds(), core::conformation::symmetry::SymmetricConformation::detect_disulfides(), detect_disulfides(), detect_pseudobonds(), core::scoring::constraints::AtomPairConstraint::dist(), core::conformation::disulfide_bonds(), core::conformation::membrane::MembraneInfo::embedding_center(), core::conformation::membrane::MembraneInfo::embedding_depth(), core::conformation::membrane::MembraneInfo::embedding_normal(), fix_disulfides(), core::conformation::form_disulfide(), core::scoring::orbitals::OrbitalsScore::get_E_haro_one_way(), core::scoring::orbitals::OrbitalsScore::get_E_hpol_one_way(), core::pose::get_hash_excluding_chain(), core::pose::get_hash_from_chain(), core::scoring::orbitals::OrbitalsScore::get_orb_orb_E(), core::pose::get_sha1_hash_excluding_chain(), core::conformation::symmetry::SymmetricConformation::get_upstream_vrt(), core::conformation::idealize_position(), core::conformation::symmetry::SymmetricConformation::insert_conformation_by_jump(), insert_conformation_by_jump(), core::conformation::insert_ideal_bonds_at_polymer_junction(), core::conformation::insert_ideal_mainchain_bonds(), core::conformation::is_disulfide_bond(), core::conformation::is_ideal_position(), core::scoring::mm::MMBondAngleResidueTypeParamSet::lookup(), core::conformation::membrane::MembraneInfo::membrane_center(), core::conformation::membrane::MembraneInfo::membrane_normal(), core::conformation::membrane::MembraneInfo::membrane_thickness(), core::conformation::print_atom(), core::conformation::symmetry::SymmetricConformation::recalculate_transforms(), core::conformation::symmetry::recenter(), core::conformation::remove_variant_type_from_conformation_residue(), core::conformation::replace_conformation_residue_copying_existing_coordinates(), core::scoring::func::ConformationXYZ::residue(), core::pose::Pose::residue(), core::conformation::symmetry::residue_center_of_mass(), core::conformation::residue_point_graph_from_conformation(), core::conformation::symmetry::return_nearest_residue(), sequence_matches(), core::conformation::symmetry::set_fold_tree_from_symm_data(), core::conformation::symmetry::setup_symmetric_conformation(), torsion(), core::conformation::ConformationKinWriter::write_coords(), and core::pose::Pose::xyz().
Returns a residue without triggering coordinate/torsion update.
Use with care. Useful inside torsion/coordinate setters where we want chemical info about a given residue but don't want to trigger the coordinate/torsion updates that go along with a call to residue(seqpos)
References residues_, and size().
Referenced by append_polymer_residue_after_seqpos(), append_residue_by_bond(), backbone_torsion_angle_atoms(), detect_pseudobonds(), fill_missing_atoms(), get_torsion_angle_atom_ids(), insert_polymer_residue(), insert_residue_by_jump(), jump_atom_id(), prepend_polymer_residue_before_seqpos(), rebuild_polymer_bond_dependent_atoms(), rebuild_residue_connection_dependent_atoms(), and set_polymeric_connection().
|
inline |
access one of the residue's types – avoids coord/torsion update
References residues_, and size().
Referenced by core::conformation::annotated_atom_graph_from_conformation(), core::conformation::atom_graph_from_conformation(), core::chemical::ICoorAtomID::atom_id(), core::conformation::symmetry::SymmetricConformation::detect_disulfides(), detect_disulfides(), core::conformation::form_disulfide(), core::pose::initialize_atomid_map(), core::pose::initialize_atomid_map_heavy_only(), insert_ideal_geometry_at_polymer_bond(), is_residue_typeset(), core::scoring::mm::MMBondAngleResidueTypeParamSet::lookup(), core::conformation::symmetry::recenter(), core::pose::Pose::residue_type(), and core::chemical::ICoorAtomID::xyz().
|
private |
PRIVATE: wrap direct access to the Residues container for appending
References chain, core::conformation::Residue::clone(), dof_moved_, core::conformation::Residue::natoms(), nres, rederive_chain_endings(), rederive_chain_ids(), residues_, core::id::AtomID_Map< T >::resize(), secstruct_, structure_moved_, core::conformation::TR, update_polymeric_connection(), and xyz_moved_.
Referenced by append_residue().
|
private |
PRIVATE: wrap direct access to the Residues container for replacement also handles redimensioning and setting of the _moved arrays and updating of sequence numbers
References rederive_chain_endings(), rederive_chain_ids(), residues_, secstruct_, update_polymeric_connection(), and update_sequence_numbering().
Referenced by delete_polymer_residue(), delete_residue_range_slow(), and delete_residue_slow().
|
private |
PRIVATE: wrap direct access to the Residues container for replacement also handles redimensioning and setting of the _moved arrays and updating of sequence numbers
References chain, core::conformation::Residue::clone(), dof_moved_, core::conformation::Residue::name(), core::conformation::Residue::natoms(), rederive_chain_endings(), residues_, secstruct_, structure_moved_, update_polymeric_connection(), update_sequence_numbering(), and xyz_moved_.
Referenced by insert_polymer_residue(), and insert_residue_by_jump().
|
private |
wrap direct access to the Residues container
PRIVATE: wrap direct access to the Residues container for replacement also handles redimensioning and setting of the _moved arrays
References core::conformation::Residue::clone(), dof_moved_, core::conformation::Residue::natoms(), residues_, structure_moved_, and xyz_moved_.
Referenced by replace_residue().
| void core::conformation::Conformation::safely_append_polymer_residue_after_seqpos | ( | Residue const & | new_rsd, |
| Size const | seqpos, | ||
| bool const | build_ideal_geometry | ||
| ) |
glues to seqpos and perhaps also seqpos+1, removes termini variants if necessary
References append_polymer_residue_after_seqpos(), pre_nresidue_change(), and core::conformation::remove_upper_terminus_type_from_conformation_residue().
| void core::conformation::Conformation::safely_prepend_polymer_residue_before_seqpos | ( | Residue const & | new_rsd, |
| Size const | seqpos, | ||
| bool const | build_ideal_geometry | ||
| ) |
glues to seqpos and perhaps also seqpos-1, removes termini variants if necessary
Fires a LengthEvent::RESIDUE_PREPEND signal.
References prepend_polymer_residue_before_seqpos(), and core::conformation::remove_lower_terminus_type_from_conformation_residue().
|
virtual |
determine the type of the ConformationOP
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References same_type_as_me().
Referenced by core::pose::Pose::operator=(), core::import_pose::pose_from_pdb(), core::conformation::symmetry::SymmetricConformation::same_type_as_me(), and same_type_as_me().
|
inline |
Returns the secondary structure the position <seqpos>
References secstruct_.
Referenced by core::pose::Pose::dump_scored_pdb(), core::scoring::MembranePotential::non_helix_in_membrane_penalty(), core::scoring::methods::EnvEnergy::residue_energy(), core::scoring::methods::CenPairEnergy::residue_pair_energy(), and core::pose::Pose::secstruct().
| bool core::conformation::Conformation::sequence_matches | ( | Conformation const & | other | ) | const |
do the names of all residues in this and src match?
Am I composed of the same sequence of ResidueType objects as other? DANGER! Fails, unexpectedly, if a histidine pair has a different tautomerization. tex, 9/12/08 The above comment points out that this method isn't a clearly defined idea, because there are many ways that someone could imagine comparing the a sequence, including:
References core::conformation::Residue::chain(), core::conformation::Residue::connections_match(), residue(), size(), and core::conformation::Residue::type().
Referenced by operator=().
|
virtual |
Sets the bond angle defined by <atom[1-3]> to <setting>
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References atom_tree_, and set_dof_moved().
Referenced by core::fragment::BBTorsionAndAnglesSRFD::apply(), core::conformation::idealize_position(), core::conformation::insert_ideal_bonds_at_polymer_junction(), insert_ideal_geometry_at_polymer_bond(), insert_ideal_geometry_at_residue_connection(), core::conformation::insert_ideal_mainchain_bonds(), core::conformation::symmetry::SymmetricConformation::set_bond_angle(), and core::pose::Pose::set_ring_conformation().
|
virtual |
Sets the cond length between <atom1> and <atom2> to <setting>
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References atom_tree_, and set_dof_moved().
Referenced by core::conformation::idealize_position(), core::conformation::insert_ideal_bonds_at_polymer_junction(), insert_ideal_geometry_at_polymer_bond(), insert_ideal_geometry_at_residue_connection(), core::conformation::insert_ideal_mainchain_bonds(), and core::conformation::symmetry::SymmetricConformation::set_bond_length().
Sets the AtomTree degree of freedom (DOF) <id> to <setting>
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References atom_tree_, residue_torsions_need_updating_, and set_dof_moved().
Referenced by core::conformation::symmetry::SymmetricConformation::set_dof(), and core::pose::Pose::set_dof().
|
inlineprivate |
notify of dof-change
References dof_moved_, residue_coordinates_need_updating_, and structure_moved_.
Referenced by insert_fragment(), set_bond_angle(), set_bond_length(), set_dof(), set_jump(), set_stub_transform(), set_torsion(), and set_torsion_angle().
|
inlineprivate |
notify of dof-change
References dof_moved_, residue_coordinates_need_updating_, and structure_moved_.
|
virtual |
Sets the jump <jump_number> to <new_jump>
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References atom_tree_, jump_atom_id(), core::kinematics::Jump::ortho_check(), and set_dof_moved().
Referenced by core::conformation::symmetry::SymmetricConformation::set_jump(), and core::pose::Pose::set_jump().
|
virtual |
set a jump
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References atom_tree_, core::kinematics::Jump::ortho_check(), and set_dof_moved().
| void core::conformation::Conformation::set_jump_atom_stub_id | ( | id::StubID const & | id | ) |
References atom_tree_.
| void core::conformation::Conformation::set_polymeric_connection | ( | Size | res_id_lower, |
| Size | res_id_upper | ||
| ) |
identify polymeric connections
The lower residue connects to the upper residue through its upper_connect connection The upper residue connects to the lower residue through its lower_connect connection
References residue_(), residues_, and type.
Referenced by update_polymeric_connection().
|
inlinevirtual |
Sets the secondary structure of the position <seqpos> to <setting>
Sets secondary structure character of a sequence position. Will resize the secondary structure array if the requested sequence position is larger than the length of the array.
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References secstruct_.
Referenced by core::conformation::symmetry::SymmetricConformation::set_secstruct(), and core::pose::Pose::set_secstruct().
| void core::conformation::Conformation::set_stub_transform | ( | id::StubID const & | stub_id1, |
| id::StubID const & | stub_id2, | ||
| kinematics::RT const & | target_rt | ||
| ) |
Set the transform between two stubs – only works if there's a jump between the two sets of stubatoms.
References atom_tree_, and set_dof_moved().
Referenced by core::fragment::DownJumpSRFD::apply(), core::io::silent::BinarySilentStruct::fill_pose(), core::io::silent::ProteinSilentStruct_Template< T >::fill_pose(), and core::pose::swap_transform().
|
virtual |
Sets the AtomTree DOF and the torsion in the corresponding Residue.
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References atom_tree_, core::id::BB, core::id::CHI, dof_id_from_torsion_id(), get_torsion_angle_atom_ids(), core::id::JUMP, core::id::NU, numeric::conversions::radians(), radians(), residues_, core::id::TorsionID::rsd(), set_dof_moved(), core::id::TorsionID::torsion(), core::conformation::TR, and core::id::TorsionID::type().
Referenced by core::pose::Pose::set_alpha(), core::pose::Pose::set_beta(), core::pose::Pose::set_chi(), core::pose::Pose::set_delta(), core::pose::Pose::set_epsilon(), core::pose::Pose::set_gamma(), core::pose::Pose::set_omega(), core::pose::Pose::set_phi(), core::pose::Pose::set_psi(), core::conformation::symmetry::SymmetricConformation::set_torsion(), core::pose::Pose::set_torsion(), and core::pose::Pose::set_zeta().
|
virtual |
Sets the torsion angle defined by <atom[1-4]> to <setting>
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References atom_tree_, residue_torsions_need_updating_, set_dof_moved(), and core::conformation::TR.
Referenced by core::pose::carbohydrates::set_glycosidic_torsion(), and core::conformation::symmetry::SymmetricConformation::set_torsion_angle().
|
virtual |
Reimplemented in core::conformation::symmetry::SymmetricConformation.
References atom_tree_, residues_, and set_xyz_moved().
Referenced by core::pose::carbohydrates::align_virtual_atoms_in_carbohydrate_residue(), fill_missing_atoms(), core::conformation::symmetry::SymmetricConformation::insert_conformation_by_jump(), rebuild_polymer_bond_dependent_atoms(), rebuild_residue_connection_dependent_atoms(), core::conformation::symmetry::recenter(), core::conformation::symmetry::SymmetricConformation::set_xyz(), and core::pose::Pose::set_xyz().
|
inlineprivate |
notify of xyz-change
References residue_torsions_need_updating_, structure_moved_, and xyz_moved_.
Referenced by batch_set_xyz(), and set_xyz().
|
inlineprivate |
notify of mutiple-xyz-change
References residue_torsions_need_updating_, structure_moved_, and xyz_moved_.
|
private |
(re-)builds the AtomTree using the FoldTree and the Residues
References atom_tree_, core::conformation::build_tree(), const_residues(), fold_tree_, residue_coordinates_need_updating_, residue_torsions_need_updating_, and update_residue_torsions().
Referenced by append_residue(), delete_residue_range_slow(), delete_residue_slow(), fold_tree(), and insert_conformation_by_jump().
| void core::conformation::Conformation::setup_membrane | ( | utility::vector1< std::pair< int, int > > | embres_map, |
| int | membrane | ||
| ) |
Setup a Membrane Info Object inside the conformation.
Given Embedding and Membrane Positions, Setup a Membrane Info Object.
MembraneInfo contains information regarding membrane residues, foldtree modifications, fullatom vs. centroid embedding parameters for scoring and the spanning topology/lipids accessibility data
References membrane_info_.
| void core::conformation::Conformation::show_residue_connections | ( | ) | const |
Show residue connections for debugging purposes.
References core::conformation::TR.
Referenced by core::conformation::operator<<().
| void core::conformation::Conformation::show_residue_connections | ( | std::ostream & | os | ) | const |
Show residue connections for debugging purposes.
References core::conformation::Residue::connect_map(), core::chemical::ResConnID::connid(), j, core::conformation::Residue::n_non_polymeric_residue_connections(), core::conformation::Residue::n_polymeric_residue_connections(), core::conformation::Residue::n_residue_connections(), core::conformation::Residue::name(), core::chemical::ResConnID::resid(), core::conformation::Residue::residue_connect_atom_index(), residues_, and size().
|
inline |
Returns the number of residues in the Conformation.
References residues_.
Referenced by aa(), core::conformation::annotated_atom_graph_from_conformation(), core::pose::Pose::annotated_sequence(), append_polymer_residue_after_seqpos(), append_residue(), append_residue_by_bond(), append_residue_by_jump(), core::conformation::atom_graph_from_conformation(), chain_end(), chain_endings(), chains_from_termini(), Conformation(), core::conformation::membrane::MembraneInfo::conformation_changed(), const_residues(), copy_segment(), debug_residue_torsions(), delete_polymer_residue(), delete_residue_range_slow(), delete_residue_slow(), detect_bonds(), core::conformation::symmetry::SymmetricConformation::detect_disulfides(), detect_disulfides(), detect_pseudobonds(), core::conformation::disulfide_bonds(), core::scoring::disulfides::FullatomDisulfideEnergy::ensure_lrenergy_container_is_up_to_date(), fill_missing_atoms(), core::conformation::Residue::fill_missing_atoms(), core::pose::symmetry::find_new_symmetric_jump_residues(), fix_disulfides(), fold_tree(), core::conformation::idealize_position(), in_place_copy(), core::conformation::membrane::MembraneInfo::init(), core::pose::initialize_atomid_map(), core::pose::initialize_atomid_map_heavy_only(), insert_chain_ending(), core::conformation::symmetry::SymmetricConformation::insert_conformation_by_jump(), insert_conformation_by_jump(), core::conformation::insert_ideal_bonds_at_polymer_junction(), core::conformation::insert_ideal_mainchain_bonds(), insert_polymer_residue(), insert_residue_by_jump(), core::conformation::is_ideal_position(), core::conformation::membrane::MembraneInfo::is_membrane(), is_residue_typeset(), core::optimization::symmetry::SymAtomTreeMinimizer::make_assymetric_movemap(), core::pose::symmetry::make_symmetric_movemap(), core::pose::Pose::n_residue(), operator=(), prepend_polymer_residue_before_seqpos(), core::conformation::symmetry::process_residue_request(), core::conformation::symmetry::SymmetricConformation::recalculate_transforms(), core::conformation::symmetry::recenter(), rederive_chain_endings(), rederive_chain_ids(), residue(), residue_(), core::conformation::residue_point_graph_from_conformation(), residue_type(), core::pose::Pose::sequence(), sequence_matches(), core::conformation::symmetry::set_fold_tree_from_symm_data(), core::conformation::symmetry::setup_symmetric_conformation(), show_residue_connections(), core::conformation::symmetry::symmetrize_fold_tree(), core::conformation::membrane::MembraneInfo::total_polymer_residue(), core::pose::Pose::total_residue(), update_actcoords(), update_domain_map(), update_polymeric_connection(), core::pose::Pose::update_pose_chains_from_pdb_chains(), update_residue_torsions(), update_sequence_numbering(), core::conformation::ConformationKinWriter::write_coords(), and core::chemical::ICoorAtomID::xyz().
|
inline |
has the structure moved since the last call to reset_move_data or reset_structure_moved
References structure_moved_.
Referenced by core::pack::create_packer_graph(), core::pose::Pose::scoring_begin(), and core::pose::Pose::update_residue_neighbors().
| kinematics::Stub core::conformation::Conformation::stub_from_id | ( | id::StubID const & | id | ) | const |
References atom_tree_.
Referenced by core::pose::Pose::stub_from_id().
Returns the torsion angle <id>
References atom_tree_, core::id::BB, numeric::conversions::degrees(), dof_id_from_torsion_id(), core::id::JUMP, residue(), core::id::TorsionID::rsd(), core::id::TorsionID::torsion(), and core::id::TorsionID::type().
Referenced by backbone_torsion_angle_atoms(), debug_residue_torsions(), get_torsion_angle_atom_ids(), core::conformation::symmetry::SymmetricConformation::set_torsion(), and core::pose::Pose::torsion().
| Real core::conformation::Conformation::torsion_angle | ( | AtomID const & | atom1, |
| AtomID const & | atom2, | ||
| AtomID const & | atom3, | ||
| AtomID const & | atom4 | ||
| ) | const |
Returns the torsion angle defined by <atom[1-4]>
References atom_tree_.
Referenced by core::pose::carbohydrates::get_glycosidic_torsion().
| void core::conformation::Conformation::unblock_signals | ( | ) |
allow signals to be sent
If unblocking after buffering, buffered/held signals will be sent.
References general_obs_hub_, identity_obs_hub_, length_obs_hub_, and xyz_obs_hub_.
| void core::conformation::Conformation::update_actcoord | ( | Size | resid | ) |
References residues_.
Referenced by core::pose::Pose::update_actcoord().
| void core::conformation::Conformation::update_actcoords | ( | ) |
References residues_, and size().
Referenced by core::pose::Pose::update_actcoords().
| void core::conformation::Conformation::update_domain_map | ( | DomainMap & | domain_map | ) | const |
Generate a domain_map from the current dof/xyz moved data.
References atom_tree_, dof_moved_, size(), and xyz_moved_.
Referenced by core::pose::Pose::update_residue_neighbors().
| void core::conformation::Conformation::update_orbital_coords | ( | Residue & | rsd | ) | const |
References core::conformation::Residue::atoms_with_orb_index(), core::conformation::Residue::bonded_orbitals(), core::conformation::Residue::build_orbital_xyz(), and core::conformation::Residue::set_orbital_xyz().
Referenced by core::pose::Pose::update_orbital_coords(), update_residue_coordinates(), and update_residue_torsions().
| void core::conformation::Conformation::update_polymeric_connection | ( | Size const | lower_seqpos | ) |
Update the polymer connection status between lower_seqpos and lower_seqpos+1 based on chainID's and termini.
References core::conformation::Residue::chain(), core::conformation::Residue::has_variant_type(), core::conformation::Residue::is_lower_terminus(), core::conformation::Residue::is_polymer(), residues_, set_polymeric_connection(), and size().
Referenced by residues_append(), residues_delete(), and residues_insert().
|
private |
Will (if necessary) copy the xyz coordinates from the AtomTree to the Residues being managed.
The AtomTree is responsible for tracking the set of residues whose coordinates need updating, and informs the Conformation object of these residues. The Conformation only updates coordinates for this subset of residues.
References atom_tree_, notify_xyz_obs(), PROF_START, PROF_STOP, residue_coordinates_need_updating_, and basic::UPDATE_RESIDUE_COORDINATES.
Referenced by append_polymer_residue_after_seqpos(), append_residue_by_bond(), debug_residue_torsions(), fill_missing_atoms(), fold_tree(), pre_nresidue_change(), prepend_polymer_residue_before_seqpos(), rebuild_polymer_bond_dependent_atoms(), rebuild_residue_connection_dependent_atoms(), and residue().
|
private |
Will (if necessary) copy the torsion angles (mainchain/chi) from the AtomTree to the Residues being managed.
References notify_xyz_obs(), PROF_START, PROF_STOP, residue_torsions_need_updating_, residues_, size(), and basic::UPDATE_RESIDUE_TORSIONS.
Referenced by debug_residue_torsions(), residue(), and setup_atom_tree().
|
private |
remap *_moved arrays, sequence numbering in the residues_ arrays, etc, after insertion or deletion of rsds
private need to update:
References dof_moved_, residues_, size(), core::id::AtomID_Map< T >::update_sequence_numbering(), and xyz_moved_.
Referenced by insert_conformation_by_jump(), residues_delete(), and residues_insert().
| kinematics::Stub core::conformation::Conformation::upstream_jump_stub | ( | int const | jump_number | ) | const |
The upstream and downstream Stubs are the coordinate frames between which this jump is transforming.
References atom_tree_, and jump_atom_id().
Referenced by core::scoring::DockingScoreFunction::operator()(), and core::pose::symmetry::rotate_anchor_to_x_axis().
| PointPosition const & core::conformation::Conformation::xyz | ( | AtomID const & | id | ) | const |
access xyz coordinates of an atom
References atom_tree_.
Referenced by core::pose::carbohydrates::align_virtual_atoms_in_carbohydrate_residue(), batch_get_xyz(), debug_residue_torsions(), core::conformation::symmetry::SymmetricConformation::detect_disulfides(), detect_disulfides(), core::scoring::constraints::AtomPairConstraint::dist(), core::scoring::methods::CustomAtomPairEnergy::eval_atom_derivative(), fill_missing_atoms(), core::pose::get_hash_excluding_chain(), core::pose::get_hash_from_chain(), core::pose::get_sha1_hash_excluding_chain(), core::scoring::func::ConformationXYZ::operator()(), core::conformation::symmetry::recenter(), core::scoring::constraints::DistancePairConstraint::score(), core::scoring::constraints::DihedralPairConstraint::score(), core::scoring::constraints::DihedralConstraint::score(), core::chemical::ICoorAtomID::xyz(), and core::pose::Pose::xyz().
|
private |
atom tree for the kinematics
Referenced by append_residue(), atom_tree(), atom_tree_torsion(), batch_set_xyz(), bond_angle(), bond_length(), clear(), Conformation(), debug_residue_torsions(), delete_polymer_residue(), delete_residue_range_slow(), delete_residue_slow(), dof(), dof_id_from_torsion_id(), downstream_jump_stub(), get_stub_transform(), in_place_copy(), insert_fragment(), insert_polymer_residue(), insert_residue_by_jump(), jump(), operator=(), replace_residue(), set_bond_angle(), set_bond_length(), set_dof(), set_jump(), set_jump_atom_stub_id(), set_stub_transform(), set_torsion(), set_torsion_angle(), set_xyz(), setup_atom_tree(), stub_from_id(), torsion(), torsion_angle(), update_domain_map(), update_residue_coordinates(), upstream_jump_stub(), and xyz().
|
private |
ResidueCOPs const_residues_; // mirrors residues_ allowing const access – this will be reinstated soon.
chain number for each position
conformation is in charge of making sure that the Residue chain ID's and the chain_endings_ vector stay in sync.
Referenced by chain_begin(), chain_end(), chain_endings(), chains_from_termini(), clear(), Conformation(), delete_chain_ending(), in_place_copy(), insert_chain_ending(), insert_conformation_by_jump(), num_chains(), operator=(), rederive_chain_endings(), rederive_chain_ids(), and reset_chain_endings().
|
mutableprivate |
ConnectionEvent observers.
Referenced by attach_connection_obs(), clear_observers(), detach_connection_obs(), and notify_connection_obs().
|
private |
Referenced by Conformation(), contains_carbohydrate_residues(), and operator=().
|
private |
book-keeping array for energy evaluations
store which DOF's have changed since the last call to reset_move_data note that we are not currently differentiating dof's from the same atom
Referenced by append_polymer_residue_after_seqpos(), clear(), Conformation(), in_place_copy(), insert_conformation_by_jump(), operator=(), prepend_polymer_residue_before_seqpos(), reset_move_data(), residues_append(), residues_insert(), residues_replace(), set_dof_moved(), update_domain_map(), and update_sequence_numbering().
|
private |
fold tree for the kinematics
Referenced by append_polymer_residue_after_seqpos(), append_residue(), backbone_torsion_angle_atoms(), clear(), Conformation(), debug_residue_torsions(), delete_polymer_residue(), delete_residue_range_slow(), delete_residue_slow(), fold_tree(), in_place_copy(), insert_conformation_by_jump(), insert_polymer_residue(), insert_residue_by_jump(), jump_atom_id(), operator=(), prepend_polymer_residue_before_seqpos(), replace_residue(), and setup_atom_tree().
|
mutableprivate |
GeneralEvent observers.
Referenced by attach_general_obs(), block_signals(), blocking_signals(), buffer_signals(), buffering_signals(), clear_observers(), debug_pause(), detach_general_obs(), notify_general_obs(), and unblock_signals().
|
mutableprivate |
IdentityEvent observers.
Referenced by attach_identity_obs(), block_signals(), buffer_signals(), clear_observers(), detach_identity_obs(), notify_identity_obs(), and unblock_signals().
|
mutableprivate |
LengthEvent observers.
Referenced by attach_length_obs(), block_signals(), buffer_signals(), clear_observers(), detach_length_obs(), notify_length_obs(), and unblock_signals().
|
private |
Membrane Info object.
Referenced by is_membrane(), membrane(), and setup_membrane().
|
mutableprivate |
do we need to update the coordinates in the Residues?
Referenced by append_polymer_residue_after_seqpos(), append_residue_by_bond(), Conformation(), in_place_copy(), operator=(), prepend_polymer_residue_before_seqpos(), residue(), set_dof_moved(), setup_atom_tree(), and update_residue_coordinates().
|
mutableprivate |
do we need to update the torsion angles in the Residues?
Referenced by append_residue(), Conformation(), delete_polymer_residue(), delete_residue_range_slow(), delete_residue_slow(), in_place_copy(), insert_conformation_by_jump(), insert_polymer_residue(), insert_residue_by_jump(), operator=(), replace_residue(), residue(), set_dof(), set_torsion_angle(), set_xyz_moved(), setup_atom_tree(), and update_residue_torsions().
|
protected |
container of Residues
Referenced by aa(), add_pseudobond(), append_residue(), append_residue_by_bond(), atom_is_backbone_norefold(), backbone_torsion_angle_atoms(), batch_set_xyz(), chains_from_termini(), clear(), Conformation(), const_residues(), declare_chemical_bond(), detect_bonds(), core::conformation::symmetry::SymmetricConformation::detect_disulfides(), detect_disulfides(), empty(), fix_disulfides(), get_residue_mask(), in_place_copy(), insert_conformation_by_jump(), insert_ideal_geometry_at_residue_connection(), inter_residue_connection_partner(), jump_atom_id(), operator=(), rederive_chain_endings(), rederive_chain_ids(), replace_residue(), residue(), residue_(), residue_type(), residues_append(), residues_delete(), residues_insert(), residues_replace(), set_polymeric_connection(), set_torsion(), set_xyz(), show_residue_connections(), size(), update_actcoord(), update_actcoords(), update_orbital_coords(), update_polymeric_connection(), update_residue_coordinates(), update_residue_torsions(), and update_sequence_numbering().
|
private |
|
mutableprivate |
has the structure moved since the last call to reset_move_data?
Referenced by Conformation(), in_place_copy(), operator=(), reset_move_data(), reset_structure_moved(), residues_append(), residues_insert(), residues_replace(), set_dof_moved(), set_xyz_moved(), and structure_moved().
|
private |
book-keeping array for energy evaluations
store which xyz's have changed since the last call to reset_move_data
Referenced by append_polymer_residue_after_seqpos(), clear(), Conformation(), in_place_copy(), insert_conformation_by_jump(), operator=(), prepend_polymer_residue_before_seqpos(), reset_move_data(), residues_append(), residues_insert(), residues_replace(), set_xyz_moved(), update_domain_map(), and update_sequence_numbering().
|
mutableprivate |
LengthEvent observers.
Referenced by attach_xyz_obs(), block_signals(), buffer_signals(), clear_observers(), detach_xyz_obs(), notify_xyz_obs(), and unblock_signals().
1.8.7