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
docking
DockFilters.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 DockFilters
11
/// @brief Filters for docking
12
/// @author Jeff Gray
13
14
15
#ifndef INCLUDED_protocols_docking_DockFilters_hh
16
#define INCLUDED_protocols_docking_DockFilters_hh
17
18
// Unit Headers
19
#include <
protocols/docking/types.hh
>
20
#include <
protocols/docking/DockFilters.fwd.hh
>
21
22
// Package headers
23
24
// Project headers
25
#include <
core/types.hh
>
26
#include <
core/pose/Pose.fwd.hh
>
27
#include <
core/scoring/ScoreFunction.fwd.hh
>
28
29
#include <
protocols/filters/Filter.hh
>
30
#include <
protocols/simple_filters/ScoreCutoffFilter.hh
>
31
32
// Utility headers
33
#include <utility/vector1.hh>
34
35
// C++ headers
36
37
namespace
protocols {
38
namespace
docking
{
39
40
/// @brief Low-resolution (centroid-mode) filter for docking.
41
/// Checks (1) at least some contact is being made between docking partners,
42
/// (2) clashes are limited so partners are not overlapping
43
/// and (3) constraints, if present, are met
44
class
DockingLowResFilter
:
public
protocols::filters::Filter
45
{
46
public
:
47
DockingLowResFilter
();
48
DockingLowResFilter
(
const
DockingLowResFilter
&
init
);
49
~DockingLowResFilter
();
50
void
set_use_constraints
(
bool
flag,
core::Real
cutoff=1.0 );
/// @brief add docking constraints
51
bool
apply
(
core::pose::Pose
const
& pose )
const
;
52
void
report
( std::ostream & out,
core::pose::Pose
const
& pose)
const
;
53
protocols::filters::FilterOP
clone
()
const
{
return
new
DockingLowResFilter
( *
this
); }
54
protocols::filters::FilterOP
fresh_instance
()
const
{
return
new
DockingLowResFilter
(); }
55
56
private
:
57
bool
use_constraints_
;
/// @brief boolean to indicate if constraints are used
58
core::Real
constraint_cutoff_
;
/// @brief cutoff value for the constraint score
59
protocols::filters::FilterCollectionOP
filters_
;
60
};
61
62
63
/// @brief High-resolution (all-atom) filter for docking.
64
/// Checks (1) total_score beats the cutoff given
65
/// (2) interface_score must be negative
66
/// @details /// @rosetta++ had: 1-score filter 2-fa_rep filter 3-interfaceE filter 4-chainbreak filter
67
/// TTD: add these other filters
68
class
DockingHighResFilter
:
public
protocols::filters::Filter
69
{
70
public
:
71
DockingHighResFilter
();
72
DockingHighResFilter
(
const
DockingHighResFilter
&
init
);
73
~DockingHighResFilter
();
74
void
set_score_margin
(
core::Real
new_score_margin );
75
void
set_score_cutoff
(
core::Real
new_cutoff ) {
scorefilter_
->set_cutoff( new_cutoff ); }
76
void
set_moveable_jumps
(
DockJumps
const
& movable_jumps ) {
movable_jumps_
= movable_jumps; }
77
void
set_scorefunction
(
core::scoring::ScoreFunctionOP
const
scorefunction );
78
bool
apply
(
core::pose::Pose
const
& pose )
const
;
79
//core::Real report_interface_score() const { return interface_score_; } // only valid after apply()
80
protocols::filters::FilterOP
clone
()
const
;
81
protocols::filters::FilterOP
fresh_instance
()
const
{
return
new
DockingHighResFilter
(); }
82
83
private
:
84
DockJumps
movable_jumps_
;
85
core::Real
score_margin_
;
/// @brief extra margin for passing filters for early in protocol
86
core::scoring::ScoreFunctionOP
scorefunction_
;
/// @brief ScoreFunction for evaluating interface_score //defaults to docking scorefxn
87
protocols::simple_filters::ScoreCutoffFilterOP
scorefilter_
;
/// @brief filter for total_score
88
};
89
90
91
}
// docking
92
}
// protocols
93
94
#endif
Generated on Sat Jun 1 2013 11:46:45 for Rosetta 3.5 by
1.8.4