Rosetta
2020.11
|
#include <RestrictToLoops.hh>
Public Types | |
typedef core::pack::task::operation::TaskOperation | parent |
Public Types inherited from core::pack::task::operation::TaskOperation | |
typedef utility::tag::TagCOP | TagCOP |
typedef basic::datacache::DataMap | DataMap |
typedef pose::Pose | Pose |
Public Member Functions | |
RestrictToLoops ()=default | |
Default constructor. More... | |
core::pack::task::operation::TaskOperationOP | clone () const override |
Return a deep-copied OP. More... | |
void | parse_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &) override |
Configure from a RosettaScripts XML tag. More... | |
void | apply (core::pose::Pose const &pose, core::pack::task::PackerTask &task) const override |
Apply this operation to the packer task. More... | |
bool | design_loop () const |
Return true if design is allowed. More... | |
void | set_design_loop (bool design_loop) |
Specify whether or not design is allowed. More... | |
loops::LoopsCOP | loops () const |
Return the loops allowed to pack. More... | |
void | set_loops (loops::LoopsCOP loops) |
Specify the loops that will be allowed to pack. More... | |
void | set_loops_from_file (std::string loops_file) |
Specify the loops that will be allowed to pack. More... | |
bool | restrict_only_design_to_loops () const |
Return true if we are restricting to only design. AKA RestrictDesignToLoops. More... | |
void | set_restrict_only_design_to_loops (bool restrict_only_design) |
Specify whether to restrict only design to loops/neighbors AKA RestrictDesignToLoops. Does not disable packing for any residue. Implies and sets design_loop to true. More... | |
Public Member Functions inherited from core::pack::task::operation::TaskOperation | |
~TaskOperation () override | |
virtual bool | task_operation_provides_citation_info () const |
Does this task operation provide information about how to cite it? More... | |
virtual utility::vector1 < basic::citation_manager::CitationCollectionCOP > | provide_citation_info () const |
Provide the citation. More... | |
virtual bool | task_operation_is_unpublished () const |
Does this task_operation indicate that it is unpublished (and, by extension, that the author should be included in publications resulting from it)? More... | |
virtual utility::vector1 < basic::citation_manager::UnpublishedModuleInfoCOP > | provide_authorship_info_for_unpublished () const |
Provide a list of authors and their e-mail addresses, as strings. More... | |
Static Public Member Functions | |
static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
static void | provide_attributes (utility::tag::AttributeList &attributes) |
static std::string | keyname () |
Protected Member Functions | |
void | apply_helper (core::pose::Pose const &pose, core::pack::task::PackerTask &task, bool include_neighbors, core::Real cutoff_distance, bool design_neighbors) const |
Helper function to prevent code duplication in subclasses. More... | |
Private Attributes | |
bool | design_loops_ = false |
bool | restrict_only_design_ = false |
utility::pointer::DeepCopyOP < loops::Loops const > | loops_ |
typedef core::pack::task::operation::TaskOperation protocols::simple_task_operations::RestrictToLoops::parent |
|
default |
Default constructor.
|
overridevirtual |
Apply this operation to the packer task.
Implements core::pack::task::operation::TaskOperation.
Reimplemented in protocols::simple_task_operations::RestrictToLoopsAndNeighbors.
|
protected |
Helper function to prevent code duplication in subclasses.
References core::pack::task::operation::RestrictResidueToRepacking::apply(), core::pack::task::operation::PreventRepacking::apply(), core::pack::task::operation::RestrictResidueToRepacking::include_residue(), core::pack::task::operation::PreventRepacking::include_residue(), core::pose::symmetry::make_residue_mask_symmetric(), protocols::loops::select_loop_residues(), and core::pose::Pose::size().
|
overridevirtual |
Return a deep-copied OP.
Implements core::pack::task::operation::TaskOperation.
Reimplemented in protocols::simple_task_operations::RestrictToLoopsAndNeighbors.
bool protocols::simple_task_operations::RestrictToLoops::design_loop | ( | ) | const |
Return true if design is allowed.
|
inlinestatic |
LoopsCOP protocols::simple_task_operations::RestrictToLoops::loops | ( | ) | const |
Return the loops allowed to pack.
|
overridevirtual |
Configure from a RosettaScripts XML tag.
Reimplemented from core::pack::task::operation::TaskOperation.
Reimplemented in protocols::simple_task_operations::RestrictToLoopsAndNeighbors.
|
static |
|
static |
bool protocols::simple_task_operations::RestrictToLoops::restrict_only_design_to_loops | ( | ) | const |
Return true if we are restricting to only design. AKA RestrictDesignToLoops.
void protocols::simple_task_operations::RestrictToLoops::set_design_loop | ( | bool | design_loop | ) |
Specify whether or not design is allowed.
void protocols::simple_task_operations::RestrictToLoops::set_loops | ( | loops::LoopsCOP | loops | ) |
Specify the loops that will be allowed to pack.
void protocols::simple_task_operations::RestrictToLoops::set_loops_from_file | ( | std::string | loops_file | ) |
Specify the loops that will be allowed to pack.
void protocols::simple_task_operations::RestrictToLoops::set_restrict_only_design_to_loops | ( | bool | restrict_only_design | ) |
Specify whether to restrict only design to loops/neighbors AKA RestrictDesignToLoops. Does not disable packing for any residue. Implies and sets design_loop to true.
|
private |
|
private |
|
private |