Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | Friends | List of all members
protocols::loops::Loop Class Reference

single loop definition More...

#include <Loop.hh>

Inheritance diagram for protocols::loops::Loop:
Inheritance graph
[legend]
Collaboration diagram for protocols::loops::Loop:
Collaboration graph
[legend]

Public Member Functions

virtual ~Loop ()
 Automatically generated virtual destructor for class deriving directly from ReferenceCount. More...
 
 Loop ()
 default constructor More...
 
 Loop (SerializedLoop loop)
 
 Loop (core::Size const start_in, core::Size const stop_in, core::Size const cut_in=0, core::Real skip_rate=0.0, bool const extended_in=false)
 input constructor More...
 
bool is_extended () const
 
core::Size start () const
 
core::Size stop () const
 
core::Size cut () const
 
core::Size size () const
 
core::Real skip_rate () const
 
void set_extended (bool input)
 
void set_start (core::Size input)
 
void set_stop (core::Size input)
 
void set_cut (core::Size input)
 
core::Size length () const
 Assuming that the loop represents a contiguous stretch of residues, returns the length. Makes no assumptions about directionality. That is, Loop(3,8).length() == Loop(8,3).length(). Constant time procedure. More...
 
bool increasing () const
 Returns true if the loop's elements are increasing. More...
 
bool decreasing () const
 Returns true if the loop's elements are decreasing. More...
 
core::Size midpoint () const
 Returns the midpoint of the loop. More...
 
bool operator< (Loop const &larger) const
 
bool operator== (Loop const &other) const
 
bool operator!= (Loop const &other) const
 
void get_residues (utility::vector1< Size > &selection) const
 add all residues within this loop definition into selection More...
 
void switch_movemap (core::kinematics::MoveMap &movemap, core::id::TorsionType, bool allow_moves=true) const
 switch DOF_Type for residues in loop. id::CHI, id::BB — don't use with id::JUMP More...
 
void choose_cutpoint (core::pose::Pose const &pose)
 
void auto_choose_cutpoint (core::pose::Pose const &pose)
 Autochoose a cutpoint using the secondary structure of the pose unless cutpoint is already set. More...
 
bool is_terminal (core::pose::Pose const &pose) const
 

Private Attributes

core::Size start_
 
core::Size stop_
 
core::Size cut_
 
core::Real skip_rate_
 
bool extended_
 

Friends

std::ostream & operator<< (std::ostream &os, const Loop &loop)
 

Detailed Description

single loop definition

Constructor & Destructor Documentation

protocols::loops::Loop::~Loop ( )
virtual

Automatically generated virtual destructor for class deriving directly from ReferenceCount.

Auto-generated virtual destructor

protocols::loops::Loop::Loop ( )
inline

default constructor

protocols::loops::Loop::Loop ( SerializedLoop  loop)
inline
protocols::loops::Loop::Loop ( core::Size const  start_in,
core::Size const  stop_in,
core::Size const  cut_in = 0,
core::Real  skip_rate = 0.0,
bool const  extended_in = false 
)
inline

input constructor

Member Function Documentation

void protocols::loops::Loop::auto_choose_cutpoint ( core::pose::Pose const &  pose)
inline

Autochoose a cutpoint using the secondary structure of the pose unless cutpoint is already set.

References choose_cutpoint(), and cut_.

Referenced by protocols::loops::loop_mover::IndependentLoopMover::apply().

void protocols::loops::Loop::choose_cutpoint ( core::pose::Pose const &  pose)
core::Size protocols::loops::Loop::cut ( ) const
inline

References cut_.

