Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
nonlocal
StarTreeBuilder.hh
Go to the documentation of this file.
1
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2
// vi: set ts=2 noet:
3
//
4
// (c) Copyright Rosetta Commons Member Institutions.
5
// (c) This file is part of the Rosetta software suite and is made available under license.
6
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9
10
/// @file protocols/nonlocal/StarTreeBuilder.hh
11
/// @author Christopher Miles (cmiles@uw.edu)
12
13
#ifndef INCLUDED_PROTOCOLS_NONLOCAL_STARTREEBUILDER_HH
14
#define INCLUDED_PROTOCOLS_NONLOCAL_STARTREEBUILDER_HH
15
16
// Unit headers
17
#include <
protocols/nonlocal/StarTreeBuilder.fwd.hh
>
18
19
// C/C++ headers
20
#include <string>
21
22
// Project headers
23
#include <
core/types.hh
>
24
#include <
core/pose/Pose.fwd.hh
>
25
#include <
protocols/loops/Loop.fwd.hh
>
26
#include <
protocols/loops/Loops.fwd.hh
>
27
28
// Package headers
29
#include <
protocols/nonlocal/TreeBuilder.hh
>
30
31
#include <utility/vector1.hh>
32
33
34
namespace
protocols {
35
namespace
nonlocal {
36
37
class
StarTreeBuilder
:
public
TreeBuilder
{
38
protected
:
39
static
const
std::string
PREFIX_INITIAL
;
40
static
const
std::string
PREFIX_FINAL
;
41
42
public
:
43
StarTreeBuilder
();
44
45
/// @brief Constructs a star fold tree by placing a virtual residue at
46
/// <chunks> center of mass and adding jumps from it to a stochastically
47
/// chosen anchor residue in each chunk. Cutpoints are added on chunk
48
/// boundaries.
49
///
50
/// Important: chunks must be sorted in increasing order of start position.
51
/// The simplest way to achieve this is a call to Loops::sequential_order().
52
///
53
/// Additionally, every residue in pose must belong to one and only one chunk.
54
void
set_up
(
const
protocols::loops::Loops
& chunks,
core::pose::Pose
* pose);
55
56
/// @brief Removes the virtual residue added to <pose> in calls to set_up()
57
void
tear_down
(
core::pose::Pose
* pose);
58
59
protected
:
60
/// @brief Stochastically selects an anchor position
61
core::Size
choose_anchor_position
(
const
protocols::loops::Loop
& chunk)
const
;
62
63
/// @brief When native is available, computes rmsd of jump residues, storing
64
/// the results as comments in silent file output. If specified, prefix string
65
/// will precede the result in the silent file output.
66
void
do_compute_jump_rmsd
(
core::pose::Pose
* model,
const
std::string
& prefix =
""
)
const
;
67
68
private
:
69
/// @brief Index of the virtual residue we added to the pose in set_up()
70
int
virtual_res_
;
71
};
72
73
}
// namespace nonlocal
74
}
// namespace protocols
75
76
#endif // PROTOCOLS_NONLOCAL_STARTREEBUILDER_HH_
Generated on Sat Jun 1 2013 12:01:46 for Rosetta 3.5 by
1.8.4