![]() |
Rosetta Protocols
2014.35
|
#include <JointSequenceOperation.hh>
Public Member Functions | |
JointSequenceOperation () | |
default constructor More... | |
~JointSequenceOperation () | |
destructor More... | |
virtual TaskOperationOP | clone () const |
make clone More... | |
void | parse_tag (TagCOP tag, DataMap &) |
void | parse_def (utility::lua::LuaObject const &def) |
virtual void | apply (Pose const &pose, PackerTask &task) const |
apply More... | |
void | add_pdb (std::string filename) |
Add the sequence from the given filename to the set of allowed aas. More... | |
void | add_pose (Pose const &pose) |
Add the sequence from the given pose to the set of allowed aas. More... | |
void | add_native_pdb (std::string filename) |
Add the sequence from the given filename to the set of allowed aas and add the rotamers to the set of possible rotamers. More... | |
void | add_native_pose (core::pose::PoseCOP posecop) |
Add the sequence from the given pose to the set of allowed aas and add the rotamers to the set of possible rotamers. More... | |
void | use_current_pose (bool ucp) |
Should the current pose (pose supplied to apply) be used in addition to the other ones? More... | |
void | use_natro (bool unr) |
Should the rotamers for the native poses be used? More... | |
void | set_chain (core::Size chain) |
Return which chain to operate on with 0 meaning all. More... | |
void | add_native_fasta (std::string fasta_file) |
Add the sequence from the given fasta filename to the set of allowed aas. More... | |
Private Attributes | |
bool | use_current_pose_ |
bool | use_natro_ |
bool | use_fasta_ |
core::pack::rotamer_set::UnboundRotamersOperationOP | ubr_ |
std::vector < core::sequence::SequenceOP > | sequences_ |
core::Size | chain_ |
Which chain to operate on. More... | |
core::Size | use_chain_ |
from which chain to extract the sequence information More... | |
typedef core::pack::task::PackerTask protocols::toolbox::task_operations::JointSequenceOperation::PackerTask |
typedef core::pack::task::operation::TaskOperation protocols::toolbox::task_operations::JointSequenceOperation::TaskOperation |
typedef core::pack::task::operation::TaskOperationOP protocols::toolbox::task_operations::JointSequenceOperation::TaskOperationOP |
protocols::toolbox::task_operations::JointSequenceOperation::JointSequenceOperation | ( | ) |
default constructor
Referenced by clone().
protocols::toolbox::task_operations::JointSequenceOperation::~JointSequenceOperation | ( | ) |
destructor
void protocols::toolbox::task_operations::JointSequenceOperation::add_native_fasta | ( | std::string | fasta_file | ) |
Add the sequence from the given fasta filename to the set of allowed aas.
Read native as a FASTA file.
References sequences_.
Referenced by parse_def(), and parse_tag().
void protocols::toolbox::task_operations::JointSequenceOperation::add_native_pdb | ( | std::string | filename | ) |
Add the sequence from the given filename to the set of allowed aas and add the rotamers to the set of possible rotamers.
Add the sequence from the given filename to the set of allowed aas and add the rotamers to the set of possible rotamers (if use_natro_ is set)
References add_native_pose(), and core::import_pose::pose_from_pdb().
Referenced by parse_def(), and parse_tag().
void protocols::toolbox::task_operations::JointSequenceOperation::add_native_pose | ( | core::pose::PoseCOP | posecop | ) |
Add the sequence from the given pose to the set of allowed aas and add the rotamers to the set of possible rotamers.
References add_pose(), ubr_, and use_natro_.
Referenced by add_native_pdb(), parse_def(), and parse_tag().
void protocols::toolbox::task_operations::JointSequenceOperation::add_pdb | ( | std::string | filename | ) |
Add the sequence from the given filename to the set of allowed aas.
References add_pose(), and core::import_pose::pose_from_pdb().
Referenced by parse_def(), and parse_tag().
void protocols::toolbox::task_operations::JointSequenceOperation::add_pose | ( | Pose const & | pose | ) |
Add the sequence from the given pose to the set of allowed aas.
References core::pose::Pose::pdb_info(), core::pose::Pose::sequence(), sequences_, core::pose::Pose::split_by_chain(), protocols::toolbox::task_operations::TR, and use_chain_.
Referenced by add_native_pose(), and add_pdb().
|
virtual |
apply
all AA that have a higher probability in the seqprofile than the native residue are allowed. probability also needs to be higher than min_aa_probability_
Implements core::pack::task::operation::TaskOperation.
References core::pose::Pose::aa(), core::chemical::aa_from_oneletter_code(), core::pack::task::PackerTask::append_rotamerset_operation(), chain_, core::conformation::Conformation::chain_begin(), core::conformation::Conformation::chain_end(), core::pose::Pose::conformation(), end, core::chemical::ResidueType::is_protein(), core::pose::symmetry::is_symmetric(), core::pack::task::PackerTask::nonconst_residue_task(), core::chemical::num_canonical_aas, core::chemical::oneletter_code_specifies_aa(), core::pose::Pose::pdb_info(), core::pose::Pose::residue_type(), core::pack::task::ResidueLevelTask::restrict_absent_canonical_aas(), sequences_, protocols::loops::start, core::pose::symmetry::symmetry_info(), core::pose::Pose::total_residue(), protocols::toolbox::task_operations::TR, ubr_, use_current_pose_, and use_natro_.
|
virtual |
make clone
clone
Implements core::pack::task::operation::TaskOperation.
References JointSequenceOperation().
void protocols::toolbox::task_operations::JointSequenceOperation::parse_def | ( | utility::lua::LuaObject const & | def | ) |
References add_native_fasta(), add_native_pdb(), add_native_pose(), add_pdb(), chain_, basic::options::OptionKeys::in::file::fasta, protocols::jd2::get_current_jobs_starting_pose(), basic::options::OptionKeys::in::file::native, basic::options::option, core::sequence::read_fasta_file_str(), utility::lua::LuaObject::to(), use_current_pose(), use_natro(), user, and utility_exit_with_message.
void protocols::toolbox::task_operations::JointSequenceOperation::parse_tag | ( | TagCOP | tag, |
DataMap & | |||
) |
References add_native_fasta(), add_native_pdb(), add_native_pose(), add_pdb(), chain_, basic::options::OptionKeys::in::file::fasta, protocols::jd2::get_current_jobs_starting_pose(), basic::options::OptionKeys::in::file::native, basic::options::option, core::sequence::read_fasta_file_str(), use_chain_, use_current_pose(), use_natro(), user, and utility_exit_with_message.
void protocols::toolbox::task_operations::JointSequenceOperation::set_chain | ( | core::Size | chain | ) |
Return which chain to operate on with 0 meaning all.
which chain should be considered
References chain_.
void protocols::toolbox::task_operations::JointSequenceOperation::use_current_pose | ( | bool | ucp | ) |
Should the current pose (pose supplied to apply) be used in addition to the other ones?
References use_current_pose_.
Referenced by parse_def(), and parse_tag().
void protocols::toolbox::task_operations::JointSequenceOperation::use_natro | ( | bool | unr | ) |
Should the rotamers for the native poses be used?
References ubr_, and use_natro_.
Referenced by parse_def(), and parse_tag().
|
private |
Which chain to operate on.
Referenced by apply(), parse_def(), parse_tag(), and set_chain().
|
private |
Referenced by add_native_fasta(), add_pose(), and apply().
|
private |
Referenced by add_native_pose(), apply(), and use_natro().
|
private |
from which chain to extract the sequence information
Referenced by add_pose(), and parse_tag().
|
private |
Referenced by apply(), and use_current_pose().
|
private |
|
private |
Referenced by add_native_pose(), apply(), and use_natro().