Referenced by protocols::loops::Loops::add_loop(), protocols::loops::Loops::add_overlap_loop(), protocols::loops::add_single_cutpoint_variant(), protocols::antibody2::H3PerturbCCD::apply(), protocols::loops::loop_closure::ccd::CcdLoopClosureMover::apply(), protocols::antibody2::RefineOneCDRLoop::apply(), protocols::grafting::AnchoredGraftMover::apply(), protocols::loops::loop_closure::ccd::CcdMover::apply(), protocols::forge::remodel::RemodelLoopMover::boost_closure_stage(), protocols::LoopRebuild::build_loop_with_ccd_closure(), protocols::swa::protein::StepWiseProteinCCD_Closer::CCD_loop_close(), protocols::ligand_docking::MinimizeBackbone::create_fold_tree_with_cutpoints(), protocols::loops::loop_mover::perturb::fast_ccd_close_loops(), protocols::forge::methods::fold_tree_from_loops(), protocols::loops::loop_closure::ccd::SlidingWindowLoopClosure::generate_window_list(), protocols::loops::loop_closure::ccd::CcdLoopClosureMover::get_loop_cut(), protocols::forge::remodel::RemodelLoopMover::independent_stage(), protocols::antibody2::H3RefineCCD::init(), protocols::swa::protein::StepWiseProteinLoopBridger::KIC_loop_close(), protocols::forge::remodel::RemodelLoopMover::loophash_stage(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_QuickCCD_Moves::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_CCD::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_KIC::model_loop(), protocols::loop_build::LoopMover_SlidingWindow::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_QuickCCD::model_loop(), operator<(), operator==(), protocols::loops::remove_missing_density(), protocols::ligand_docking::LigandBaseProtocol::reorder_foldtree_around_mobile_regions(), protocols::forge::remodel::RemodelLoopMover::repeat_generation(), protocols::forge::remodel::RemodelLoopMover::repeat_generation_with_additional_residue(), protocols::forge::remodel::RemodelLoopMover::repeat_propagation(), protocols::antibody::CDRH3Modeler::scored_frag_close(), protocols::loops::set_single_loop_fold_tree(), protocols::loops::loop_closure::ccd::ShortLoopClosure::ShortLoopClosure(), protocols::antibody2::simple_one_loop_fold_tree(), and protocols::antibody::simple_one_loop_fold_tree().

bool protocols::loops::Loop::decreasing ( ) const
inline

Returns true if the loop's elements are decreasing.

References increasing().

void protocols::loops::Loop::get_residues ( utility::vector1< Size > &  selection) const

add all residues within this loop definition into selection

References start_, and stop_.

bool protocols::loops::Loop::increasing ( ) const
inline

Returns true if the loop's elements are increasing.

References start(), and stop().

Referenced by decreasing(), and midpoint().

bool protocols::loops::Loop::is_extended ( ) const
inline
bool protocols::loops::Loop::is_terminal ( core::pose::Pose const &  pose) const
core::Size protocols::loops::Loop::length ( ) const
inline
core::Size protocols::loops::Loop::midpoint ( ) const
inline

Returns the midpoint of the loop.

References increasing(), length(), start(), and stop().

Referenced by protocols::nonlocal::HelixRotate::get_rotation_parameters().

bool protocols::loops::Loop::operator!= ( Loop const &  other) const
inline
bool protocols::loops::Loop::operator< ( Loop const &  larger) const
inline

References cut(), size(), and start().

bool protocols::loops::Loop::operator== ( Loop const &  other) const
inline

References cut(), size(), and start().

void protocols::loops::Loop::set_cut ( core::Size  input)
inline

References cut_.

void protocols::loops::Loop::set_extended ( bool  input)
inline

References extended_.

void protocols::loops::Loop::set_start ( core::Size  input)
inline
void protocols::loops::Loop::set_stop ( core::Size  input)
inline
core::Size protocols::loops::Loop::size ( ) const
inline
core::Real protocols::loops::Loop::skip_rate ( ) const
inline
core::Size protocols::loops::Loop::start ( ) const
inline

References start_.

Referenced by protocols::loops::Loops::add_loop(), protocols::loops::Loops::add_overlap_loop(), protocols::loops::loop_closure::ccd::ShortLoopClosure::apply(), protocols::nonlocal::SheetTranslate::apply(), protocols::loops::loop_mover::IndependentLoopMover::apply(), protocols::antibody2::RefineOneCDRLoopCentroid::apply(), protocols::antibody2::H3PerturbCCD::apply(), protocols::protein_interface_design::movers::LoopRemodel::apply(), protocols::loops::loop_closure::ccd::LoopClosure::apply(), protocols::loops::loop_closure::ccd::CcdLoopClosureMover::apply(), protocols::antibody2::RefineOneCDRLoop::apply(), protocols::loops::loop_closure::ccd::CcdMover::apply(), protocols::hybridization::CartesianHybridize::apply_frag(), protocols::nonlocal::avg_ca_position(), protocols::forge::remodel::RemodelLoopMover::boost_closure_stage(), protocols::comparative_modeling::bounded_loops_from_alignment(), protocols::loops::loop_closure::ccd::ShortLoopClosure::catch_fragment(), protocols::swa::protein::StepWiseProteinCCD_Closer::CCD_loop_close(), protocols::swa::protein::StepWiseProteinCCD_Closer::CCD_loop_close_sample_omega_recursively(), protocols::antibody2::CDR_H3_filter_legacy_code_with_old_rule(), protocols::hybridization::HybridizeFoldtreeDynamic::choose_anchor_position(), protocols::nonlocal::StarTreeBuilder::choose_anchor_position(), protocols::medal::chunk_probabilities(), protocols::nonlocal::chunks_by_CA_CA_distance(), protocols::rigid::RigidBodyMotionMover::compute_bias(), protocols::ligand_docking::MinimizeBackbone::create_fold_tree_with_cutpoints(), protocols::nonlocal::decompose(), protocols::nonlocal::SheetTranslate::decompose_structure(), protocols::nonlocal::HelixRotate::decompose_structure(), protocols::star::Extender::extend_unaligned(), protocols::loops::loop_mover::perturb::fast_ccd_close_loops(), protocols::forge::methods::fill_non_loop_cst_set(), protocols::abinitio::AbrelaxApplication::fold(), protocols::forge::methods::fold_tree_from_loops(), protocols::loops::loop_closure::ccd::SlidingWindowLoopClosure::generate_window_list(), protocols::antibody2::AntibodyInfo::get_CDR_Sequence_with_Stem(), protocols::loops::loop_closure::ccd::CcdLoopClosureMover::get_loop_start(), protocols::nonlocal::HelixRotate::get_rotation_parameters(), protocols::loophash::LoopHashLibrary::graft_loop(), protocols::loops::Loops::grow_loop(), protocols::loops::Loops::grow_loop_away_from_sheets(), protocols::loops::idealize_loop(), increasing(), protocols::forge::remodel::RemodelLoopMover::independent_stage(), protocols::antibody2::H3RefineCCD::init(), protocols::loops::loop_closure::ccd::LoopClosure::init(), protocols::loops::Loops::invert(), is_terminal(), protocols::nonlocal::SheetTranslate::is_valid(), protocols::nonlocal::HelixRotate::is_valid(), protocols::nonlocal::HelixRotate::jump_containing_helix(), protocols::nonlocal::SheetTranslate::jump_containing_sheet(), protocols::swa::protein::StepWiseProteinLoopBridger::KIC_loop_close(), length(), protocols::forge::remodel::RemodelLoopMover::loophash_stage(), protocols::forge::remodel::RemodelLoopMover::mark_loop_moveable(), midpoint(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_QuickCCD_Moves::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_CCD::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_KIC::model_loop(), protocols::loop_build::LoopMover_SlidingWindow::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_QuickCCD::model_loop(), protocols::loops::RationalLoopComparator::operator()(), protocols::loops::Loop_lt::operator()(), operator<(), operator==(), protocols::loops::remove_missing_density(), protocols::ligand_docking::LigandBaseProtocol::reorder_foldtree_around_mobile_regions(), protocols::forge::remodel::RemodelLoopMover::repeat_generation(), protocols::forge::remodel::RemodelLoopMover::repeat_generation_with_additional_residue(), protocols::forge::remodel::RemodelLoopMover::repeat_propagation(), protocols::forge::remodel::RemodelLoopMover::repeat_sync(), protocols::loops::loop_closure::ccd::WidthFirstSlidingWindowLoopClosure::sample_loops(), protocols::loops::loop_closure::ccd::SlidingWindowLoopClosure::sample_loops(), protocols::antibody::CDRH3Modeler::scored_frag_close(), protocols::loops::loop_closure::ccd::FASelectSlidingWindowLoopClosure::select_final_loop(), protocols::loops::loop_mover::LoopMover::set_extended_torsions(), protocols::loops::set_extended_torsions(), protocols::loops::set_extended_torsions_and_idealize_loops(), protocols::loops::set_move_map_for_centroid_loop(), protocols::loops::set_single_loop_fold_tree(), protocols::star::setup_constraints(), protocols::medal::setup_coordinate_constraints(), protocols::loops::loop_closure::ccd::ShortLoopClosure::ShortLoopClosure(), protocols::antibody2::simple_one_loop_fold_tree(), protocols::antibody::simple_one_loop_fold_tree(), and switch_movemap().

core::Size protocols::loops::Loop::stop ( ) const
inline

References stop_.

Referenced by protocols::loops::Loops::add_loop(), protocols::loops::Loops::add_overlap_loop(), protocols::nonlocal::SheetTranslate::apply(), protocols::loops::loop_mover::IndependentLoopMover::apply(), protocols::antibody2::RefineOneCDRLoopCentroid::apply(), protocols::antibody2::H3PerturbCCD::apply(), protocols::protein_interface_design::movers::LoopRemodel::apply(), protocols::loops::loop_closure::ccd::LoopClosure::apply(), protocols::loops::loop_closure::ccd::CcdLoopClosureMover::apply(), protocols::antibody2::RefineOneCDRLoop::apply(), protocols::loops::loop_closure::ccd::CcdMover::apply(), protocols::hybridization::CartesianHybridize::apply_frag(), protocols::nonlocal::avg_ca_position(), protocols::forge::remodel::RemodelLoopMover::boost_closure_stage(), protocols::comparative_modeling::bounded_loops_from_alignment(), protocols::swa::protein::StepWiseProteinCCD_Closer::CCD_loop_close(), protocols::swa::protein::StepWiseProteinCCD_Closer::CCD_loop_close_sample_omega_recursively(), protocols::antibody2::CDR_H3_filter_legacy_code_with_old_rule(), protocols::hybridization::HybridizeFoldtreeDynamic::choose_anchor_position(), protocols::nonlocal::StarTreeBuilder::choose_anchor_position(), protocols::medal::chunk_probabilities(), protocols::nonlocal::chunks_by_CA_CA_distance(), protocols::rigid::RigidBodyMotionMover::compute_bias(), protocols::ligand_docking::MinimizeBackbone::create_fold_tree_with_cutpoints(), protocols::nonlocal::decompose(), protocols::nonlocal::SheetTranslate::decompose_structure(), protocols::nonlocal::HelixRotate::decompose_structure(), protocols::antibody2::AntibodyInfo::detect_and_set_camelid_CDR_H3_stem_type(), protocols::antibody2::AntibodyInfo::detect_and_set_regular_CDR_H3_stem_type(), protocols::antibody2::AntibodyInfo::detect_and_set_regular_CDR_H3_stem_type_new_rule(), protocols::star::Extender::extend_unaligned(), protocols::loops::loop_mover::perturb::fast_ccd_close_loops(), protocols::forge::methods::fill_non_loop_cst_set(), protocols::forge::methods::fold_tree_from_loops(), protocols::loops::loop_closure::ccd::SlidingWindowLoopClosure::generate_window_list(), protocols::antibody2::AntibodyInfo::get_CDR_Sequence_with_Stem(), protocols::loops::loop_closure::ccd::CcdLoopClosureMover::get_loop_stop(), protocols::nonlocal::HelixRotate::get_rotation_parameters(), protocols::loophash::LoopHashLibrary::graft_loop(), protocols::loops::Loops::grow_loop(), protocols::loops::Loops::grow_loop_away_from_sheets(), protocols::loops::idealize_loop(), increasing(), protocols::forge::remodel::RemodelLoopMover::independent_stage(), protocols::antibody2::H3RefineCCD::init(), protocols::loops::loop_closure::ccd::LoopClosure::init(), protocols::loops::Loops::invert(), is_terminal(), protocols::nonlocal::SheetTranslate::is_valid(), protocols::nonlocal::HelixRotate::is_valid(), protocols::swa::protein::StepWiseProteinLoopBridger::KIC_loop_close(), length(), protocols::forge::remodel::RemodelLoopMover::loophash_stage(), protocols::forge::remodel::RemodelLoopMover::mark_loop_moveable(), midpoint(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_QuickCCD_Moves::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_CCD::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_KIC::model_loop(), protocols::loop_build::LoopMover_SlidingWindow::model_loop(), protocols::loops::loop_mover::perturb::LoopMover_Perturb_QuickCCD::model_loop(), protocols::loops::Loop_lt::operator()(), protocols::loops::remove_missing_density(), protocols::ligand_docking::LigandBaseProtocol::reorder_foldtree_around_mobile_regions(), protocols::forge::remodel::RemodelLoopMover::repeat_generation(), protocols::forge::remodel::RemodelLoopMover::repeat_generation_with_additional_residue(), protocols::forge::remodel::RemodelLoopMover::repeat_propagation(), protocols::forge::remodel::RemodelLoopMover::repeat_sync(), protocols::antibody::CDRH3Modeler::scored_frag_close(), protocols::loops::loop_mover::LoopMover::set_extended_torsions(), protocols::loops::set_extended_torsions(), protocols::loops::set_extended_torsions_and_idealize_loops(), protocols::loops::set_move_map_for_centroid_loop(), protocols::loops::set_single_loop_fold_tree(), protocols::nonlocal::StarTreeBuilder::set_up(), protocols::star::setup_constraints(), protocols::medal::setup_coordinate_constraints(), protocols::loops::loop_closure::ccd::ShortLoopClosure::ShortLoopClosure(), protocols::antibody2::simple_one_loop_fold_tree(), protocols::antibody::simple_one_loop_fold_tree(), switch_movemap(), and protocols::hybridization::HybridizeFoldtreeDynamic::update().

void protocols::loops::Loop::switch_movemap ( core::kinematics::MoveMap movemap,
core::id::TorsionType  id,
bool  allow_moves = true 
) const

switch DOF_Type for residues in loop. id::CHI, id::BB — don't use with id::JUMP

References core::kinematics::MoveMap::set(), start(), and stop().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Loop loop 
)
friend

Member Data Documentation

core::Size protocols::loops::Loop::cut_
private
bool protocols::loops::Loop::extended_
private
core::Real protocols::loops::Loop::skip_rate_
private
core::Size protocols::loops::Loop::start_
private
core::Size protocols::loops::Loop::stop_
private

The documentation for this class was generated from the following files: