solution_pickers¶
Bindings for protocols::kinematic_closure::solution_pickers namespace
- class pyrosetta.rosetta.protocols.kinematic_closure.solution_pickers.FilteredSolutions¶
Bases:
SolutionPicker
Apply rama and bump checks to quickly filter out bad solutions.
The rama check only considers the pivot torsions, since it is assumed that the non-pivot torsions were set as desired. This check employs a Monte Carlo acceptance step, which means that the pivot torsions will really be sampled from a rama distribution (ignoring the inherent geometric biases in the closure algorithm) when this check is enabled. However, note that the rama distribution will be double-counted if the score function also contains a rama term, which it usually does.
The bump check checks for clashes between the N, CA, C, O, and CB atoms of every residue in the loop versus every other residue in the protein. This filter is O(n^2) and is much slower than the constant time rama check. The rama check is also very selective; it usually filters out more than 90% of proposed solutions. For these reasons, it is important that the rama check be run before the bump check. You can disable the rama check, but this would probably lead to a noticeable drop in performance.
- be_lenient(self: pyrosetta.rosetta.protocols.kinematic_closure.solution_pickers.FilteredSolutions) None ¶
Make the bump check more lenient.
C++: protocols::kinematic_closure::solution_pickers::FilteredSolutions::be_lenient() –> void
- check_overlap(self: pyrosetta.rosetta.protocols.kinematic_closure.solution_pickers.FilteredSolutions) None ¶
Enable the bump check.
C++: protocols::kinematic_closure::solution_pickers::FilteredSolutions::check_overlap() –> void
- check_rama(self: pyrosetta.rosetta.protocols.kinematic_closure.solution_pickers.FilteredSolutions) None ¶
Enable the rama check.
C++: protocols::kinematic_closure::solution_pickers::FilteredSolutions::check_rama() –> void
- dont_be_lenient(self: pyrosetta.rosetta.protocols.kinematic_closure.solution_pickers.FilteredSolutions) None ¶
Make the bump check more lenient.
C++: protocols::kinematic_closure::solution_pickers::FilteredSolutions::dont_be_lenient() –> void
- dont_check_overlap(self: pyrosetta.rosetta.protocols.kinematic_closure.solution_pickers.FilteredSolutions) None ¶
Disable the bump check.
C++: protocols::kinematic_closure::solution_pickers::FilteredSolutions::dont_check_overlap() –> void
- dont_check_rama(self: pyrosetta.rosetta.protocols.kinematic_closure.solution_pickers.FilteredSolutions) None ¶
Disable the rama check.
C++: protocols::kinematic_closure::solution_pickers::FilteredSolutions::dont_check_rama() –> void
- pick_and_apply(self: pyrosetta.rosetta.protocols.kinematic_closure.solution_pickers.FilteredSolutions, pose: pyrosetta.rosetta.core.pose.Pose, solutions: pyrosetta.rosetta.utility.vector1_std_shared_ptr_const_protocols_kinematic_closure_ClosureSolution_t) bool ¶
SolutionPicker::pick_and_apply
C++: protocols::kinematic_closure::solution_pickers::FilteredSolutions::pick_and_apply(class core::pose::Pose &, const class utility::vector1<class std::shared_ptr<const class protocols::kinematic_closure::ClosureSolution>, class std::allocator<class std::shared_ptr<const class protocols::kinematic_closure::ClosureSolution> > > &) –> bool
- class pyrosetta.rosetta.protocols.kinematic_closure.solution_pickers.RandomSolutions¶
Bases:
SolutionPicker
Pick a completely random solution to return.
- pick_and_apply(self: pyrosetta.rosetta.protocols.kinematic_closure.solution_pickers.RandomSolutions, pose: pyrosetta.rosetta.core.pose.Pose, solutions: pyrosetta.rosetta.utility.vector1_std_shared_ptr_const_protocols_kinematic_closure_ClosureSolution_t) bool ¶
SolutionPicker::pick_and_apply
C++: protocols::kinematic_closure::solution_pickers::RandomSolutions::pick_and_apply(class core::pose::Pose &, const class utility::vector1<class std::shared_ptr<const class protocols::kinematic_closure::ClosureSolution>, class std::allocator<class std::shared_ptr<const class protocols::kinematic_closure::ClosureSolution> > > &) –> bool
- class pyrosetta.rosetta.protocols.kinematic_closure.solution_pickers.SolutionPicker¶
Bases:
pybind11_object
Base class for all the solution picking algorithms.
- pick_and_apply(self: pyrosetta.rosetta.protocols.kinematic_closure.solution_pickers.SolutionPicker, pose: pyrosetta.rosetta.core.pose.Pose, solutions: pyrosetta.rosetta.utility.vector1_std_shared_ptr_const_protocols_kinematic_closure_ClosureSolution_t) bool ¶
- Pick a solution from the given list, and if apply it to the given
pose. If no solution is satisfactory, don’t do anything.
C++: protocols::kinematic_closure::solution_pickers::SolutionPicker::pick_and_apply(class core::pose::Pose &, const class utility::vector1<class std::shared_ptr<const class protocols::kinematic_closure::ClosureSolution>, class std::allocator<class std::shared_ptr<const class protocols::kinematic_closure::ClosureSolution> > > &) –> bool