|
Rosetta 3.5
|
insert an external segment flanked by new regions More...
#include <SegmentInsert.hh>


Public Types | |
| typedef Super::Size | Size |
| typedef Super::Real | Real |
| typedef Super::ResidueTypeSetCAP | ResidueTypeSetCAP |
| typedef Super::LengthEvent | LengthEvent |
| typedef Super::MoveMap | MoveMap |
| typedef Super::Pose | Pose |
| typedef Super::Positions | Positions |
| typedef Super::String | String |
Public Types inherited from protocols::forge::build::BuildInstruction | |
| typedef core::Size | Size |
| typedef core::Real | Real |
| typedef core::chemical::ResidueTypeSet | ResidueTypeSet |
| typedef core::chemical::ResidueTypeSetCAP | ResidueTypeSetCAP |
| typedef core::conformation::signals::LengthEvent | LengthEvent |
| typedef core::kinematics::MoveMap | MoveMap |
| typedef core::pose::Pose | Pose |
| typedef utility::vector1 < BuildInstructionCAP > | BuildInstructionCAPs |
| typedef utility::signals::Link | Link |
| typedef std::set< Size > | Positions |
| typedef std::string | String |
Public Member Functions | |
| SegmentInsert () | |
| default constructor More... | |
| SegmentInsert (Interval const &i, String const &ss, Pose const &insert, bool const keep_known_bb_torsions_at_junctions=false, SegmentInsertConnectionScheme::Enum connection_scheme=SegmentInsertConnectionScheme::RANDOM_SIDE) | |
| sec.struct only constructor (poly-ala for flanking regions) More... | |
| SegmentInsert (Interval const &i, String const &ss, String const &aa, Pose const &insert, bool const keep_known_bb_torsions_at_junctions=false, SegmentInsertConnectionScheme::Enum connection_scheme=SegmentInsertConnectionScheme::RANDOM_SIDE) | |
| sec.struct + aa constructor More... | |
| SegmentInsert (SegmentInsert const &rval) | |
| copy constructor More... | |
| virtual | ~SegmentInsert () |
| default destructor More... | |
| SegmentInsert & | operator= (SegmentInsert const &rval) |
| copy assignment More... | |
| virtual BuildInstructionOP | clone () const |
| clone this object More... | |
| bool | performing_pure_insertion () const |
| performing a pure insertion/extension? More... | |
| bool | keep_known_bb_torsions_at_junctions () const |
| Attempt to keep the phi at original_interval().left and the psi+omega at original_interval().right present from the original Pose in the modified Pose? Not applicable for pure insertions. Default False. More... | |
| Pose const & | insert_pose () const |
| the pose to insert More... | |
| String const & | ss () const |
| get secondary structure string (includes insertion point as '^') More... | |
| String const & | aa () const |
| get annotated amino acid string (includes insertion point as '^') More... | |
| SegmentInsertConnectionScheme::Enum | insert_connection_scheme () const |
| get the insert connection scheme – whether the insertion will be glued on the N-side, C-side, or if SegmentInsert will pick randomly between the two More... | |
| Size | insertion_point_absolute_index () const |
| get the absolute index of the insertion point with respect to the flanking regions (i.e. the index inside the ss string) More... | |
| Size | insertion_start_residue () const |
| get the residue at the start of the insertion relative to the modified interval (flanking positions are not part of the insertion!) More... | |
| Size | insertion_end_residue () const |
| get the residue at the end of the insertion relative to the modified interval (flanking positions are not part of the insertion!) More... | |
| Size | flanking_left_nres () const |
| get the number of flanking residues to the left of the insertion point More... | |
| Size | flanking_right_nres () const |
| get the number of flanking residues to the right of the insertion point More... | |
| String | flanking_left_ss () const |
| get the ss string of the flanking residues to the left of the insertion point More... | |
| String | flanking_right_ss () const |
| get the ss string of the flanking residues to the right of the insertion point More... | |
| String | flanking_left_aa () const |
| get the annotated aa string of the flanking residues to the left of the insertion point More... | |
| String | flanking_right_aa () const |
| get the annotated aa string of the flanking residues to the right of the insertion point More... | |
| MoveMap const & | insert_pose_torsion_override_movemap () const |
| a torsion (bb/chi) specific override movemap indexed wrt the insert Pose (residue indices may only be within the range [1, insert_pose.n_residue()] More... | |
| virtual bool | original_interval_valid () const |
| is the original interval storing valid information, or is empty or being used for something else? More... | |
| virtual Interval | interval () const |
| a copy of the working range of residues specifying the modified region More... | |
| virtual Positions | preexisting_positions () const |
| return a copy of the set of positions within the new region that were pre-existing in the original Pose prior to modify() More... | |
| virtual Positions | new_positions () const |
| return a copy of the set of positions that are "new" and did not exist in the original Pose. More... | |
| virtual Positions | defined_positions () const |
| return a copy of the set of positions within the newly modified region that has a defined conformation. E.g. existing or copied residues. More... | |
| virtual Positions | undefined_positions () const |
| return a copy of the set of positions within the newly modified region that has an undefined conformation. E.g. newly created residues. More... | |
| virtual MoveMap | movemap () const |
| return a copy of the MoveMap that defines the moveable/fixed positions/dofs for this instruction More... | |
| void | insert_pose_torsion_override_movemap (MoveMap const &mm) |
| set a torsion (bb/chi) specific override movemap indexed wrt the insert Pose (residue indices may only be within the range [1, insert_pose.n_residue()] More... | |
| virtual void | on_residue_append (LengthEvent const &event) |
| update indexing on residue append More... | |
| virtual void | on_residue_prepend (LengthEvent const &event) |
| update indexing on residue prepend More... | |
| virtual void | on_residue_delete (LengthEvent const &event) |
| update indexing on residue delete More... | |
| virtual Positions | original_kept_positions () const |
| return the set of positions within the original interval that will be kept in this BuildInstruction More... | |
| virtual Positions | original_deleted_positions () const |
| return set of positions within the original interval that will be deleted in this BuildInstruction More... | |
| virtual Positions | original_fixed_positions () const |
| return set of any fixed positions necessary with respect to the original interval and original Pose numbering More... | |
| virtual Positions | original_mutable_positions () const |
| return set of any mutable positions necessary with respect to the original interval and original Pose numbering More... | |
| virtual bool | creates_undefined_backbone () const |
| does this object create undefined backbone in the modified region? More... | |
Public Member Functions inherited from protocols::forge::build::BuildInstruction | |
| BuildInstruction () | |
| default constructor More... | |
| BuildInstruction (Interval const &i, ResidueTypeSetCAP rts=core::chemical::ChemicalManager::get_instance() ->residue_type_set(core::chemical::FA_STANDARD)) | |
| interval constructor More... | |
| BuildInstruction (BuildInstruction const &rval) | |
| copy constructor More... | |
| virtual | ~BuildInstruction () |
| default destructor More... | |
| BuildInstruction & | operator= (BuildInstruction const &rval) |
| copy assignment More... | |
| BuildInstructionState::Enum | modify (Pose &pose) |
| modify this pose More... | |
| BuildInstructionState::Enum | state () const |
| return the state of this BuildInstruction More... | |
| bool | ready () const |
| Is the BuildInstruction's state at READY? More... | |
| bool | waiting_on_dependencies () const |
| Is the BuildInstruction's state at WAITING_ON_DEPENDENCIES? More... | |
| bool | modify_was_successful () const |
| Is the BuildInstruction's state at MODIFY_WAS_SUCCESSFUL? More... | |
| void | attach_to (Pose &pose) |
| attach to a Pose's conformation More... | |
| void | detach_from () |
| detach from a Pose's conformation More... | |
| void | on_length_change (LengthEvent const &event) |
| update any indexing wrt length change to Pose/Conformation being watched More... | |
| bool | detach_after_modify () const |
| detach after modify()? More... | |
| Interval const & | original_interval () const |
| return original residue range of this instruction More... | |
| ResidueTypeSet const & | residue_type_set () const |
| the residue type set being used More... | |
| bool | has_dependencies () const |
| does this BuildInstruction have dependencies? More... | |
| Size | n_dependencies () const |
| the number of dependencies this BuildInstruction has More... | |
| BuildInstructionCAPs const & | dependencies () const |
| the list of instructions whose modify() must complete before the modify() for this instruction may be called successfully More... | |
| void | detach_after_modify (bool const flag) |
| set detach after modify() More... | |
| void | reset_accounting () |
| reset intervals, positions, etc to initial state and drop observers. State set to READY. More... | |
| virtual void | add_dependency_to (BuildInstructionCAP i) |
| add an instruction to this BuildInstruction's dependency list More... | |
| virtual bool | dependent_on (BuildInstructionCAP i) const |
| is this instruction dependent upon the given instruction? More... | |
| void | clear_dependencies () |
| clear the list of dependencies More... | |
| virtual bool | compatible_with (BuildInstruction const &rval) const |
| compares fixed and mutable positions to determine compatibility with another instruction More... | |
Static Public Member Functions | |
| static char | insertion_char () |
| the character representing the insertion point More... | |
Protected Member Functions | |
| virtual bool | dependencies_satisfied () const |
| are dependencies satisfied so that modify_impl() can complete successfully? More... | |
| virtual void | modify_impl (Pose &pose) |
| do the actual work of modifying the Pose More... | |
| virtual void | reset_accounting_impl () |
| do the actual reset of intervals, positions, etc to initial state More... | |
Protected Member Functions inherited from protocols::forge::build::BuildInstruction | |
| Link const & | length_obs_link () const |
| access to the Conformation length observer link More... | |
| void | state (BuildInstructionState::Enum const s) |
| set the BuildInstruction's current state More... | |
Private Types | |
| typedef BuildInstruction | Super |
Private Member Functions | |
| void | init () |
| init to be called during non-default constructors More... | |
Private Attributes | |
| Interval | interval_ |
| the working range of residues More... | |
| String | ss_ |
| secondary structure string defining the flanking regions and the insertion point More... | |
| String | aa_ |
| annotated amino acid string including the insertion point More... | |
| bool | keep_known_bb_torsions_at_junctions_ |
| Attempt to keep the omega at original_interval().left-1, the phi at original_interval().left and the psi+omega at original_interval().right present from the original Pose in the modified Pose? This should be false for pure insertions. More... | |
| SegmentInsertConnectionScheme::Enum | insert_connection_scheme_ |
| connect insertion on its N-side, C-side, or decide randomly between the two (default RANDOM_SIDE) More... | |
| Pose | insert_pose_ |
| insert this Pose More... | |
| MoveMap | insert_pose_torsion_override_movemap_ |
| a torsion (bb/chi) specific override movemap indexed wrt the insert Pose (residue indices may only be within the range [1, insert_pose.n_residue()] More... | |
insert an external segment flanked by new regions
Definition at line 51 of file SegmentInsert.hh.
| typedef Super::LengthEvent protocols::forge::build::SegmentInsert::LengthEvent |
Definition at line 67 of file SegmentInsert.hh.
| typedef Super::MoveMap protocols::forge::build::SegmentInsert::MoveMap |
Definition at line 68 of file SegmentInsert.hh.
| typedef Super::Pose protocols::forge::build::SegmentInsert::Pose |
Definition at line 69 of file SegmentInsert.hh.
| typedef Super::Positions protocols::forge::build::SegmentInsert::Positions |
Definition at line 71 of file SegmentInsert.hh.
| typedef Super::Real protocols::forge::build::SegmentInsert::Real |
Definition at line 64 of file SegmentInsert.hh.
| typedef Super::ResidueTypeSetCAP protocols::forge::build::SegmentInsert::ResidueTypeSetCAP |
Definition at line 66 of file SegmentInsert.hh.
| typedef Super::Size protocols::forge::build::SegmentInsert::Size |
Definition at line 63 of file SegmentInsert.hh.
| typedef Super::String protocols::forge::build::SegmentInsert::String |
Definition at line 72 of file SegmentInsert.hh.
|
private |
Definition at line 57 of file SegmentInsert.hh.
| protocols::forge::build::SegmentInsert::SegmentInsert | ( | ) |
| protocols::forge::build::SegmentInsert::SegmentInsert | ( | Interval const & | i, |
| String const & | ss, | ||
| Pose const & | insert, | ||
| bool const | keep_known_bb_torsions_at_junctions = false, |
||
| SegmentInsertConnectionScheme::Enum | connection_scheme = SegmentInsertConnectionScheme::RANDOM_SIDE |
||
| ) |
sec.struct only constructor (poly-ala for flanking regions)
| [in] | interval | The interval between which the insert will span. To perform a pure insertion without replacing any residues within a region, use an interval with a zero as the left endpoint, e.g. [0, insert_after_this_residue]. If inserting before the first residue of the Pose then interval = [0,0]. If inserting after the last residue of the Pose then interval = [0, last_residue]. |
| [in] | ss | The secondary structure specifying the flanking regions, with a character '^' specifying where the insert is to be placed. |
| [in] | insert | The Pose to insert. |
| [in] | keep_known_bb_torsions_at_junctions | Attempt to keep the omega at original_interval().left-1, the phi at original_interval().left, and the psi+omega at original_interval().right present from the original Pose in the modified Pose. This should be false for pure insertions. |
| [in] | connection_scheme | Connect insertion on its N-side, C-side, or decide randomly between the two (default RANDOM). |
Definition at line 76 of file SegmentInsert.cc.
References aa_, init(), insertion_char(), keep_known_bb_torsions_at_junctions_, performing_pure_insertion(), ss_, and protocols::forge::build::TR().
| protocols::forge::build::SegmentInsert::SegmentInsert | ( | Interval const & | i, |
| String const & | ss, | ||
| String const & | aa, | ||
| Pose const & | insert, | ||
| bool const | keep_known_bb_torsions_at_junctions = false, |
||
| SegmentInsertConnectionScheme::Enum | connection_scheme = SegmentInsertConnectionScheme::RANDOM_SIDE |
||
| ) |
sec.struct + aa constructor
| [in] | interval | The interval between which the insert will span. To perform a pure insertion without replacing any residues within a region, use an interval with a zero as the left endpoint, e.g. [0, insert_after_this_residue]. If inserting before the first residue of the Pose then interval = [0,0]. If inserting after the last residue of the Pose then interval = [0, last_residue]. |
| [in] | ss | The secondary structure specifying the flanking regions, with a character '^' specifying where the insert is to be placed. |
| [in] | aa | The annotated amino acid string specifying the flanking regions, with a character '^' specifying where the insert is to be placed. |
| [in] | insert | The Pose to insert. |
| [in] | keep_known_bb_torsions_at_junctions | Attempt to keep the omega at original_interval().left-1, the phi at original_interval().left, and the psi+omega at original_interval().right present from the original Pose in the modified Pose. This should be false for pure insertions. |
| [in] | connection_scheme | Connect insertion on its N-side, C-side, or decide randomly between the two (default RANDOM). |
Definition at line 129 of file SegmentInsert.cc.
References aa_, core::pose::annotated_to_oneletter_sequence(), init(), insertion_char(), keep_known_bb_torsions_at_junctions_, performing_pure_insertion(), ss_, and protocols::forge::build::TR().
| protocols::forge::build::SegmentInsert::SegmentInsert | ( | SegmentInsert const & | rval) |
copy constructor
Definition at line 174 of file SegmentInsert.cc.
|
virtual |
default destructor
Definition at line 186 of file SegmentInsert.cc.
|
inline |
get annotated amino acid string (includes insertion point as '^')
Definition at line 204 of file SegmentInsert.hh.
References aa_.
|
virtual |
clone this object
Implements protocols::forge::build::BuildInstruction.
Definition at line 207 of file SegmentInsert.cc.
References SegmentInsert().
|
inlinevirtual |
does this object create undefined backbone in the modified region?
Implements protocols::forge::build::BuildInstruction.
Definition at line 403 of file SegmentInsert.hh.
|
virtual |
return a copy of the set of positions within the newly modified region that has a defined conformation. E.g. existing or copied residues.
This set can change wrt length changes in Pose/Conformation being watched.
Implements protocols::forge::build::BuildInstruction.
Definition at line 315 of file SegmentInsert.cc.
References protocols::forge::methods::closed_range(), insertion_end_residue(), and insertion_start_residue().
|
inlineprotectedvirtual |
are dependencies satisfied so that modify_impl() can complete successfully?
Reimplemented from protocols::forge::build::BuildInstruction.
Definition at line 416 of file SegmentInsert.hh.
| SegmentInsert::String protocols::forge::build::SegmentInsert::flanking_left_aa | ( | ) | const |
get the annotated aa string of the flanking residues to the left of the insertion point
Definition at line 272 of file SegmentInsert.cc.
References aa_, and insertion_char().
Referenced by modify_impl().
| SegmentInsert::Size protocols::forge::build::SegmentInsert::flanking_left_nres | ( | ) | const |
get the number of flanking residues to the left of the insertion point
Definition at line 244 of file SegmentInsert.cc.
References insertion_char(), and ss_.
Referenced by modify_impl().
| SegmentInsert::String protocols::forge::build::SegmentInsert::flanking_left_ss | ( | ) | const |
get the ss string of the flanking residues to the left of the insertion point
Definition at line 258 of file SegmentInsert.cc.
References insertion_char(), and ss_.
Referenced by modify_impl().
| SegmentInsert::String protocols::forge::build::SegmentInsert::flanking_right_aa | ( | ) | const |
get the annotated aa string of the flanking residues to the right of the insertion point
Definition at line 279 of file SegmentInsert.cc.
References aa_, and insertion_char().
Referenced by modify_impl().
| SegmentInsert::Size protocols::forge::build::SegmentInsert::flanking_right_nres | ( | ) | const |
get the number of flanking residues to the right of the insertion point
Definition at line 251 of file SegmentInsert.cc.
References insertion_char(), and ss_.
Referenced by modify_impl().
| SegmentInsert::String protocols::forge::build::SegmentInsert::flanking_right_ss | ( | ) | const |
get the ss string of the flanking residues to the right of the insertion point
Definition at line 265 of file SegmentInsert.cc.
References insertion_char(), and ss_.
Referenced by modify_impl().
|
private |
init to be called during non-default constructors
Definition at line 1196 of file SegmentInsert.cc.
References core::pose::Pose::conformation(), insert_pose_, core::conformation::Residue::is_lower_terminus(), core::pose::Pose::n_residue(), core::conformation::remove_lower_terminus_type_from_conformation_residue(), core::conformation::remove_upper_terminus_type_from_conformation_residue(), and core::pose::Pose::residue().
Referenced by SegmentInsert().
|
inline |
get the insert connection scheme – whether the insertion will be glued on the N-side, C-side, or if SegmentInsert will pick randomly between the two
Definition at line 213 of file SegmentInsert.hh.
References insert_connection_scheme_.
Referenced by modify_impl().
| SegmentInsert::Pose const & protocols::forge::build::SegmentInsert::insert_pose | ( | ) | const |
|
inline |
a torsion (bb/chi) specific override movemap indexed wrt the insert Pose (residue indices may only be within the range [1, insert_pose.n_residue()]
Definition at line 269 of file SegmentInsert.hh.
References insert_pose_torsion_override_movemap_.
Referenced by movemap().
| void protocols::forge::build::SegmentInsert::insert_pose_torsion_override_movemap | ( | MoveMap const & | mm) |
set a torsion (bb/chi) specific override movemap indexed wrt the insert Pose (residue indices may only be within the range [1, insert_pose.n_residue()]
Definition at line 444 of file SegmentInsert.cc.
References core::id::BB, core::id::CHI, insert_pose_, insert_pose_torsion_override_movemap_, core::kinematics::MoveMap::movemap_torsion_id_begin(), core::kinematics::MoveMap::movemap_torsion_id_end(), core::pose::Pose::n_residue(), core::kinematics::MoveMap::torsion_id_begin(), core::kinematics::MoveMap::torsion_id_end(), core::kinematics::MoveMap::torsion_type_begin(), core::kinematics::MoveMap::torsion_type_end(), and protocols::forge::build::TR().
|
inlinestatic |
the character representing the insertion point
Definition at line 168 of file SegmentInsert.hh.
Referenced by flanking_left_aa(), flanking_left_nres(), flanking_left_ss(), flanking_right_aa(), flanking_right_nres(), flanking_right_ss(), insertion_end_residue(), insertion_point_absolute_index(), insertion_start_residue(), and SegmentInsert().
| SegmentInsert::Size protocols::forge::build::SegmentInsert::insertion_end_residue | ( | ) | const |
get the residue at the end of the insertion relative to the modified interval (flanking positions are not part of the insertion!)
Definition at line 237 of file SegmentInsert.cc.
References insert_pose_, insertion_char(), interval(), protocols::forge::build::Interval::left, core::pose::Pose::n_residue(), and ss_.
Referenced by defined_positions(), movemap(), and undefined_positions().
| SegmentInsert::Size protocols::forge::build::SegmentInsert::insertion_point_absolute_index | ( | ) | const |
get the absolute index of the insertion point with respect to the flanking regions (i.e. the index inside the ss string)
Definition at line 221 of file SegmentInsert.cc.
References insertion_char(), and ss_.
| SegmentInsert::Size protocols::forge::build::SegmentInsert::insertion_start_residue | ( | ) | const |
get the residue at the start of the insertion relative to the modified interval (flanking positions are not part of the insertion!)
Definition at line 229 of file SegmentInsert.cc.
References insertion_char(), interval(), protocols::forge::build::Interval::left, and ss_.
Referenced by defined_positions(), movemap(), and undefined_positions().
|
virtual |
a copy of the working range of residues specifying the modified region
This residue range can change wrt length changes in Pose /Conformation being watched.
Implements protocols::forge::build::BuildInstruction.
Definition at line 287 of file SegmentInsert.cc.
References interval_.
Referenced by insertion_end_residue(), insertion_start_residue(), movemap(), new_positions(), and undefined_positions().
|
inline |
Attempt to keep the phi at original_interval().left and the psi+omega at original_interval().right present from the original Pose in the modified Pose? Not applicable for pure insertions. Default False.
Definition at line 186 of file SegmentInsert.hh.
References keep_known_bb_torsions_at_junctions_.
|
protectedvirtual |
do the actual work of modifying the Pose
Implements protocols::forge::build::BuildInstruction.
Definition at line 593 of file SegmentInsert.cc.
References core::kinematics::FoldTree::begin(), protocols::forge::build::SegmentInsertConnectionScheme::C, core::conformation::Residue::clone(), core::pose::Pose::conformation(), core::conformation::Conformation::delete_residue_range_slow(), core::kinematics::dir_jump, core::kinematics::FoldTree::end(), protocols::forge::methods::find_connecting_jump(), protocols::forge::methods::find_cutpoint(), flanking_left_aa(), flanking_left_nres(), flanking_left_ss(), flanking_right_aa(), flanking_right_nres(), flanking_right_ss(), core::pose::Pose::fold_tree(), core::conformation::get_anchor_atomno(), protocols::forge::methods::grow_left_r(), protocols::forge::methods::grow_left_rtype(), protocols::forge::methods::grow_right_r(), protocols::forge::methods::grow_right_rtype(), insert_connection_scheme(), insert_connection_scheme_, core::conformation::Conformation::insert_ideal_geometry_at_polymer_bond(), insert_pose_, interval_, core::kinematics::FoldTree::is_cutpoint(), core::conformation::Residue::is_lower_terminus(), core::conformation::Residue::is_upper_terminus(), keep_known_bb_torsions_at_junctions_, protocols::forge::build::Interval::left, protocols::forge::build::Interval::length(), protocols::forge::build::SegmentInsertConnectionScheme::N, core::pose::Pose::n_residue(), core::pose::Pose::omega(), protocols::forge::methods::order(), protocols::forge::build::BuildInstruction::original_interval(), core::pose::Pose::pdb_info(), performing_pure_insertion(), core::pose::Pose::phi(), core::pose::Pose::psi(), protocols::forge::build::SegmentInsertConnectionScheme::RANDOM_SIDE, core::pose::Pose::residue(), protocols::forge::build::BuildInstruction::residue_type_set(), core::pose::residue_types_from_sequence(), protocols::forge::build::RG(), protocols::forge::build::Interval::right, core::kinematics::FoldTree::root(), core::pose::Pose::secstruct(), core::pose::Pose::set_omega(), core::pose::Pose::set_phi(), core::pose::Pose::set_psi(), core::pose::Pose::set_secstruct(), and protocols::forge::methods::trans_omega().
|
virtual |
return a copy of the MoveMap that defines the moveable/fixed positions/dofs for this instruction
This set can change wrt length changes in Pose/Conformation being watched.
Implements protocols::forge::build::BuildInstruction.
Definition at line 346 of file SegmentInsert.cc.
References core::id::BB, insert_pose_torsion_override_movemap(), insertion_end_residue(), insertion_start_residue(), interval(), keep_known_bb_torsions_at_junctions_, protocols::forge::build::Interval::left, core::id::omega_torsion(), core::id::phi_torsion(), core::id::psi_torsion(), protocols::forge::build::Interval::right, core::kinematics::MoveMap::set(), and core::kinematics::MoveMap::set_bb().
|
virtual |
return a copy of the set of positions that are "new" and did not exist in the original Pose.
Implements protocols::forge::build::BuildInstruction.
Definition at line 302 of file SegmentInsert.cc.
References protocols::forge::methods::closed_range(), interval(), protocols::forge::build::Interval::left, and protocols::forge::build::Interval::right.
|
virtual |
update indexing on residue append
Implements protocols::forge::build::BuildInstruction.
Definition at line 503 of file SegmentInsert.cc.
References interval_, protocols::forge::build::Interval::left, core::conformation::signals::LengthEvent::position, and protocols::forge::build::Interval::right.
|
virtual |
update indexing on residue delete
Implements protocols::forge::build::BuildInstruction.
Definition at line 531 of file SegmentInsert.cc.
References interval_, protocols::forge::build::Interval::left, core::conformation::signals::LengthEvent::length_change, core::conformation::signals::LengthEvent::position, and protocols::forge::build::Interval::right.
|
virtual |
update indexing on residue prepend
Implements protocols::forge::build::BuildInstruction.
Definition at line 517 of file SegmentInsert.cc.
References interval_, protocols::forge::build::Interval::left, core::conformation::signals::LengthEvent::position, and protocols::forge::build::Interval::right.
| SegmentInsert & protocols::forge::build::SegmentInsert::operator= | ( | SegmentInsert const & | rval) |
copy assignment
Definition at line 190 of file SegmentInsert.cc.
References aa_, insert_connection_scheme_, insert_pose_, insert_pose_torsion_override_movemap_, interval_, protocols::forge::build::BuildInstruction::operator=(), and ss_.
|
virtual |
return set of positions within the original interval that will be deleted in this BuildInstruction
Implements protocols::forge::build::BuildInstruction.
Definition at line 561 of file SegmentInsert.cc.
References protocols::forge::methods::closed_range(), core::sequence::left, and protocols::forge::build::BuildInstruction::original_interval().
Referenced by original_mutable_positions().
|
virtual |
return set of any fixed positions necessary with respect to the original interval and original Pose numbering
Implements protocols::forge::build::BuildInstruction.
Definition at line 572 of file SegmentInsert.cc.
References core::sequence::left, and protocols::forge::build::BuildInstruction::original_interval().
|
inlinevirtual |
is the original interval storing valid information, or is empty or being used for something else?
Implements protocols::forge::build::BuildInstruction.
Definition at line 282 of file SegmentInsert.hh.
|
virtual |
return the set of positions within the original interval that will be kept in this BuildInstruction
Implements protocols::forge::build::BuildInstruction.
Definition at line 552 of file SegmentInsert.cc.
|
virtual |
return set of any mutable positions necessary with respect to the original interval and original Pose numbering
Implements protocols::forge::build::BuildInstruction.
Definition at line 586 of file SegmentInsert.cc.
References original_deleted_positions().
|
inline |
performing a pure insertion/extension?
Definition at line 177 of file SegmentInsert.hh.
References protocols::forge::build::Interval::left, and protocols::forge::build::BuildInstruction::original_interval().
Referenced by modify_impl(), and SegmentInsert().
|
virtual |
return a copy of the set of positions within the new region that were pre-existing in the original Pose prior to modify()
Implements protocols::forge::build::BuildInstruction.
Definition at line 295 of file SegmentInsert.cc.
|
protectedvirtual |
do the actual reset of intervals, positions, etc to initial state
Implements protocols::forge::build::BuildInstruction.
Definition at line 1190 of file SegmentInsert.cc.
References interval_, and protocols::forge::build::BuildInstruction::original_interval().
|
inline |
get secondary structure string (includes insertion point as '^')
Definition at line 197 of file SegmentInsert.hh.
References ss_.
|
virtual |
return a copy of the set of positions within the newly modified region that has an undefined conformation. E.g. newly created residues.
This set can change wrt length changes in Pose/Conformation being watched.
Implements protocols::forge::build::BuildInstruction.
Definition at line 327 of file SegmentInsert.cc.
References protocols::forge::methods::insert_closed_range(), insertion_end_residue(), insertion_start_residue(), interval(), protocols::forge::build::Interval::left, and protocols::forge::build::Interval::right.
|
private |
annotated amino acid string including the insertion point
Length of the one-letter version must be equal to length of ss. The insertion point must exist in the same spot as the insertion point in secondary structure string.
Definition at line 462 of file SegmentInsert.hh.
Referenced by aa(), flanking_left_aa(), flanking_right_aa(), operator=(), and SegmentInsert().
|
private |
connect insertion on its N-side, C-side, or decide randomly between the two (default RANDOM_SIDE)
Definition at line 481 of file SegmentInsert.hh.
Referenced by insert_connection_scheme(), modify_impl(), and operator=().
|
private |
insert this Pose
Definition at line 485 of file SegmentInsert.hh.
Referenced by init(), insert_pose(), insert_pose_torsion_override_movemap(), insertion_end_residue(), modify_impl(), and operator=().
|
private |
a torsion (bb/chi) specific override movemap indexed wrt the insert Pose (residue indices may only be within the range [1, insert_pose.n_residue()]
Definition at line 493 of file SegmentInsert.hh.
Referenced by insert_pose_torsion_override_movemap(), and operator=().
|
private |
the working range of residues
Definition at line 447 of file SegmentInsert.hh.
Referenced by interval(), modify_impl(), on_residue_append(), on_residue_delete(), on_residue_prepend(), operator=(), and reset_accounting_impl().
|
private |
Attempt to keep the omega at original_interval().left-1, the phi at original_interval().left and the psi+omega at original_interval().right present from the original Pose in the modified Pose? This should be false for pure insertions.
If True, during modify(), will (1) set the omega of interval_.left-1 in the newly modified Pose equal to the omega of the original Pose at original_interval().left-1, (2) set the phi of interval_.left in the newly modified Pose equal to the phi of the original Pose in original_interval().right, and (3) set the psi+omega of interval_.right in the newly modified Pose equal to the original psi+omega of original_interval().right. Default False.
Definition at line 476 of file SegmentInsert.hh.
Referenced by keep_known_bb_torsions_at_junctions(), modify_impl(), movemap(), and SegmentInsert().
|
private |
secondary structure string defining the flanking regions and the insertion point
The insertion point is marked as '^'. For instance, "L^LLL" means one residue to the left of the insertion point and three residues to the right of the insertion point.
Definition at line 455 of file SegmentInsert.hh.
Referenced by flanking_left_nres(), flanking_left_ss(), flanking_right_nres(), flanking_right_ss(), insertion_end_residue(), insertion_point_absolute_index(), insertion_start_residue(), operator=(), SegmentInsert(), and ss().
1.8.4