|
Rosetta 3.5
|
#include <StarTreeBuilder.hh>


Public Member Functions | |
| StarTreeBuilder () | |
| void | set_up (const protocols::loops::Loops &chunks, core::pose::Pose *pose) |
| Constructs a star fold tree by placing a virtual residue at <chunks> center of mass and adding jumps from it to a stochastically chosen anchor residue in each chunk. Cutpoints are added on chunk boundaries. More... | |
| void | tear_down (core::pose::Pose *pose) |
| Removes the virtual residue added to <pose> in calls to set_up() More... | |
Protected Member Functions | |
| core::Size | choose_anchor_position (const protocols::loops::Loop &chunk) const |
| Stochastically selects an anchor position. More... | |
| void | do_compute_jump_rmsd (core::pose::Pose *model, const std::string &prefix="") const |
| When native is available, computes rmsd of jump residues, storing the results as comments in silent file output. If specified, prefix string will precede the result in the silent file output. More... | |
Static Protected Attributes | |
| static const std::string | PREFIX_INITIAL = "initial" |
| static const std::string | PREFIX_FINAL = "final" |
Private Attributes | |
| int | virtual_res_ |
| Index of the virtual residue we added to the pose in set_up() More... | |
Definition at line 37 of file StarTreeBuilder.hh.
| protocols::nonlocal::StarTreeBuilder::StarTreeBuilder | ( | ) |
Definition at line 55 of file StarTreeBuilder.cc.
|
protected |
Stochastically selects an anchor position.
mu- midpoint of the chunk sigma- linear function of chunk length
Definition at line 167 of file StarTreeBuilder.cc.
References protocols::loops::Loop::length(), protocols::loops::Loop::start(), and protocols::loops::Loop::stop().
Referenced by set_up().
|
protected |
When native is available, computes rmsd of jump residues, storing the results as comments in silent file output. If specified, prefix string will precede the result in the silent file output.
Definition at line 127 of file StarTreeBuilder.cc.
References core::pose::add_comment(), core::scoring::compute_jump_rmsd(), core::import_pose::pose_from_pdb(), and protocols::kinmatch::str().
Referenced by set_up(), and tear_down().
|
virtual |
Constructs a star fold tree by placing a virtual residue at <chunks> center of mass and adding jumps from it to a stochastically chosen anchor residue in each chunk. Cutpoints are added on chunk boundaries.
Note: assumes <chunks> are sorted in increasing order of start position.
Important: chunks must be sorted in increasing order of start position. The simplest way to achieve this is a call to Loops::sequential_order().
Additionally, every residue in pose must belong to one and only one chunk.
Implements protocols::nonlocal::TreeBuilder.
Definition at line 58 of file StarTreeBuilder.cc.
References core::pose::addVirtualResAsRoot(), protocols::loops::Loops::begin(), protocols::loops::Loops::center_of_mass(), choose_anchor_position(), protocols::loops::cut_point, do_compute_jump_rmsd(), protocols::loops::Loops::end(), core::pose::Pose::fold_tree(), protocols::loops::Loops::num_loop(), PREFIX_INITIAL, protocols::loops::Loop::stop(), core::pose::Pose::total_residue(), core::kinematics::FoldTree::tree_from_jumps_and_cuts(), and virtual_res_.
Referenced by protocols::medal::MedalMover::apply(), protocols::nonlocal::SheetTranslate::apply(), and protocols::nonlocal::HelixRotate::apply().
|
virtual |
Removes the virtual residue added to <pose> in calls to set_up()
Reimplemented from protocols::nonlocal::TreeBuilder.
Definition at line 154 of file StarTreeBuilder.cc.
References core::pose::Pose::conformation(), core::conformation::Conformation::delete_residue_slow(), do_compute_jump_rmsd(), PREFIX_FINAL, and virtual_res_.
|
staticprotected |
Definition at line 40 of file StarTreeBuilder.hh.
Referenced by tear_down().
|
staticprotected |
Definition at line 39 of file StarTreeBuilder.hh.
Referenced by set_up().
|
private |
Index of the virtual residue we added to the pose in set_up()
Definition at line 70 of file StarTreeBuilder.hh.
Referenced by set_up(), and tear_down().
1.8.4