Rosetta
|
#include <ChainSelector.hh>
Public Member Functions | |
ChainSelector () | |
ChainSelector (ChainSelector const &src) | |
Copy constructor. More... | |
ChainSelector (std::string const &chains) | |
ChainSelector (char chain) | |
ChainSelector (int chainid) | |
ChainSelector (core::Size chainid) | |
~ChainSelector () override | |
ResidueSelectorOP | clone () const override |
Clone operator. More... | |
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 &datamap) override |
std::string | get_name () const override |
utility::vector1< std::string > const & | chain_strings () const |
void | set_chain_strings (utility::vector1< std::string > const &) |
![]() | |
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 Member Functions | |
void | select_chain_by_index (core::pose::Pose const &, ResidueSubset &, core::Size) const |
void | select_chain_by_pdb_chain_char (core::pose::Pose const &, ResidueSubset &, char) const |
Private Attributes | |
utility::vector1< std::string > | chain_strings_ |
core::select::residue_selector::ChainSelector::ChainSelector | ( | ) |
core::select::residue_selector::ChainSelector::ChainSelector | ( | ChainSelector const & | src | ) |
Copy constructor.
core::select::residue_selector::ChainSelector::ChainSelector | ( | std::string const & | chains | ) |
core::select::residue_selector::ChainSelector::ChainSelector | ( | char | chain | ) |
core::select::residue_selector::ChainSelector::ChainSelector | ( | int | chainid | ) |
core::select::residue_selector::ChainSelector::ChainSelector | ( | core::Size | chainid | ) |
|
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 chain_strings_, protocols::pack_daemon::error_message, select_chain_by_index(), select_chain_by_pdb_chain_char(), and core::pose::Pose::size().
Referenced by protocols::ligand_docking::get_interface_deltas().
utility::vector1< std::string > const & core::select::residue_selector::ChainSelector::chain_strings | ( | ) | const |
References chain_strings_.
|
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().
Referenced by select_chain_by_pdb_chain_char().
|
overridevirtual |
Chains are given either as single characters (matched against the chain in the input PDB) or as integers (matched against the pose-assigned index for the chain) in a comma-separated list.
Reimplemented from core::select::residue_selector::ResidueSelector.
References chain_strings_, and protocols::pack_daemon::error_message.
|
static |
|
private |
|
private |
References get_name(), core::pose::Pose::pdb_info(), and core::pose::Pose::size().
Referenced by apply().
void core::select::residue_selector::ChainSelector::set_chain_strings | ( | utility::vector1< std::string > const & | setting | ) |
References chain_strings_.
|
private |
Referenced by apply(), chain_strings(), parse_my_tag(), and set_chain_strings().