Rosetta
|
The PrimarySequenceNeighborhoodSelector returns a ResidueSubset, i.e. a utility::vector1< bool > containing 'true' for residue positions which are located near the given selected residues in primary sequence space. More...
#include <PrimarySequenceNeighborhoodSelector.hh>
Public Member Functions | |
PrimarySequenceNeighborhoodSelector () | |
ResidueSelectorOP | clone () const override |
Clone operator. More... | |
PrimarySequenceNeighborhoodSelector (core::Size const lower_residues, core::Size const upper_residues, core::select::residue_selector::ResidueSelectorCOP const selector, bool cross_chain_boundaries=false) | |
~PrimarySequenceNeighborhoodSelector () 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_lower_residues (core::Size const nres) |
void | set_upper_residues (core::Size const nres) |
void | set_selector (core::select::residue_selector::ResidueSelectorCOP const selector) |
void | set_cross_chain_boundaries (bool cross) |
![]() | |
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::Size | lower_residues_ |
core::Size | upper_residues_ |
core::select::residue_selector::ResidueSelectorCOP | selector_ |
bool | cross_chain_boundaries_ |
The PrimarySequenceNeighborhoodSelector returns a ResidueSubset, i.e. a utility::vector1< bool > containing 'true' for residue positions which are located near the given selected residues in primary sequence space.
core::select::residue_selector::PrimarySequenceNeighborhoodSelector::PrimarySequenceNeighborhoodSelector | ( | ) |
core::select::residue_selector::PrimarySequenceNeighborhoodSelector::PrimarySequenceNeighborhoodSelector | ( | core::Size const | lower_residues, |
core::Size const | upper_residues, | ||
core::select::residue_selector::ResidueSelectorCOP const | selector, | ||
bool | cross_chain_boundaries = false |
||
) |
|
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 cross_chain_boundaries_, core::sequence::end, core::pose::is_lower_terminus(), core::pose::is_upper_terminus(), lower_residues_, protocols::sic_dock::range(), selector_, core::pose::Pose::size(), protocols::loops::start, core::select::residue_selector::TR(), and upper_residues_.
|
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 core::select::residue_selector::get_residue_selector(), selector_, set_cross_chain_boundaries(), set_lower_residues(), set_selector(), set_upper_residues(), protocols::hybridization::t, and core::select::residue_selector::TR().
|
static |
References core::select::residue_selector::attributes_for_parse_residue_selector(), class_name(), and core::select::residue_selector::xsd_type_definition_w_attributes_and_optional_subselector().
Referenced by core::select::residue_selector::PrimarySequenceNeighborhoodSelectorCreator::provide_xml_schema().
void core::select::residue_selector::PrimarySequenceNeighborhoodSelector::set_cross_chain_boundaries | ( | bool | cross | ) |
References cross_chain_boundaries_.
Referenced by parse_my_tag().
void core::select::residue_selector::PrimarySequenceNeighborhoodSelector::set_lower_residues | ( | core::Size const | nres | ) |
References lower_residues_.
Referenced by parse_my_tag().
void core::select::residue_selector::PrimarySequenceNeighborhoodSelector::set_selector | ( | core::select::residue_selector::ResidueSelectorCOP const | selector | ) |
References selector_.
Referenced by parse_my_tag().
void core::select::residue_selector::PrimarySequenceNeighborhoodSelector::set_upper_residues | ( | core::Size const | nres | ) |
References upper_residues_.
Referenced by parse_my_tag().
|
private |
Referenced by apply(), and set_cross_chain_boundaries().
|
private |
Referenced by apply(), and set_lower_residues().
|
private |
Referenced by apply(), parse_my_tag(), and set_selector().
|
private |
Referenced by apply(), and set_upper_residues().