Rosetta
|
#include <StructFragmentMover.hh>
Public Member Functions | |
StructFragmentMover () | |
Empty Constructor. More... | |
~StructFragmentMover () override | |
Destructor. More... | |
void | apply (core::pose::Pose &pose) override |
Apply Mover. More... | |
protocols::moves::MoverOP | clone () const override |
Create clone of this mover. More... | |
protocols::moves::MoverOP | fresh_instance () const override |
Create a fresh instance of this mover. More... | |
void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &) override |
Parse RosettaScripts options for this mover. More... | |
std::string | get_name () const override |
Get mover name. More... | |
core::Size | get_n_candidates () const |
Get the number of fragment candidates per position. More... | |
core::Size | get_n_frags () const |
Get the number of fragments per position. More... | |
core::Real | get_loop_angle_conf () const |
Get the confidence for phi and psi angles. More... | |
core::Size | get_small_frag_size () const |
Get the size of small fragments. More... | |
core::Size | get_large_frag_size () const |
Get the size of large fragments. More... | |
std::string | get_small_frag_file () const |
Get the path to the small fragment file. More... | |
std::string | get_large_frage_file () const |
Get the parth to the large fragment file. More... | |
std::string | get_prefix () const |
Get the prefix for the fragment file output. More... | |
bool | get_output_frag_files () const |
Check if fragment files should be outputted. More... | |
bool | get_steal_small_frags () const |
Check if small fragments are being stolen. More... | |
bool | get_steal_large_frags () const |
Check if large fragments are being stolen. More... | |
std::string | get_frag_weight_file () const |
Get the path to the fragment weight file. More... | |
std::string | get_sequence_profile () const |
Get the path to a sequence profile. More... | |
std::string | get_vall_file () const |
Get the path to the vall file. More... | |
void | set_n_candidates (core::Size n_candidates) |
Set the number of fragment candidates per position. More... | |
void | set_n_frags (core::Size n_frags) |
Set the number of fragments per position. More... | |
void | set_loop_angle_conf (core::Real loop_angle_conf) |
Set the confidence for phi and psi angles. More... | |
void | set_small_frag_size (core::Size small_frag_size) |
Set the size of small fragments. More... | |
void | set_large_frag_size (core::Size large_frag_size) |
Set the size of large fragments. More... | |
void | set_small_frag_file (std::string small_frag_file) |
Set the path to the small fragment file. More... | |
void | set_large_frag_file (std::string large_frag_file) |
Set the parth to the large fragment file. More... | |
void | set_prefix (std::string prefix) |
Set the prefix for the fragment file output. More... | |
void | set_output_frag_files (bool output_frag_files) |
Set whether fragment files should be outputted. More... | |
void | set_steal_small_frags (bool steal_small_frags) |
Set whether small fragments are being stolen. More... | |
void | set_steal_large_frags (bool steal_large_frags) |
Set whether large fragments are being stolen. More... | |
void | set_frag_weight_file (std::string frag_weight_file) |
Set the path to the fragment weight file. More... | |
void | set_sequence_profile (std::string sequence_profile) |
Set the path to a sequence profile. More... | |
void | set_vall_file (std::string vall_file) |
Set the path to the vall file. More... | |
void | set_secstruct (std::string const &ss) |
sets the secondary structure to be used for constraint generation More... | |
void | set_use_dssp (bool const use_dssp) |
If true, and no secstruct is specified, DSSP will be used to determine the pose secondary structure. If false (and no secstruct is specified), the pose secondary structure will be directly used. 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... | |
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... | |
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 void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
static std::string | mover_name () |
Return mover name. More... | |
![]() | |
static std::string | name () |
static void | register_options () |
Overload this static method if you access options within the mover. More... | |
Protected Member Functions | |
std::string | get_secstruct (core::pose::Pose const &pose) const |
returns secondary structure to be used in this constraint generator 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... | |
Static Private Member Functions | |
static core::Real | default_value_for_loop_angle_conf () |
Default value for the confidence of phi and psi angles. More... | |
static core::Size | default_value_for_small_frag_size () |
Default value for the small fragment size. More... | |
static core::Size | default_value_for_large_frag_size () |
Default value for the large fragment size. More... | |
static bool | default_value_for_output_frag_files () |
Default value for outputting fragment files. More... | |
static bool | default_value_for_steal_small_frags () |
Default value for stealing small fragments. More... | |
static bool | default_value_for_steal_large_frags () |
Default value for stealing large fragments. More... | |
static std::string | default_value_for_empty_file () |
Default value for empty file. More... | |
static core::Size | default_value_for_n_candidates () |
Default value for fragment candidates per position. More... | |
static core::Size | default_value_for_n_frags () |
Default value for the number of fragments per position. More... | |
static std::string | default_value_for_prefix () |
Default prefix for fragment output files. More... | |
static std::string | default_value_for_secstruct () |
Default value for empty file. More... | |
Private Attributes | |
protocols::frag_picker::FragmentPickerOP | structPicker_ |
core::Real | loop_angle_conf_ |
core::Size | small_frag_size_ |
core::Size | large_frag_size_ |
std::string | small_frag_file_ |
std::string | large_frag_file_ |
bool | output_frag_files_ |
bool | steal_small_frags_ |
bool | steal_large_frags_ |
bool | changed_frags_ |
std::string | frag_weight_file_ |
std::string | sequence_profile_ |
std::string | vall_file_ |
core::fragment::FragSetOP | smallF_ |
core::fragment::FragSetOP | largeF_ |
bool | use_dssp_ |
std::string | secstruct_ |
Additional Inherited Members | |
![]() | |
typedef utility::tag::TagCOP | TagCOP |
typedef core::pose::Pose | Pose |
typedef core::pose::PoseCOP | PoseCOP |
typedef std::list< std::string > | Strings |
protocols::struct_fragment::StructFragmentMover::StructFragmentMover | ( | ) |
Empty Constructor.
References default_value_for_n_candidates(), default_value_for_n_frags(), default_value_for_prefix(), and structPicker_.
|
overridedefault |
Destructor.
|
overridevirtual |
Apply Mover.
Implements protocols::moves::Mover.
References changed_frags_, core::pose::Pose::empty(), evaluate_job(), get_fragments(), large_frag_file_, large_frag_size_, largeF_, output_frag_files_, read_frag_files(), small_frag_file_, small_frag_size_, smallF_, steal_fragments(), structPicker_, core::id::to_string(), protocols::struct_fragment::TR(), and core::fragment::FragmentIO::write_data().
|
inlineoverridevirtual |
Create clone of this mover.
Reimplemented from protocols::moves::Mover.
|
private |
Referenced by get_fragments().
|
inlinestaticprivate |
Default value for empty file.
Referenced by parse_my_tag().
|
inlinestaticprivate |
Default value for the large fragment size.
Referenced by parse_my_tag(), and provide_xml_schema().
|
inlinestaticprivate |
Default value for the confidence of phi and psi angles.
|
inlinestaticprivate |
Default value for fragment candidates per position.
Referenced by parse_my_tag(), provide_xml_schema(), and StructFragmentMover().
|
inlinestaticprivate |
Default value for the number of fragments per position.
Referenced by parse_my_tag(), provide_xml_schema(), and StructFragmentMover().
|
inlinestaticprivate |
Default value for outputting fragment files.
Referenced by parse_my_tag(), and provide_xml_schema().
|
inlinestaticprivate |
Default prefix for fragment output files.
Referenced by parse_my_tag(), provide_xml_schema(), and StructFragmentMover().
|
inlinestaticprivate |
Default value for empty file.
Referenced by provide_xml_schema().
|
inlinestaticprivate |
Default value for the small fragment size.
Referenced by parse_my_tag(), and provide_xml_schema().
|
inlinestaticprivate |
Default value for stealing large fragments.
Referenced by parse_my_tag(), and provide_xml_schema().
|
inlinestaticprivate |
Default value for stealing small fragments.
Referenced by parse_my_tag(), and provide_xml_schema().
|
private |
evaluates which process to run
References large_frag_file_, small_frag_file_, steal_large_frags_, steal_small_frags_, and vall_file_.
Referenced by apply().
|
inlineoverridevirtual |
Create a fresh instance of this mover.
Reimplemented from protocols::moves::Mover.
|
inline |
Get the path to the fragment weight file.
References frag_weight_file_.
|
private |
Collect fragments for the specified input structure.
References changed_frags_, collector_to_picker(), get_fragset(), large_frag_size_, make_fragment_picker(), core::pose::Pose::pdb_info(), small_frag_size_, steal_large_frags_, steal_small_frags_, core::pose::Pose::total_residue(), protocols::struct_fragment::TR(), and vall_file_.
Referenced by apply().
|
private |
References protocols::cluster::calibur::aa, core::scoring::omega, core::conformation::membrane::out, and protocols::struct_fragment::TR().
Referenced by get_fragments().
|
inline |
Get the size of large fragments.
References large_frag_size_.
|
inline |
Get the parth to the large fragment file.
References large_frag_file_.
|
inline |
Get the confidence for phi and psi angles.
References loop_angle_conf_.
|
inline |
Get the number of fragment candidates per position.
References structPicker_.
|
inline |
Get the number of fragments per position.
References structPicker_.
|
inlineoverridevirtual |
|
inline |
Check if fragment files should be outputted.
References output_frag_files_.
|
inline |
Get the prefix for the fragment file output.
References structPicker_.
|
protected |
returns secondary structure to be used in this constraint generator
[in] | pose | Input pose |
References protocols::simple_filters::dssp(), core::pose::Pose::secstruct(), secstruct_, and use_dssp_.
Referenced by make_fragment_picker().
|
inline |
Get the path to a sequence profile.
References sequence_profile_.
|
inline |
Get the path to the small fragment file.
References small_frag_file_.
|
inline |
Get the size of small fragments.
References small_frag_size_.
|
inline |
Check if large fragments are being stolen.
References steal_large_frags_.
|
inline |
Check if small fragments are being stolen.
References steal_small_frags_.
|
inline |
Get the path to the vall file.
References vall_file_.
|
private |
Create fragment picker for the specified input structure.
References core::pose::Pose::conformation(), core::conformation::Conformation::detect_disulfides(), frag_weight_file_, get_secstruct(), core::conformation::Residue::is_protein(), loop_angle_conf_, core::pose::Pose::phi(), core::pose::Pose::psi(), core::pose::Pose::residue(), core::pose::Pose::sequence(), sequence_profile_, structPicker_, core::pose::Pose::total_residue(), and protocols::struct_fragment::TR().
Referenced by get_fragments().
|
inlinestatic |
Return mover name.
Referenced by get_name(), protocols::struct_fragment::StructFragmentMoverCreator::keyname(), and provide_xml_schema().
|
overridevirtual |
Parse RosettaScripts options for this mover.
Reimplemented from protocols::moves::Mover.
References default_value_for_empty_file(), default_value_for_large_frag_size(), default_value_for_n_candidates(), default_value_for_n_frags(), default_value_for_output_frag_files(), default_value_for_prefix(), default_value_for_small_frag_size(), default_value_for_steal_large_frags(), default_value_for_steal_small_frags(), frag_weight_file_, large_frag_file_, large_frag_size_, largeF_, output_frag_files_, secstruct_, sequence_profile_, set_secstruct(), set_use_dssp(), small_frag_file_, small_frag_size_, smallF_, steal_large_frags_, steal_small_frags_, structPicker_, protocols::struct_fragment::TR(), use_dssp_, and vall_file_.
|
static |
References default_value_for_large_frag_size(), default_value_for_n_candidates(), default_value_for_n_frags(), default_value_for_output_frag_files(), default_value_for_prefix(), default_value_for_secstruct(), default_value_for_small_frag_size(), default_value_for_steal_large_frags(), default_value_for_steal_small_frags(), mover_name(), core::id::to_string(), and protocols::moves::xsd_type_definition_w_attributes().
Referenced by protocols::struct_fragment::StructFragmentMoverCreator::provide_xml_schema().
|
private |
Read existing fragment file.
References core::fragment::FragmentIO::read_data(), and protocols::struct_fragment::TR().
Referenced by read_frag_files().
|
private |
Read small and large fragment file and combine the fragments.
References read_frag_file().
Referenced by apply().
|
inline |
Set the path to the fragment weight file.
References frag_weight_file_.
|
inline |
Set the parth to the large fragment file.
References large_frag_file_.
|
inline |
Set the size of large fragments.
References large_frag_size_.
|
inline |
Set the confidence for phi and psi angles.
References loop_angle_conf_.
|
inline |
Set the number of fragment candidates per position.
References structPicker_.
|
inline |
Set the number of fragments per position.
References structPicker_.
|
inline |
Set whether fragment files should be outputted.
References output_frag_files_.
|
inline |
Set the prefix for the fragment file output.
References structPicker_.
void protocols::struct_fragment::StructFragmentMover::set_secstruct | ( | std::string const & | ss | ) |
sets the secondary structure to be used for constraint generation
returns secondary structure to be used in this constraint generator
[in] | pose | Input pose |
References secstruct_.
Referenced by parse_my_tag().
|
inline |
Set the path to a sequence profile.
References sequence_profile_.
|
inline |
Set the path to the small fragment file.
References small_frag_file_.
|
inline |
Set the size of small fragments.
References small_frag_size_.
|
inline |
Set whether large fragments are being stolen.
References steal_large_frags_.
|
inline |
Set whether small fragments are being stolen.
References steal_small_frags_.
void protocols::struct_fragment::StructFragmentMover::set_use_dssp | ( | bool const | use_dssp | ) |
If true, and no secstruct is specified, DSSP will be used to determine the pose secondary structure. If false (and no secstruct is specified), the pose secondary structure will be directly used.
[in] | use_dssp | Desired value |
References use_dssp_.
Referenced by parse_my_tag().
|
inline |
Set the path to the vall file.
References vall_file_.
|
private |
|
private |
|
private |
References core::pose::Pose::total_residue(), and protocols::struct_fragment::TR().
Referenced by steal_fragments().
|
private |
Referenced by apply(), get_fragments(), and steal_fragments().
|
private |
Referenced by get_frag_weight_file(), make_fragment_picker(), parse_my_tag(), and set_frag_weight_file().
|
private |
Referenced by apply(), evaluate_job(), get_large_frage_file(), parse_my_tag(), and set_large_frag_file().
|
private |
Referenced by apply(), get_fragments(), get_large_frag_size(), parse_my_tag(), set_large_frag_size(), and steal_fragments().
|
private |
Referenced by apply(), and parse_my_tag().
|
private |
Referenced by get_loop_angle_conf(), make_fragment_picker(), and set_loop_angle_conf().
|
private |
Referenced by apply(), get_output_frag_files(), parse_my_tag(), and set_output_frag_files().
|
private |
Referenced by get_secstruct(), parse_my_tag(), and set_secstruct().
|
private |
Referenced by get_sequence_profile(), make_fragment_picker(), parse_my_tag(), and set_sequence_profile().
|
private |
Referenced by apply(), evaluate_job(), get_small_frag_file(), parse_my_tag(), and set_small_frag_file().
|
private |
Referenced by apply(), get_fragments(), get_small_frag_size(), parse_my_tag(), set_small_frag_size(), and steal_fragments().
|
private |
Referenced by apply(), and parse_my_tag().
|
private |
Referenced by evaluate_job(), get_fragments(), get_steal_large_frags(), parse_my_tag(), set_steal_large_frags(), and steal_fragments().
|
private |
Referenced by evaluate_job(), get_fragments(), get_steal_small_frags(), parse_my_tag(), set_steal_small_frags(), and steal_fragments().
|
private |
|
private |
Referenced by get_secstruct(), parse_my_tag(), and set_use_dssp().
|
private |
Referenced by evaluate_job(), get_fragments(), get_vall_file(), parse_my_tag(), and set_vall_file().