selector

Bindings for protocols::generalized_kinematic_closure::selector namespace

class pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector

Bases: pybind11_builtins.pybind11_object

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector) -> None
  2. __init__(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector, arg0: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__

Return str(self).

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

apply(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector, pose: pyrosetta.rosetta.core.pose.Pose, original_pose: pyrosetta.rosetta.core.pose.Pose, residue_map: pyrosetta.rosetta.utility.vector1_std_pair_unsigned_long_unsigned_long_t, tail_residue_map: pyrosetta.rosetta.utility.vector1_std_pair_unsigned_long_unsigned_long_t, atomlist: pyrosetta.rosetta.utility.vector1_std_pair_core_id_AtomID_numeric_xyzVector_double_t, torsions: pyrosetta.rosetta.utility.vector1_utility_vector1_utility_vector1_double_std_allocator_double_std_allocator_utility_vector1_double_std_allocator_double_t, bondangles: pyrosetta.rosetta.utility.vector1_utility_vector1_utility_vector1_double_std_allocator_double_std_allocator_utility_vector1_double_std_allocator_double_t, bondlengths: pyrosetta.rosetta.utility.vector1_utility_vector1_utility_vector1_double_std_allocator_double_std_allocator_utility_vector1_double_std_allocator_double_t, nsol_for_attempt: pyrosetta.rosetta.utility.vector1_unsigned_long, total_solutions: int, solutions: pyrosetta.rosetta.utility.vector1_std_shared_ptr_const_core_pose_Pose_t, low_memory_mode: bool, energies_for_solution: pyrosetta.rosetta.utility.vector1_double) → int

Applies a selector type to choose a solution, and returns index of chosen solution.

Returns zero if some error occurs. Should always return a nonzero integer, though.

—The loop to be closed.

– The original pose. Can be used for reference by selectors.

—Mapping of (loop residue, original pose residue).

– Mapping of (tail residue index in pose, tail residue index in original_pose).

—The list of (AtomID, original XYZ coordinates of atoms) representing the chain that was closed.

– Matrix of [closure attempt #][solution #][torsion #] with torsion values for each torsion angle in the chain. A selector will pick one solution.

—Matrix of [closure attempt #][solution #][angle #] with bond angle values for each bond angle in the chain. A selector will pick one solution.

– Matrix of [closure attempt #][solution #][bondlength #] with bond length for each bond in the chain. A selector will pick one solution.

—List of the number of solutions for each attempt.

– Total number of solutions found.

—Reference to vector of owning pointers of poses representing solutions, with pre-selection filters already applied.

– Are we running in low memory mode (where vectors of torsions/bondangles/bondlengths are used to store solutions), or default mode (where full poses are stored)?

—Vector of energies for each solution. Used only in low-memory mode.

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::apply(const class core::pose::Pose &, const class core::pose::Pose &, const class utility::vector1<struct std::pair<unsigned long, unsigned long>, class std::allocator<struct std::pair<unsigned long, unsigned long> > > &, const class utility::vector1<struct std::pair<unsigned long, unsigned long>, class std::allocator<struct std::pair<unsigned long, unsigned long> > > &, const class utility::vector1<struct std::pair<class core::id::AtomID, class numeric::xyzVector<double> >, class std::allocator<struct std::pair<class core::id::AtomID, class numeric::xyzVector<double> > > > &, const class utility::vector1<class utility::vector1<class utility::vector1<double, class std::allocator<double> >, class std::allocator<class utility::vector1<double, class std::allocator<double> > > >, class std::allocator<class utility::vector1<class utility::vector1<double, class std::allocator<double> >, class std::allocator<class utility::vector1<double, class std::allocator<double> > > > > > &, const class utility::vector1<class utility::vector1<class utility::vector1<double, class std::allocator<double> >, class std::allocator<class utility::vector1<double, class std::allocator<double> > > >, class std::allocator<class utility::vector1<class utility::vector1<double, class std::allocator<double> >, class std::allocator<class utility::vector1<double, class std::allocator<double> > > > > > &, const class utility::vector1<class utility::vector1<class utility::vector1<double, class std::allocator<double> >, class std::allocator<class utility::vector1<double, class std::allocator<double> > > >, class std::allocator<class utility::vector1<class utility::vector1<double, class std::allocator<double> >, class std::allocator<class utility::vector1<double, class std::allocator<double> > > > > > &, const class utility::vector1<unsigned long, class std::allocator<unsigned long> > &, const unsigned long, const class utility::vector1<class std::shared_ptr<const class core::pose::Pose>, class std::allocator<class std::shared_ptr<const class core::pose::Pose> > > &, const bool, const class utility::vector1<double, class std::allocator<double> > &) const –> unsigned long

assign(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector, : pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector) → pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::operator=(const class protocols::generalized_kinematic_closure::selector::GeneralizedKICselector &) –> class protocols::generalized_kinematic_closure::selector::GeneralizedKICselector &

clone(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector) → pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::clone() const –> class std::shared_ptr<class protocols::generalized_kinematic_closure::selector::GeneralizedKICselector>

define_valid_selector_name_enumeration(xsd: pyrosetta.rosetta.utility.tag.XMLSchemaDefinition) → None

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::define_valid_selector_name_enumeration(class utility::tag::XMLSchemaDefinition &) –> void

get_boltzmann_temp(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector) → float

Returns the Boltzmann temperature used by this selector.

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::get_boltzmann_temp() const –> double

get_name(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector) → str

Returns the name of this class.

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::get_name() const –> std::string

get_selector_type(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector) → pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.selector_type

Returns the selector type for this selector.

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::get_selector_type() const –> enum protocols::generalized_kinematic_closure::selector::selector_type

get_selector_type_by_name(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector, selectorname: str) → pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.selector_type

Given the name of a selector type, return the selector type enum. Returns unknown_selector if not recognized.

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::get_selector_type_by_name(const class std::basic_string<char> &) const –> enum protocols::generalized_kinematic_closure::selector::selector_type

get_selector_type_name(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector, selector_type: int) → str

Given a selector type, return its name. Returns “unknown_selector” if not recognized.

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::get_selector_type_name(const unsigned long) const –> std::string

scorefunction(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector) → pyrosetta.rosetta.core.scoring.ScoreFunction

Get the scorefunction used by this selector.

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::scorefunction() const –> class std::shared_ptr<class core::scoring::ScoreFunction>

set_boltzmann_temp(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector, temp: float) → None

Set the Boltzmann temperature used by this selector.

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::set_boltzmann_temp(const double &) –> void

set_scorefunction(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector, sfxn: pyrosetta.rosetta.core.scoring.ScoreFunction) → None

Set the scorefunction used by this selector.

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::set_scorefunction(class std::shared_ptr<class core::scoring::ScoreFunction>) –> void

set_selector_type(*args, **kwargs)

Overloaded function.

  1. set_selector_type(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector, stype: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.selector_type) -> None

Sets the selector type for this selector.

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::set_selector_type(const enum protocols::generalized_kinematic_closure::selector::selector_type &) –> void

  1. set_selector_type(self: pyrosetta.rosetta.protocols.generalized_kinematic_closure.selector.GeneralizedKICselector, stypename: str) -> None

Sets the selector type for this selector by name.

C++: protocols::generalized_kinematic_closure::selector::GeneralizedKICselector::set_selector_type(const class std::basic_string<char> &) –> void