Rosetta
|
The ResidueSpanSelector returns a ResidueSubset, i.e. a utility::vector1< bool > containing 'true' for residue positions which are within a given span. A span is defined by start and end point, each as either Rosetta indices (e.g. 10) or PDB numbers (e.g. 10A, residue 10 of chain A). Detection and mapping from PDB to Rosetta residue numbers is done internally. (The span is defined based on Rosetta indicies, even if residues are given by PDB numbers.) More...
#include <ResidueSpanSelector.hh>
Public Member Functions | |
ResidueSpanSelector () | |
ResidueSpanSelector (ResidueSpanSelector const &src) | |
Copy constructor. More... | |
ResidueSelectorOP | clone () const override |
Clone operator. More... | |
ResidueSpanSelector (core::pose::ResidueIndexDescriptionCOP start, core::pose::ResidueIndexDescriptionCOP end) | |
ResidueSpanSelector (std::string const &start_str, std::string const &end_str) | |
ResidueSpanSelector (core::Size start, core::Size end) | |
~ResidueSpanSelector () override | |
ResidueSubset | apply (core::pose::Pose const &pose) const override |
Return a ResidueSubset indicating a selection of Residues from the input Pose; the ResidueSubset is an array of booleans where a value of "true" for position i indicates that residue i is a part of the selected subset – and a value of "false" would indicate that it is not. More... | |
void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &) override |
Initialize any data members of this instance from an input tag and a DataMap object. More... | |
std::string | get_name () const override |
void | set_span (std::string const &start, std::string const &end) |
![]() | |
ResidueSelector () | |
Constructor. More... | |
~ResidueSelector () override | |
Destructor. More... | |
utility::vector1< core::Size > | selection_positions (core::pose::Pose const &pose) const |
Calls apply and returns the Rosetta numbering corresponding to the selected residues. 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 () |
static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Private Attributes | |
core::pose::ResidueIndexDescriptionCOP | start_ |
core::pose::ResidueIndexDescriptionCOP | end_ |
The ResidueSpanSelector returns a ResidueSubset, i.e. a utility::vector1< bool > containing 'true' for residue positions which are within a given span. A span is defined by start and end point, each as either Rosetta indices (e.g. 10) or PDB numbers (e.g. 10A, residue 10 of chain A). Detection and mapping from PDB to Rosetta residue numbers is done internally. (The span is defined based on Rosetta indicies, even if residues are given by PDB numbers.)
|
default |
|
default |
Copy constructor.
core::select::residue_selector::ResidueSpanSelector::ResidueSpanSelector | ( | core::pose::ResidueIndexDescriptionCOP | start, |
core::pose::ResidueIndexDescriptionCOP | end | ||
) |
core::select::residue_selector::ResidueSpanSelector::ResidueSpanSelector | ( | std::string const & | start_str, |
std::string const & | end_str | ||
) |
core::select::residue_selector::ResidueSpanSelector::ResidueSpanSelector | ( | core::Size | start, |
core::Size | end | ||
) |
|
overridedefault |
|
overridevirtual |
Return a ResidueSubset indicating a selection of Residues from the input Pose; the ResidueSubset is an array of booleans where a value of "true" for position i indicates that residue i is a part of the selected subset – and a value of "false" would indicate that it is not.
Implements core::select::residue_selector::ResidueSelector.
References core::sequence::end, end_, core::pose::Pose::size(), protocols::loops::start, start_, and core::select::residue_selector::TR().
|
static |
|
overridevirtual |
Clone operator.
Copy this object and return an owning pointer to the new object.
Implements core::select::residue_selector::ResidueSelector.
|
overridevirtual |
Implements core::select::residue_selector::ResidueSelector.
References class_name().
|
overridevirtual |
Initialize any data members of this instance from an input tag and a DataMap object.
Noop implementation in the base class in the case that a derived class has no need to read data from an input tag
Reimplemented from core::select::residue_selector::ResidueSelector.
References set_span().
|
static |
void core::select::residue_selector::ResidueSpanSelector::set_span | ( | std::string const & | start, |
std::string const & | end | ||
) |
References core::sequence::end, end_, core::pose::parse_resnum(), protocols::loops::start, and start_.
Referenced by parse_my_tag().
|
private |
Referenced by apply(), and set_span().
|
private |
Referenced by apply(), and set_span().