![]() |
Rosetta
2021.16
|
Select residues by motif search This selector takes a regular expression and a position and then finds all matches of the regular expression and selects the n-th residue in each match, where 'n' is the specified position. More...
#include <ResidueInSequenceMotifSelector.hh>

Public Types | |
| typedef core::select::residue_selector::ResidueSelectorOP | ResidueSelectorOP |
| typedef core::select::residue_selector::ResidueSubset | ResidueSubset |
Public Member Functions | |
| ResidueInSequenceMotifSelector () | |
| Constructor. More... | |
| ResidueInSequenceMotifSelector (std::string regex, core::Size position_in_motif) | |
| Constructor for derived classes. More... | |
| ~ResidueInSequenceMotifSelector () override | |
| Destructor. More... | |
| ResidueSelectorOP | clone () const override |
| Clone operator. More... | |
| ResidueSubset | apply (core::pose::Pose const &pose) const override |
| "Apply" function. More... | |
| void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &) override |
| XML parse. More... | |
| std::string | get_name () const override |
| Get the mover class name. More... | |
Public Member Functions inherited from core::select::residue_selector::ResidueSelector | |
| ResidueSelector () | |
| Constructor. More... | |
| ~ResidueSelector () override | |
| Destructor. More... | |
| 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 | class_name () |
| Get the mover class name. More... | |
| static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
| Provide XSD information, enabling mechanical validation of input XML. More... | |
Protected Attributes | |
| std::string | regex_ |
| core::Size | position_in_motif_ |
Select residues by motif search This selector takes a regular expression and a position and then finds all matches of the regular expression and selects the n-th residue in each match, where 'n' is the specified position.
| typedef core::select::residue_selector::ResidueSelectorOP core::select::residue_selector::ResidueInSequenceMotifSelector::ResidueSelectorOP |
| typedef core::select::residue_selector::ResidueSubset core::select::residue_selector::ResidueInSequenceMotifSelector::ResidueSubset |
| core::select::residue_selector::ResidueInSequenceMotifSelector::ResidueInSequenceMotifSelector | ( | ) |
Constructor.
|
inline |
Constructor for derived classes.
|
override |
Destructor.
|
overridevirtual |
"Apply" function.
Given the pose, generate a vector of bools with entries for every residue in the pose indicating whether each residue is selected ("true") or not ("false").
Implements core::select::residue_selector::ResidueSelector.
References position_in_motif_, regex_, core::select::residue_selector::regex_usable(), core::pose::Pose::sequence(), and core::select::residue_selector::TR().
|
static |
Get the mover class name.
Referenced by get_name(), core::select::residue_selector::ResidueInSequenceMotifSelectorCreator::keyname(), and provide_xml_schema().
|
overridevirtual |
Clone operator.
Clone function.
Copy the current object (creating the copy on the heap) and return an owning pointer to the copy. All ResidueSelectors must implement this.
Copy this object and return owning pointer to the copy (created on the heap).
Implements core::select::residue_selector::ResidueSelector.
|
overridevirtual |
Get the mover class name.
Implements core::select::residue_selector::ResidueSelector.
References class_name().
|
overridevirtual |
XML parse.
XML tarse.
Parse RosettaScripts tags and set up this mover.
Reimplemented from core::select::residue_selector::ResidueSelector.
References protocols::pack_daemon::error_message, position_in_motif_, and regex_.
|
static |
Provide XSD information, enabling mechanical validation of input XML.
References class_name(), and core::select::residue_selector::xsd_type_definition_w_attributes().
Referenced by core::select::residue_selector::ResidueInSequenceMotifSelectorCreator::provide_xml_schema().
|
protected |
Referenced by apply(), and parse_my_tag().
|
protected |
Referenced by apply(), core::select::residue_selector::GlycanSequonsSelector::parse_my_tag(), and parse_my_tag().
1.8.7