![]() |
Rosetta
2021.16
|
RestrictAbsentCanonicalAAS. More...
#include <TaskOperations.hh>

Public Types | |
| typedef 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 | |
| RestrictAbsentCanonicalAAS () | |
| BEGIN RestrictAbsentCanonicalAAS. More... | |
| RestrictAbsentCanonicalAAS (core::Size resid, utility::vector1< bool > keep_aas) | |
| ~RestrictAbsentCanonicalAAS () override | |
| TaskOperationOP | clone () const override |
| Create another task operation of the type matching the most-derived version of the class. More... | |
| void | apply (pose::Pose const &, PackerTask &) const override |
| if resid_ is zero, will apply RestrictAbsentCanonicalAAs to all residues in the pose. O/w only to resid_ More... | |
| void | keep_aas (std::string const &keep_aas) |
| a human-readible string-based mutator More... | |
| void | keep_aas (utility::vector1< bool > keep_aas) |
| direct vector1-basd mutator. If an amino acid is not present (false) in the boolean vector, then do not allow it at this position. The boolean vector is a 20-length vector in alphabetical order by one-letter code. More... | |
| void | parse_tag (TagCOP, DataMap &) override |
| Used to parse an xml-like tag to load parameters and properties. More... | |
| void | include_residue (core::Size const resid) |
Public Member Functions inherited from core::pack::task::operation::TaskOperation | |
| ~TaskOperation () override | |
| virtual void | provide_citation_info (basic::citation_manager::CitationCollectionList &) const |
| Provide citations to the passed CitationCollectionList Subclasses should add the info for themselves and any other classes they use. More... | |
Static Public Member Functions | |
| static std::string | keyname () |
| static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Private Attributes | |
| core::Size | resid_ |
| utility::vector1< bool > | keep_aas_ |
| core::pack::task::operation::RestrictAbsentCanonicalAAS::RestrictAbsentCanonicalAAS | ( | ) |
BEGIN RestrictAbsentCanonicalAAS.
References keep_aas_, and core::chemical::num_canonical_aas.
| core::pack::task::operation::RestrictAbsentCanonicalAAS::RestrictAbsentCanonicalAAS | ( | core::Size | resid, |
| utility::vector1< bool > | keep_aas | ||
| ) |
References include_residue(), and keep_aas().
|
overridedefault |
|
overridevirtual |
if resid_ is zero, will apply RestrictAbsentCanonicalAAs to all residues in the pose. O/w only to resid_
Implements core::pack::task::operation::TaskOperation.
References keep_aas_, core::pack::task::PackerTask::nonconst_residue_task(), resid_, core::pack::task::ResidueLevelTask::restrict_absent_canonical_aas(), and core::pack::task::PackerTask::total_residue().
Referenced by protocols::task_operations::ProteinInterfaceDesignOperation::apply(), and protocols::calc_taskop_movers::DesignRepackMover::setup_packer_and_movemap().
|
overridevirtual |
Create another task operation of the type matching the most-derived version of the class.
Implements core::pack::task::operation::TaskOperation.
| void core::pack::task::operation::RestrictAbsentCanonicalAAS::include_residue | ( | core::Size const | resid | ) |
References resid_.
Referenced by parse_tag(), and RestrictAbsentCanonicalAAS().
| void core::pack::task::operation::RestrictAbsentCanonicalAAS::keep_aas | ( | std::string const & | keep_aas | ) |
a human-readible string-based mutator
References core::chemical::aa_from_oneletter_code(), core::pack::dunbrack::c, keep_aas_, core::chemical::num_canonical_aas, core::chemical::oneletter_code_specifies_aa(), and core::pack::task::operation::TR().
Referenced by parse_tag(), and RestrictAbsentCanonicalAAS().
| void core::pack::task::operation::RestrictAbsentCanonicalAAS::keep_aas | ( | utility::vector1< bool > | keep_aas | ) |
direct vector1-basd mutator. If an amino acid is not present (false) in the boolean vector, then do not allow it at this position. The boolean vector is a 20-length vector in alphabetical order by one-letter code.
References keep_aas_, and core::chemical::num_canonical_aas.
|
static |
|
overridevirtual |
Used to parse an xml-like tag to load parameters and properties.
Reimplemented from core::pack::task::operation::TaskOperation.
References include_residue(), and keep_aas().
|
static |
|
private |
Referenced by apply(), keep_aas(), and RestrictAbsentCanonicalAAS().
|
private |
Referenced by apply(), and include_residue().
1.8.7