![]() |
Rosetta Protocols
2014.35
|
Ab initio modeling of CDR H3 loop. More...
#include <CDRH3Modeler.hh>
Public Member Functions | |
CDRH3Modeler (utility::vector1< core::fragment::FragSetOP > cdr_h3_frags) | |
default constructor More... | |
~CDRH3Modeler () | |
default destructor More... | |
void | model_h3 (bool setting) |
enable CDR H3 loop building More... | |
void | enable_benchmark_mode (bool setting) |
enable benchmark mode More... | |
void | set_camelid (bool setting) |
enable camelid modeling mode More... | |
void | set_centroid_loop_building (bool setting) |
set centroid mode loop building More... | |
void | set_fullatom_loop_building (bool setting) |
set fullatom mode loop building More... | |
void | set_default () |
virtual void | apply (core::pose::Pose &pose_in) |
virtual std::string | get_name () const |
Each derived class must specify its name. The class name. More... | |
void | build_centroid_loop () |
Build centroid mode CDR H3 loop. More... | |
void | build_fullatom_loop () |
Build fullatom mode CDR H3 loop. More... | |
void | set_lowres_score_func (core::scoring::ScoreFunctionOP lowres_scorefxn) |
set scorefunction for low resolution of CDR H3 modeling More... | |
void | set_highres_score_func (core::scoring::ScoreFunctionOP highres_scorefxn) |
set scorefunction for high resolution of CDR H3 modeling More... | |
void | antibody_modeling_insert_ter () |
insert C-terminal fragments More... | |
void | store_H3_cter_fragment (utility::vector1< core::fragment::FragData > &base_library_in) |
store CDR H3 C-terminal fragments More... | |
bool | cutpoints_separation () |
return false if any cdr cutpoint is broken More... | |
core::Real | cutpoint_separation (core::pose::Pose &pose_in, Size cutpoint) |
void | scored_frag_close (core::pose::Pose &pose_in, loops::Loop const trimmed_cdr_h3) |
builds a loop from fragments file. More... | |
bool | CDR_H3_filter (const core::pose::Pose &pose_in, core::Size const loop_begin, core::Size const size, char const light_chain= 'L') |
tests if a loop has H3 like base charachteristics More... | |
void | loop_fa_relax (core::pose::Pose &pose_in, core::Size const loop_begin, core::Size const loop_end) |
actually relaxes the region specified More... | |
void | loop_centroid_relax (core::pose::Pose &pose_in, core::Size const loop_begin, core::Size const loop_end) |
actually relaxes the region specified More... | |
void | setup_packer_task (core::pose::Pose &pose_in) |
![]() | |
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... | |
Public Attributes | |
utility::vector1 < core::fragment::FragData > | H3_base_library |
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... | |
Ab initio modeling of CDR H3 loop.
protocols::antibody_legacy::CDRH3Modeler::CDRH3Modeler | ( | utility::vector1< core::fragment::FragSetOP > | cdr_h3_frags | ) |
default constructor
References cdr_h3_frags_, and set_default().
protocols::antibody_legacy::CDRH3Modeler::~CDRH3Modeler | ( | ) |
default destructor
void protocols::antibody_legacy::CDRH3Modeler::antibody_modeling_insert_ter | ( | ) |
insert C-terminal fragments
References antibody_in_, protocols::antibody_legacy::Antibody::cdrh_, core::pose::Pose::fold_tree(), protocols::antibody_legacy::Antibody::Fv, H3_base_library, is_camelid_, numeric::random::RandomGenerator::random_range(), protocols::RG, protocols::antibody_legacy::simple_one_loop_fold_tree(), and protocols::TR.
Referenced by build_centroid_loop().
|
virtual |
Implements protocols::moves::Mover.
References antibody_in_, antibody_refine_, protocols::simple_moves::SwitchResidueTypeSetMover::apply(), protocols::simple_moves::ReturnSidechainMover::apply(), protocols::simple_moves::PackRotamersMover::apply(), apply_centroid_mode_, apply_fullatom_mode_, benchmark_, build_centroid_loop(), build_fullatom_loop(), c_ter_stem_, protocols::antibody_legacy::Antibody::cdrh_, current_loop_is_H3_, cutpoints_separation(), do_h3_modeling_, protocols::antibody_legacy::Antibody::extended_, protocols::antibody_legacy::Antibody::Fv, H3_filter_, highres_scorefxn_, is_camelid_, protocols::antibody_legacy::Antibody::kinked_, loop_centroid_relax(), loop_fa_relax(), protocols::simple_moves::PackRotamersMover::nloop(), recover_sidechains, protocols::antibody_legacy::Antibody::set_Fv(), setup_packer_task(), protocols::antibody_legacy::simple_one_loop_fold_tree(), snug_fit_, start_pose_, protocols::simple_moves::PackRotamersMover::task_factory(), tf_, protocols::medal::to_centroid(), core::pose::Pose::total_residue(), and protocols::TR.
void protocols::antibody_legacy::CDRH3Modeler::build_centroid_loop | ( | ) |
Build centroid mode CDR H3 loop.
References antibody_in_, antibody_modeling_insert_ter(), apply_centroid_mode_, c_ter_stem_, protocols::antibody_legacy::Antibody::cdrh_, protocols::antibody_legacy::Antibody::current_start, cutoff_9_, cutpoints_separation(), protocols::antibody_legacy::Antibody::Fv, core::pose::Pose::omega(), core::import_pose::pose_from_pdb(), core::pose::Pose::psi(), scored_frag_close(), core::pose::Pose::set_omega(), core::pose::Pose::set_psi(), protocols::antibody_legacy::simple_one_loop_fold_tree(), protocols::loops::Loop::size(), template_pose_, and protocols::TR.
Referenced by apply().
void protocols::antibody_legacy::CDRH3Modeler::build_fullatom_loop | ( | ) |
Build fullatom mode CDR H3 loop.
References antibody_in_, apply_fullatom_mode_, base_, protocols::antibody_legacy::Antibody::cdrh_, cutpoints_separation(), protocols::antibody_legacy::Antibody::Fv, loop_fa_relax(), and protocols::TR.
Referenced by apply().
bool protocols::antibody_legacy::CDRH3Modeler::CDR_H3_filter | ( | const core::pose::Pose & | pose_in, |
core::Size const | loop_begin, | ||
core::Size const | size, | ||
char const | light_chain = 'L' |
||
) |
tests if a loop has H3 like base charachteristics
CDR_H3_filter
[in] | pose | full actual protein loop_begin: seq numbered loop begin corresponding to pose size: size of loop to compute loop_end |
References protocols::frag_picker::CA, numeric::dihedral_degrees(), H3_filter_, is_camelid_, core::conformation::Residue::name3(), core::pose::Pose::pdb_info(), core::pose::Pose::residue(), protocols::TR, and protocols::kinmatch::xyz().
Referenced by loop_fa_relax(), and scored_frag_close().
Real protocols::antibody_legacy::CDRH3Modeler::cutpoint_separation | ( | core::pose::Pose & | pose_in, |
Size | cutpoint | ||
) |
References C, N, core::pose::Pose::residue(), and core::conformation::Residue::xyz().
Referenced by cutpoints_separation().
bool protocols::antibody_legacy::CDRH3Modeler::cutpoints_separation | ( | ) |
return false if any cdr cutpoint is broken
References protocols::antibody_legacy::Antibody::all_cdr_loops, antibody_in_, protocols::loops::Loops::begin(), cutpoint_separation(), protocols::loops::Loops::end(), and protocols::antibody_legacy::Antibody::Fv.
Referenced by apply(), build_centroid_loop(), and build_fullatom_loop().
|
inline |
enable benchmark mode
References benchmark_.
|
virtual |
Each derived class must specify its name. The class name.
Implements protocols::moves::Mover.
void protocols::antibody_legacy::CDRH3Modeler::loop_centroid_relax | ( | core::pose::Pose & | pose_in, |
core::Size const | loop_begin, | ||
core::Size const | loop_end | ||
) |
actually relaxes the region specified
loop_centroid_relax
[in] | pose,loop | begin position, loop end position |
References protocols::moves::MoverContainer::add_mover(), core::pose::add_variant_type_to_pose_residue(), antibody_refine_, protocols::moves::SequenceMover::apply(), benchmark_, core::pose::Pose::fold_tree(), core::conformation::Residue::has_variant_type(), core::conformation::Residue::is_upper_terminus(), lowres_scorefxn_, numeric::max(), mc, min_tolerance, min_type, outer_cycles, refine_input_loop_, core::pose::Pose::residue(), protocols::antibody_legacy::simple_one_loop_fold_tree(), snug_fit_, temperature, core::pose::Pose::total_residue(), and protocols::TR.
Referenced by apply().
void protocols::antibody_legacy::CDRH3Modeler::loop_fa_relax | ( | core::pose::Pose & | pose_in, |
core::Size const | loop_begin, | ||
core::Size const | loop_end | ||
) |
actually relaxes the region specified
loop_fa_relax
[in] | pose,loop | begin position, loop end position |
References protocols::moves::MoverContainer::add_mover(), core::pose::add_variant_type_to_pose_residue(), antibody_build_, antibody_in_, antibody_refine_, protocols::moves::ChangeFoldTreeMover::apply(), protocols::simple_moves::RotamerTrialsMover::apply(), protocols::moves::SequenceMover::apply(), benchmark_, CDR_H3_filter(), protocols::antibody_legacy::Antibody::cdrh_, current_loop_is_H3_, decoy_loop_cutpoint_, flank_relax_, core::pose::Pose::fold_tree(), freeze_h3_, H3_filter_, h3_flank_, h3_random_cut_, core::conformation::Residue::has_variant_type(), highres_scorefxn_, core::pose::Pose::is_fullatom(), core::conformation::Residue::is_upper_terminus(), numeric::max(), mc, min_base_relax_, min_tolerance, min_type, numeric::mod(), outer_cycles, core::pack::task::TaskFactory::push_back(), refine_input_loop_, core::pose::Pose::residue(), protocols::loops::select_loop_residues(), setup_packer_task(), protocols::antibody_legacy::simple_fold_tree(), snug_fit_, start_pose_, temperature, tf_, core::pose::Pose::total_residue(), protocols::TR, and utility_exit_with_message.
Referenced by apply(), and build_fullatom_loop().
|
inline |
enable CDR H3 loop building
References do_h3_modeling_.
void protocols::antibody_legacy::CDRH3Modeler::scored_frag_close | ( | core::pose::Pose & | pose_in, |
loops::Loop const | trimmed_cdr_h3 | ||
) |
builds a loop from fragments file.
scored_frag_close
[in] | weight_map | in this case its a centroid weight pose_in: loop to be built on this template provided loop_begin/loop_end: loop termini definition frag_size: 3-mer or 9-mer frag_offset:agreement in frag file numbering & pose numberng cycles1: max cycles to be spent building loops cycles2: # of fragment swaps for each loop(depends on size) do_ccd_moves: should ccd moves be used to close gaps |
References core::pose::add_variant_type_to_pose_residue(), antibody_in_, protocols::simple_moves::ClassicFragmentMover::apply(), ccd_closure, CDR_H3_filter(), cdr_h3_frags_, protocols::antibody_legacy::Antibody::cdrh_, current_loop_is_H3_, protocols::loops::Loop::cut(), cutoff_9_, protocols::simple_moves::ClassicFragmentMover::define_start_window(), protocols::simple_moves::ClassicFragmentMover::enable_end_bias_check(), protocols::antibody_legacy::Antibody::extended_, core::pose::Pose::fold_tree(), H3_filter_, is_camelid_, lowres_scorefxn_, mc, core::pose::Pose::residue(), protocols::RG, protocols::simple_moves::ClassicFragmentMover::set_check_ss(), protocols::antibody_legacy::simple_one_loop_fold_tree(), protocols::loops::Loop::size(), protocols::loops::Loop::start(), protocols::loops::Loop::stop(), protocols::TR, numeric::random::RandomGenerator::uniform(), and utility_exit_with_message.
Referenced by build_centroid_loop().
|
inline |
enable camelid modeling mode
References docking_local_refine_, H3_filter_, is_camelid_, and snug_fit_.
|
inline |
set centroid mode loop building
References apply_centroid_mode_.
void protocols::antibody_legacy::CDRH3Modeler::set_default | ( | ) |
References antibody_build_, antibody_refine_, apply_centroid_mode_, apply_fullatom_mode_, base_, benchmark_, c_ter_stem_, cen_cst_, current_loop_is_H3_, cutoff_3_, cutoff_9_, decoy_loop_cutpoint_, dle_flag_, do_h3_modeling_, docking_local_refine_, flank_relax_, freeze_h3_, H3_filter_, h3_flank_, h3_random_cut_, high_cst_, highres_scorefxn_, is_camelid_, loops_flag_, lowres_scorefxn_, min_base_relax_, protocols::forge::methods::overlap_chainbreak(), refine_input_loop_, snug_fit_, and protocols::TR.
Referenced by CDRH3Modeler().
|
inline |
set fullatom mode loop building
References apply_fullatom_mode_.
void protocols::antibody_legacy::CDRH3Modeler::set_highres_score_func | ( | core::scoring::ScoreFunctionOP | highres_scorefxn | ) |
set scorefunction for high resolution of CDR H3 modeling
References highres_scorefxn_.
void protocols::antibody_legacy::CDRH3Modeler::set_lowres_score_func | ( | core::scoring::ScoreFunctionOP | lowres_scorefxn | ) |
set scorefunction for low resolution of CDR H3 modeling
References lowres_scorefxn_.
void protocols::antibody_legacy::CDRH3Modeler::setup_packer_task | ( | core::pose::Pose & | pose_in | ) |
References init_task_factory_, core::pack::dunbrack::load_unboundrot(), core::pack::task::TaskFactory::push_back(), tf_, protocols::TR, and unboundrot.
Referenced by apply(), and loop_fa_relax().
void protocols::antibody_legacy::CDRH3Modeler::store_H3_cter_fragment | ( | utility::vector1< core::fragment::FragData > & | base_library_in | ) |
store CDR H3 C-terminal fragments
References H3_base_library.
|
private |
build H3 only
Referenced by loop_fa_relax(), and set_default().
|
private |
|
private |
refine H3 only
Referenced by apply(), loop_centroid_relax(), loop_fa_relax(), and set_default().
|
private |
Centroid mode loop building.
Referenced by apply(), build_centroid_loop(), set_centroid_loop_building(), and set_default().
|
private |
Fullatom mode loop building.
Referenced by apply(), build_fullatom_loop(), set_default(), and set_fullatom_loop_building().
|
private |
Number of ADDITIONAL residues modeled from H3_CTERM These residues range from H:n-2,n-1,n,n+1 of H3.
Referenced by build_fullatom_loop(), and set_default().
|
private |
benchmark flag
Referenced by apply(), enable_benchmark_mode(), loop_centroid_relax(), loop_fa_relax(), and set_default().
|
private |
Referenced by apply(), build_centroid_loop(), and set_default().
|
private |
Referenced by CDRH3Modeler(), and scored_frag_close().
|
private |
Referenced by set_default().
|
private |
flag indicating that current loop being modeled is CDR H3
Referenced by apply(), loop_fa_relax(), scored_frag_close(), and set_default().
|
private |
size of loop above which 3mer frags are used
Referenced by set_default().
|
private |
size of loop above which 9mer frags are used
Referenced by build_centroid_loop(), scored_frag_close(), and set_default().
|
private |
cutpoint whose separation is computed in scorefile
Referenced by loop_fa_relax(), and set_default().
|
private |
insert fragment in docking
Referenced by set_default().
|
private |
Referenced by apply(), model_h3(), and set_default().
|
private |
Referenced by set_camelid(), and set_default().
|
private |
|
private |
relax flanking regions of h3
Referenced by loop_fa_relax(), and set_default().
|
private |
freeze h3 during all cdr relax and local refine
Referenced by loop_fa_relax(), and set_default().
utility::vector1< core::fragment::FragData > protocols::antibody_legacy::CDRH3Modeler::H3_base_library |
Referenced by antibody_modeling_insert_ter(), and store_H3_cter_fragment().
|
private |
actually enables H3 filter for H3 operations
Referenced by apply(), CDR_H3_filter(), loop_fa_relax(), scored_frag_close(), set_camelid(), and set_default().
|
private |
number of flanking residues:default 5
Referenced by loop_fa_relax(), and set_default().
|
private |
use random cutpoints for h3 modeling
Referenced by loop_fa_relax(), and set_default().
|
private |
Referenced by set_default().
|
private |
Referenced by apply(), loop_fa_relax(), set_default(), and set_highres_score_func().
|
private |
Referenced by setup_packer_task().
|
private |
is camelid antibody without light chain
Referenced by antibody_modeling_insert_ter(), apply(), CDR_H3_filter(), scored_frag_close(), set_camelid(), and set_default().
|
private |
loop_building in docking
Referenced by set_default().
|
private |
Referenced by loop_centroid_relax(), scored_frag_close(), set_default(), and set_lowres_score_func().
|
private |
lower amplitude during base relaxation
Referenced by loop_fa_relax(), and set_default().
|
private |
just refine input loop
Referenced by loop_centroid_relax(), loop_fa_relax(), and set_default().
|
private |
enable docking local refine of LH chains & simultaneous H3 min
Referenced by apply(), loop_centroid_relax(), loop_fa_relax(), set_camelid(), and set_default().
|
private |
Referenced by apply(), and loop_fa_relax().
|
private |
Referenced by build_centroid_loop().
|
private |
Referenced by apply(), loop_fa_relax(), and setup_packer_task().