Rosetta 3.4
Public Member Functions | Protected Member Functions | Static Protected Attributes
protocols::nonlocal::StarTreeBuilder Class Reference

#include <StarTreeBuilder.hh>

Inheritance diagram for protocols::nonlocal::StarTreeBuilder:
Inheritance graph
[legend]
Collaboration diagram for protocols::nonlocal::StarTreeBuilder:
Collaboration graph
[legend]

List of all members.

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.
void tear_down (core::pose::Pose *pose)
 Removes the virtual residue added to <pose> in calls to set_up()

Protected Member Functions

core::Size choose_anchor_position (const protocols::loops::Loop &chunk) const
 Stochastically selects an anchor position.
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.

Static Protected Attributes

static const std::string PREFIX_INITIAL = "initial"
static const std::string PREFIX_FINAL = "final"

Constructor & Destructor Documentation

protocols::nonlocal::StarTreeBuilder::StarTreeBuilder ( )

Member Function Documentation

core::Size protocols::nonlocal::StarTreeBuilder::choose_anchor_position ( const protocols::loops::Loop chunk) const [protected]

Stochastically selects an anchor position.

mu- midpoint of the chunk sigma- linear function of chunk length

References protocols::loops::Loop::length(), protocols::loops::Loop::start(), and protocols::loops::Loop::stop().

Referenced by set_up().

void protocols::nonlocal::StarTreeBuilder::do_compute_jump_rmsd ( core::pose::Pose model,
const std::string &  prefix = "" 
) const [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.

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().

void protocols::nonlocal::StarTreeBuilder::set_up ( const protocols::loops::Loops chunks,
core::pose::Pose pose 
) [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.

References core::pose::addVirtualResAsRoot(), protocols::loops::Loops::begin(), protocols::loops::Loops::center_of_mass(), choose_anchor_position(), 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(), and core::kinematics::FoldTree::tree_from_jumps_and_cuts().

Referenced by protocols::nonlocal::SheetTranslate::apply(), protocols::nonlocal::HelixRotate::apply(), and protocols::medal::MedalMover::apply().

void protocols::nonlocal::StarTreeBuilder::tear_down ( core::pose::Pose pose) [virtual]

Member Data Documentation

const std::string protocols::nonlocal::StarTreeBuilder::PREFIX_FINAL = "final" [static, protected]

Referenced by tear_down().

const std::string protocols::nonlocal::StarTreeBuilder::PREFIX_INITIAL = "initial" [static, protected]

Referenced by set_up().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines