Rosetta
|
#include <NearNativeLoopCloser.hh>
Public Member Functions | |
NearNativeLoopCloser () | |
NearNativeLoopCloser (int resAdjustmentStartLow, int resAdjustmentStartHigh, int resAdjustmentStopLow, int resAdjustmentStopHigh, int resAdjustmentStartLow_sheet, int resAdjustmentStartHigh_sheet, int resAdjustmentStopLow_sheet, int resAdjustmentStopHigh_sheet, core::Size loopLengthRangeLow, core::Size loopLengthRangeHigh, core::Size resBeforeLoop, core::Size resAfterLoop, char chainBeforeLoop, char chainAfterLoop, core::Real rmsThreshold, core::Real max_vdw_change, bool idealExtension, bool ideal, bool output_closed, std::string closure_type="lookback", std::string allowed_loop_abegos="", std::string label_loop="", std::string fragment_store_path="", std::string fragment_store_format="", std::string fragment_store_compression="", core::Size numb_stubs_to_consider=1) | |
moves::MoverOP | clone () const override |
Return a clone of the Mover object. More... | |
core::Real | close_loop (Pose &pose) |
void | apply (Pose &pose) override |
Main Method. More... | |
void | combine_chains (Pose &pose) |
void | switch_chain_order (Pose &pose, utility::vector1< core::Size > new_chain_order) |
void | extendRegion (bool towardCTerm, core::Size resStart, char neighborResType, core::Size numberAddRes, core::pose::PoseOP &poseOP) |
core::pose::PoseOP | create_maximum_length_pose (char resTypeBeforeLoop, char resTypeAfterLoop, core::pose::Pose pose) |
utility::vector1< PossibleLoopOP > | create_potential_loops (core::pose::Pose pose) |
void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &datamap) override |
Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More... | |
core::pose::PoseOP | get_additional_output () override |
Mechanism by which a mover may return multiple output poses from a single input pose. More... | |
core::pose::PoseOP | get_additional_output_with_rmsd (core::Real &return_rmsd) |
std::string | get_name () const override |
Each derived class must specify its name. The class name. More... | |
![]() | |
Mover () | |
virtual MoverOP | create () |
MoverCOP | get_self_ptr () const |
MoverOP | get_self_ptr () |
MoverCAP | get_self_weak_ptr () const |
MoverAP | get_self_weak_ptr () |
Mover (std::string const &type_name) | |
sets the type for a mover; name_ has been removed (2010/05/14) More... | |
virtual void | test_move (Pose &pose) |
: Unit test support function. Apply one move to a given pose. Allows extra test specific functions to be called before applying More... | |
virtual bool | reinitialize_for_each_job () const |
Inform the Job Distributor (August '08 vintage) whether this object needs to be freshly regenerated on each use. More... | |
virtual bool | reinitialize_for_new_input () const |
Inform the Job Distributor (August '08 vintage) whether this object needs to be regenerated when the input pose is about to change, (for example, if the Mover has special code on the first apply() that is only valid for that one input pose). More... | |
virtual MoverOP | fresh_instance () const |
Generates a new Mover object freshly created with the default ctor. More... | |
MoverStatus | get_last_move_status () const |
end parser interface, start Job Distributor interface///////////// More... | |
void | reset_status () |
resets status to SUCCESS, meant to be used before an apply(). The job distributor (august 08 vintage) uses this to ensure non-accumulation of status across apply()s. More... | |
void | set_type (std::string const &setting) |
Set the 'type' string. More... | |
std::string | get_type () const |
void | type (const std::string &type_in) |
Set the 'type' string. More... | |
std::string const & | type () const |
Get the set 'type' string. More... | |
virtual void | set_input_pose (PoseCOP pose) |
setter for poses contained for rms More... | |
virtual void | set_native_pose (PoseCOP pose) |
setter for native poses contained for rms -— we should get rid of this method? it is widely used, but a bit unsafe More... | |
PoseCOP | get_input_pose () const |
PoseCOP | get_native_pose () const |
void | set_current_job (protocols::jobdist::BasicJobCOP job) |
jobdist::BasicJobCOP | get_current_job () const |
virtual void | set_current_tag (std::string const &new_tag) |
std::string | get_current_tag () const |
A tag is a unique identifier used to identify structures produced by this Mover. get_current_tag() returns the tag, and set_current_tag( std::string tag ) sets the tag. This functionality is not intended for use with the 2008 job distributor. More... | |
virtual void | show (std::ostream &output=std::cout) const |
Outputs details about the Mover, including current settings. More... | |
virtual core::Real | last_proposal_density_ratio () |
virtual void | clear_info () |
Strings container can be used to return miscellaneous info (as std::string) from a mover, such as notes about the results of apply(). The job distributor (Apr 09 vintage) will check this function to see if your protocol wants to add string info to the Job that ran this mover. One way this can be useful is that later, a JobOutputter may include/append this info to an output file. More... | |
virtual Strings & | info () |
non-const accessor More... | |
virtual Strings const & | info () const |
const accessor 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 | mover_name () |
static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
![]() | |
static std::string | name () |
static void | register_options () |
Overload this static method if you access options within the mover. More... | |
Additional Inherited Members | |
![]() | |
typedef utility::tag::TagCOP | TagCOP |
typedef core::pose::Pose | Pose |
typedef core::pose::PoseCOP | PoseCOP |
typedef std::list< std::string > | Strings |
![]() | |
void | set_last_move_status (MoverStatus status) |
nonvirtual setter for MoverStatus last_status_. Protected means that only the mover itself will be able to change its own status. The job distributor (august 08 vintage) is aware of status set with this function and will do what the MoverStatus says. More... | |
protocols::pose_length_moves::NearNativeLoopCloser::NearNativeLoopCloser | ( | ) |
protocols::pose_length_moves::NearNativeLoopCloser::NearNativeLoopCloser | ( | int | resAdjustmentStartLow, |
int | resAdjustmentStartHigh, | ||
int | resAdjustmentStopLow, | ||
int | resAdjustmentStopHigh, | ||
int | resAdjustmentStartLow_sheet, | ||
int | resAdjustmentStartHigh_sheet, | ||
int | resAdjustmentStopLow_sheet, | ||
int | resAdjustmentStopHigh_sheet, | ||
core::Size | loopLengthRangeLow, | ||
core::Size | loopLengthRangeHigh, | ||
core::Size | resBeforeLoop, | ||
core::Size | resAfterLoop, | ||
char | chainBeforeLoop, | ||
char | chainAfterLoop, | ||
core::Real | rmsThreshold, | ||
core::Real | max_vdw_change, | ||
bool | idealExtension, | ||
bool | ideal, | ||
bool | output_closed, | ||
std::string | closure_type = "lookback" , |
||
std::string | allowed_loop_abegos = "" , |
||
std::string | label_loop = "" , |
||
std::string | fragment_store_path = "" , |
||
std::string | fragment_store_format = "" , |
||
std::string | fragment_store_compression = "" , |
||
core::Size | numb_stubs_to_consider = 1 |
||
) |
References allowed_loop_abegos_, chainAfterLoop_, chainBeforeLoop_, closure_type_, fragment_store_compression_, fragment_store_format_, fragment_store_path_, ideal_, idealExtension_, label_loop_, loopLengthRangeHigh_, loopLengthRangeLow_, max_number_of_results_, max_vdw_change_, numb_outputed_, numb_stubs_to_consider_, output_all_, output_closed_, resAdjustmentStartHigh_, resAdjustmentStartHigh_sheet_, resAdjustmentStartLow_, resAdjustmentStartLow_sheet_, resAdjustmentStopHigh_, resAdjustmentStopHigh_sheet_, resAdjustmentStopLow_, resAdjustmentStopLow_sheet_, resAfterLoop_, resBeforeLoop_, rmsThreshold_, SSHashedFragmentStoreOP_, top_outputed_, and protocols::TR().
|
overridevirtual |
Main Method.
Implements protocols::moves::Mover.
References core::conformation::Conformation::clear_parameters_set_list(), close_loop(), and core::pose::Pose::conformation().
|
inlineoverridevirtual |
Return a clone of the Mover object.
clone is meant to return an OP'ed deep copy of this object. This really should be a pure virtual in the base class, but adding pure virtuals to Mover would massively disrupt the code. This default implementation crashes at runtime instead of compiletime if you try to call it. If this code is causing you problems, your Mover needs to override this function.
Reimplemented from protocols::moves::Mover.
References allowed_loop_abegos_, core::pose::Pose::chain(), chainAfterLoop_, chainBeforeLoop_, closure_type_, combine_chains(), create_potential_loops(), protocols::jd2::current_input_tag(), core::pose::Pose::data(), get_additional_output_with_rmsd(), core::pose::get_chain_from_chain_id(), core::pose::get_chain_id_from_chain(), core::pose::get_chains(), ideal_, core::pose::datacache::CacheableDataType::JOBDIST_OUTPUT_TAG, output_closed_, core::pose::Pose::pdb_info(), pose_name_, possibleLoops_, resAfterLoop_, resBeforeLoop_, rmsThreshold_, protocols::kinmatch::str(), and switch_chain_order().
Referenced by apply().
void protocols::pose_length_moves::NearNativeLoopCloser::combine_chains | ( | Pose & | pose | ) |
References core::pose::append_pose_to_pose(), chainAfterLoop_, chainBeforeLoop_, core::pose::get_chain_id_from_chain(), core::pose::get_chains(), core::pose::get_resnums_for_chain_id(), core::pose::has_chain(), core::pose::Pose::pdb_info(), core::pose::remove_lower_terminus_type_from_pose_residue(), core::pose::remove_upper_terminus_type_from_pose_residue(), core::pose::res_in_chain(), resAfterLoop_, resBeforeLoop_, core::pose::Pose::split_by_chain(), and switch_chain_order().
Referenced by close_loop().
core::pose::PoseOP protocols::pose_length_moves::NearNativeLoopCloser::create_maximum_length_pose | ( | char | resTypeBeforeLoop, |
char | resTypeAfterLoop, | ||
core::pose::Pose | pose | ||
) |
References core::kinematics::FoldTree::add_edge(), core::kinematics::FoldTree::clear(), core::pose::Pose::clone(), extendRegion(), core::pose::Pose::pdb_info(), core::kinematics::Edge::PEPTIDE, core::pose::renumber_pdbinfo_based_on_conf_chains(), resAdjustmentStartHigh_, resAdjustmentStopHigh_, resAfterLoop_, resBeforeLoop_, and core::pose::Pose::size().
Referenced by create_potential_loops().
vector1< PossibleLoopOP > protocols::pose_length_moves::NearNativeLoopCloser::create_potential_loops | ( | core::pose::Pose | pose | ) |
References core::chemical::CENTROID, create_maximum_length_pose(), core::scoring::dssp::Dssp::dssp_reduced(), fragment_store_compression_, fragment_store_format_, fragment_store_path_, core::scoring::dssp::Dssp::get_dssp_secstruct(), loopLengthRangeHigh_, loopLengthRangeLow_, numb_stubs_to_consider_, resAdjustmentStartHigh_, resAdjustmentStartHigh_sheet_, resAdjustmentStartLow_, resAdjustmentStartLow_sheet_, resAdjustmentStopHigh_, resAdjustmentStopHigh_sheet_, resAdjustmentStopLow_, resAdjustmentStopLow_sheet_, resAfterLoop_, resBeforeLoop_, core::util::switch_to_residue_type_set(), and protocols::TR().
Referenced by close_loop().
void protocols::pose_length_moves::NearNativeLoopCloser::extendRegion | ( | bool | towardCTerm, |
core::Size | resStart, | ||
char | neighborResType, | ||
core::Size | numberAddRes, | ||
core::pose::PoseOP & | poseOP | ||
) |
References core::chemical::aa_from_oneletter_code(), core::kinematics::FoldTree::add_edge(), core::kinematics::FoldTree::clear(), core::conformation::ResidueFactory::create_residue(), idealExtension_, core::chemical::name_from_aa(), core::kinematics::Edge::PEPTIDE, and core::pose::renumber_pdbinfo_based_on_conf_chains().
Referenced by create_maximum_length_pose().
|
overridevirtual |
Mechanism by which a mover may return multiple output poses from a single input pose.
fpd
Supported in JD2. Will attempt to grab additional poses until a nullptr is returned.
Mechanism by which a mover may return multiple output poses from a single input pose. After apply is called, calling this function will return subsequent output poses. NULL is returned if the mover has no more output poses remaining. The base class implementation returns NULL always; multi-output movers must override this. RosettaScripts uses this interface to produce a 'branched' protocol.
Reimplemented from protocols::moves::Mover.
References get_additional_output_with_rmsd().
core::pose::PoseOP protocols::pose_length_moves::NearNativeLoopCloser::get_additional_output_with_rmsd | ( | core::Real & | return_rmsd | ) |
References core::scoring::abego, allowed_loop_abegos_, protocols::moves::FAIL_DO_NOT_RETRY, core::sequence::get_abego(), core::sequence::ABEGOManager::get_abego_string(), core::pose::datacache::CacheableDataType::JOBDIST_OUTPUT_TAG, label_loop_, max_number_of_results_, protocols::moves::MS_SUCCESS, numb_outputed_, output_all_, output_closed_, pose_name_, possibleLoops_, rmsThreshold_, protocols::moves::Mover::set_last_move_status(), top_outputed_, and protocols::TR().
Referenced by close_loop(), and get_additional_output().
|
overridevirtual |
Each derived class must specify its name. The class name.
Implements protocols::moves::Mover.
References mover_name().
|
static |
|
overridevirtual |
Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing.
Some movers need not be parsed, so we shouldn't force people to reimplement this method. However, we should be chatty about the fact that someone is using a RosettaScripts interface to a mover which didn't define parse_my_tag()
Reimplemented from protocols::moves::Mover.
References allowed_loop_abegos_, chainAfterLoop_, chainBeforeLoop_, closure_type_, fragment_store_compression_, fragment_store_format_, fragment_store_path_, ideal_, idealExtension_, label_loop_, loopLengthRangeHigh_, loopLengthRangeLow_, max_number_of_results_, max_vdw_change_, numb_outputed_, numb_stubs_to_consider_, output_all_, output_closed_, resAdjustmentStartHigh_, resAdjustmentStartHigh_sheet_, resAdjustmentStartLow_, resAdjustmentStartLow_sheet_, resAdjustmentStopHigh_, resAdjustmentStopHigh_sheet_, resAdjustmentStopLow_, resAdjustmentStopLow_sheet_, resAfterLoop_, resBeforeLoop_, rmsThreshold_, SSHashedFragmentStoreOP_, top_outputed_, and protocols::TR().
|
static |
void protocols::pose_length_moves::NearNativeLoopCloser::switch_chain_order | ( | Pose & | pose, |
utility::vector1< core::Size > | new_chain_order | ||
) |
References core::pose::append_pose_to_pose(), core::conformation::Conformation::clear(), core::pose::Pose::conformation(), core::pose::Pose::constraint_set(), core::pose::Pose::pdb_info(), core::pose::renumber_pdbinfo_based_on_conf_chains(), and core::pose::Pose::split_by_chain().
Referenced by close_loop(), and combine_chains().
|
private |
Referenced by close_loop(), get_additional_output_with_rmsd(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by close_loop(), combine_chains(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by close_loop(), combine_chains(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by close_loop(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by close_loop(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by extendRegion(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by get_additional_output_with_rmsd(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by get_additional_output_with_rmsd(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by get_additional_output_with_rmsd(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by get_additional_output_with_rmsd(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by close_loop(), get_additional_output_with_rmsd(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by close_loop(), and get_additional_output_with_rmsd().
|
private |
Referenced by close_loop(), and get_additional_output_with_rmsd().
|
private |
Referenced by create_maximum_length_pose(), create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_maximum_length_pose(), create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by close_loop(), combine_chains(), create_maximum_length_pose(), create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by close_loop(), combine_chains(), create_maximum_length_pose(), create_potential_loops(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by close_loop(), get_additional_output_with_rmsd(), NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by NearNativeLoopCloser(), and parse_my_tag().
|
private |
Referenced by get_additional_output_with_rmsd(), NearNativeLoopCloser(), and parse_my_tag().