![]() |
Rosetta Protocols
2014.35
|
#include <ThreadingJob.hh>
Public Member Functions | |
ThreadingJob (core::pose::PoseCOP template_pdb, core::sequence::SequenceAlignmentCOP alignment, std::string const &input_tag, core::Size nstruct_max) | |
ctor. Note that it takes only the input tag and max nstruct, pose instantiation is deferred until the pose is needed More... | |
core::sequence::SequenceAlignment const & | alignment () const |
the alignment for this Job More... | |
std::string | alignment_id () const |
convenience : alignment id More... | |
protocols::loops::Loops | loops (core::Size nres) const |
returns the "standard" loop definition (as conservative as possible) More... | |
utility::vector1< core::Size > const & | extra_residues_to_steal () const |
returns list of extra residues to steal More... | |
void | extra_residues_to_steal (utility::vector1< core::Size > const &res) |
![]() | |
InnerJob (std::string const &input_tag, core::Size nstruct_max) | |
ctor. Note that it takes only the input tag and max nstruct, pose instantiation is deferred until the pose is needed More... | |
InnerJob (core::pose::PoseCOP, std::string const &input_tag, core::Size nstruct_max) | |
ctor. Note that it takes only the input tag and max nstruct, pose instantiation is deferred until the pose is needed More... | |
virtual | ~InnerJob () |
virtual void | show (std::ostream &out) const |
std::string const & | input_tag () const |
return the input tag (a string of space separated PDB filenames) More... | |
core::Size | nstruct_max () const |
core::pose::PoseCOP | get_pose () const |
return a COP to the input pose DO NOT USE OUTSIDE OF JD2 NAMESPACE More... | |
void | set_bad (bool value=true) |
bool | bad () const |
Additional Inherited Members | |
![]() | |
void | set_pose (core::pose::PoseCOP pose) |
set the input pose. this function is deliberately heavily protected. Parser uses it to re-load the pose after adding constraints. JobInputter is its primary client (using it to load poses). JobDistributor uses it to set the PoseCOP to NULL when done with the input. More... | |
The InnerThreadingJob class is responsible for knowing input requirements for a given job - how many nstruct, and what the input is. InnerThreadingJobs are relatively heavy; there is no need to duplicate a series of InnerThreadingJobs for each index into nstruct. The companion ThreadingJob class handles the nstruct index and has a pointer to an InnerThreadingJob (which is shared across many ThreadingJobs). InnerThreadingJob also holds a PoseOP to maintain the unmodified input pose for that job.
protocols::comparative_modeling::ThreadingJob::ThreadingJob | ( | core::pose::PoseCOP | template_pdb, |
core::sequence::SequenceAlignmentCOP | alignment, | ||
std::string const & | input_tag, | ||
core::Size | nstruct_max | ||
) |
ctor. Note that it takes only the input tag and max nstruct, pose instantiation is deferred until the pose is needed
References alignment(), alignment_, fasta2template_, nres_template_, ss, and protocols::comparative_modeling::tr.
|
inline |
|
inline |
convenience : alignment id
References alignment(), and core::sequence::SequenceAlignment::alignment_id().
utility::vector1< core::Size > const & protocols::comparative_modeling::ThreadingJob::extra_residues_to_steal | ( | ) | const |
returns list of extra residues to steal
References extra_residues_to_steal_.
void protocols::comparative_modeling::ThreadingJob::extra_residues_to_steal | ( | utility::vector1< core::Size > const & | res | ) |
References extra_residues_to_steal_.
protocols::loops::Loops protocols::comparative_modeling::ThreadingJob::loops | ( | core::Size | nres | ) | const |
returns the "standard" loop definition (as conservative as possible)
References alignment_, protocols::loops::Loops::begin(), protocols::loops::Loops::end(), extra_res, extra_residues_to_steal_, fasta2template_, protocols::comparative_modeling::loops_from_transitive_alignments(), and nres_template_.
|
private |
Referenced by alignment(), loops(), and ThreadingJob().
|
private |
Referenced by extra_residues_to_steal(), and loops().
|
private |
Referenced by loops(), and ThreadingJob().
|
private |
Referenced by loops(), and ThreadingJob().