![]() |
Rosetta Protocols
2014.35
|
#include <InsertChunkMover.hh>
Public Member Functions | |
InsertChunkMover () | |
~InsertChunkMover () | |
void | set_bb_xyz_aligned (core::pose::Pose &pose) |
bool | success () |
void | set_template (core::pose::PoseCOP template_pose, core::Size template_id, std::map< core::Size, core::Size > const &sequence_alignment) |
void | set_aligned_chunk (core::pose::Pose const &pose, Size const jump_number, bool anchor_insert_only_in) |
bool | get_local_sequence_mapping (core::pose::Pose &pose, int registry_shift=0, Size MAX_TRIAL=100) |
void | check_overlap (core::pose::Pose &pose) |
void | set_registry_shift (int registry_shift) |
Size | trial_counter (Size ires) |
void | apply (core::pose::Pose &pose) |
std::string | get_name () const |
Each derived class must specify its name. The class name. More... | |
![]() | |
Mover () | |
virtual | ~Mover () |
virtual MoverSP | create () |
virtual void | apply (core::io::serialization::PipeMap &pmap) |
virtual void | parse_state (SerializableState const &state) |
virtual void | parse_def (utility::lua::LuaObject const &def, utility::lua::LuaObject const &score_fxns, utility::lua::LuaObject const &tasks, MoverCacheSP cache) |
virtual void | save_state (SerializableState &state) |
Mover (std::string const &type_name) | |
sets the type for a mover; name_ has been removed (2010/05/14) More... | |
Mover (Mover const &other) | |
Mover & | operator= (Mover const &other) |
assignment operator More... | |
virtual core::Real | last_proposal_density_ratio () |
std::string const & | type () const |
void | set_type (std::string const &setting) |
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... | |
void | set_current_tag (std::string const &new_tag) |
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 |
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... | |
void | type (const std::string &type_in) |
virtual MoverOP | clone () const |
Return a clone of the Mover object. More... | |
virtual void | parse_my_tag (TagCOP tag, basic::datacache::DataMap &data, Filters_map const &filters, Movers_map const &movers, Pose const &pose) |
Called by MoverFactory when constructing new Movers. Takes care of the specific mover's parsing. More... | |
std::string | get_type () const |
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... | |
virtual core::pose::PoseOP | get_additional_output () |
Mechanism by which a mover may return multiple output poses from a single input pose. More... | |
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 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... | |
void | set_current_job (protocols::jobdist::BasicJobCOP job) |
jobdist::BasicJobCOP | get_current_job () const |
virtual void | show (std::ostream &output=std::cout) const |
Outputs details about the Mover, including current settings. More... | |
Additional Inherited Members | |
![]() | |
typedef utility::tag::TagCOP | TagCOP |
typedef core::pose::Pose | Pose |
typedef core::pose::PoseCOP | PoseCOP |
typedef protocols::filters::Filters_map | Filters_map |
typedef std::list< std::string > | Strings |
![]() | |
static std::string | name () |
static void | register_options () |
Overload this static method if you access options within the mover. More... | |
![]() | |
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::hybridization::InsertChunkMover::InsertChunkMover | ( | ) |
References align_trial_counter_, and protocols::moves::Mover::type().
protocols::hybridization::InsertChunkMover::~InsertChunkMover | ( | ) |
|
virtual |
Implements protocols::moves::Mover.
References check_overlap(), get_local_sequence_mapping(), registry_shift_, seqpos_start_, seqpos_stop_, set_bb_xyz_aligned(), and success_.
Referenced by protocols::hybridization::ChunkTrialMover::apply().
void protocols::hybridization::InsertChunkMover::check_overlap | ( | core::pose::Pose & | pose | ) |
References core::pose::Pose::batch_set_xyz(), core::chemical::ResidueType::has(), core::chemical::ResidueType::natoms(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), protocols::hybridization::RG, seqpos_start_, seqpos_stop_, core::pose::Pose::total_residue(), trans(), numeric::random::RandomGenerator::uniform(), and core::conformation::Residue::xyz().
Referenced by apply().
bool protocols::hybridization::InsertChunkMover::get_local_sequence_mapping | ( | core::pose::Pose & | pose, |
int | registry_shift = 0 , |
||
Size | MAX_TRIAL = 100 |
||
) |
References align_to_ss_only_, anchor_insert_only_, core::chemical::ResidueType::atom_index(), atom_map_, core::id::BOGUS_ATOM_ID, copy_ss_torsion_only_, protocols::hybridization::discontinued_lower(), protocols::hybridization::discontinued_upper(), core::kinematics::FoldTree::downstream_jump_residue(), core::pose::Pose::fold_tree(), core::pose::initialize_atomid_map(), core::chemical::ResidueType::is_protein(), jump_number_, numeric::random::RandomGenerator::random_range(), core::pose::Pose::residue_type(), protocols::hybridization::RG, secstruct_, seqpos_aligned_start_, seqpos_aligned_stop_, seqpos_start_, seqpos_stop_, sequence_alignment_, sequence_alignment_local_, template_pose_, and protocols::hybridization::TR.
Referenced by apply().
|
virtual |
Each derived class must specify its name. The class name.
Implements protocols::moves::Mover.
void protocols::hybridization::InsertChunkMover::set_aligned_chunk | ( | core::pose::Pose const & | pose, |
Size const | jump_number, | ||
bool | anchor_insert_only_in | ||
) |
void protocols::hybridization::InsertChunkMover::set_bb_xyz_aligned | ( | core::pose::Pose & | pose | ) |
References align_trial_counter_, core::chemical::ResidueType::atom_name(), core::pose::Pose::batch_set_xyz(), core::pose::Pose::conformation(), core::pose::Pose::data(), core::kinematics::FoldTree::downstream_jump_residue(), core::pose::Pose::fold_tree(), basic::datacache::BasicDataCache::get_ptr(), basic::datacache::BasicDataCache::has(), core::conformation::idealize_position(), jump_number_, core::chemical::ResidueType::last_backbone_atom(), core::chemical::ResidueType::natoms(), core::pose::Pose::residue(), core::pose::Pose::residue_type(), runtime_assert, seqpos_aligned_start_, seqpos_aligned_stop_, seqpos_start_, seqpos_stop_, sequence_alignment_local_, protocols::hybridization::TemplateHistory::set(), core::pose::datacache::CacheableDataType::TEMPLATE_HYBRIDIZATION_HISTORY, template_id_, template_pose_, and protocols::hybridization::TR.
Referenced by apply().
void protocols::hybridization::InsertChunkMover::set_registry_shift | ( | int | registry_shift | ) |
References registry_shift_.
Referenced by protocols::hybridization::ChunkTrialMover::apply().
void protocols::hybridization::InsertChunkMover::set_template | ( | core::pose::PoseCOP | template_pose, |
core::Size | template_id, | ||
std::map< core::Size, core::Size > const & | sequence_alignment | ||
) |
References sequence_alignment_, template_id_, and template_pose_.
Referenced by protocols::hybridization::ChunkTrialMover::apply().
|
inline |
Referenced by protocols::hybridization::ChunkTrialMover::apply().
References align_trial_counter_.
Referenced by protocols::hybridization::ChunkTrialMover::trial_counter().
|
private |
Referenced by get_local_sequence_mapping().
|
private |
Referenced by InsertChunkMover(), set_bb_xyz_aligned(), and trial_counter().
|
private |
Referenced by get_local_sequence_mapping(), and set_aligned_chunk().
|
private |
Referenced by get_local_sequence_mapping().
|
private |
Referenced by get_local_sequence_mapping().
|
private |
Referenced by get_local_sequence_mapping(), set_aligned_chunk(), and set_bb_xyz_aligned().
|
private |
Referenced by apply(), and set_registry_shift().
|
private |
Referenced by get_local_sequence_mapping().
|
private |
Referenced by get_local_sequence_mapping(), set_aligned_chunk(), and set_bb_xyz_aligned().
|
private |
Referenced by get_local_sequence_mapping(), and set_bb_xyz_aligned().
|
private |
Referenced by apply(), check_overlap(), get_local_sequence_mapping(), set_aligned_chunk(), and set_bb_xyz_aligned().
|
private |
Referenced by apply(), check_overlap(), get_local_sequence_mapping(), set_aligned_chunk(), and set_bb_xyz_aligned().
|
private |
Referenced by get_local_sequence_mapping(), and set_template().
|
private |
Referenced by get_local_sequence_mapping(), and set_bb_xyz_aligned().
|
private |
Referenced by set_bb_xyz_aligned(), and set_template().
|
private |
Referenced by get_local_sequence_mapping(), set_bb_xyz_aligned(), and set_template().