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

#include <JointSequenceOperation.hh>

Inheritance diagram for protocols::toolbox::task_operations::JointSequenceOperation:
Inheritance graph
[legend]
Collaboration diagram for protocols::toolbox::task_operations::JointSequenceOperation:
Collaboration graph
[legend]

Public Types

typedef std::string String
 
typedef core::Real Real
 
typedef core::pose::Pose Pose
 
typedef
core::pack::task::PackerTask 
PackerTask
 
typedef
core::pack::task::operation::TaskOperation 
TaskOperation
 
typedef
core::pack::task::operation::TaskOperationOP 
TaskOperationOP
 
typedef TaskOperation parent
 
typedef utility::tag::TagPtr TagPtr
 
- Public Types inherited from core::pack::task::operation::TaskOperation
typedef utility::tag::TagPtr TagPtr
 
typedef pose::Pose Pose
 

Public Member Functions

 JointSequenceOperation ()
 default constructor More...
 
 ~JointSequenceOperation ()
 destructor More...
 
virtual TaskOperationOP clone () const
 make clone More...
 
void parse_tag (TagPtr tag)
 Used to parse an xml-like tag to load parameters and properties. More...
 
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...
 
- Public Member Functions inherited from core::pack::task::operation::TaskOperation
virtual ~TaskOperation ()
 

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...
 

Detailed Description

Definition at line 46 of file JointSequenceOperation.hh.

Member Typedef Documentation

Definition at line 52 of file JointSequenceOperation.hh.

Definition at line 55 of file JointSequenceOperation.hh.

Definition at line 51 of file JointSequenceOperation.hh.

Definition at line 50 of file JointSequenceOperation.hh.

Definition at line 49 of file JointSequenceOperation.hh.

Definition at line 56 of file JointSequenceOperation.hh.

Definition at line 53 of file JointSequenceOperation.hh.

Definition at line 54 of file JointSequenceOperation.hh.

Constructor & Destructor Documentation

protocols::toolbox::task_operations::JointSequenceOperation::JointSequenceOperation ( )

default constructor

Definition at line 59 of file JointSequenceOperation.cc.

Referenced by clone().

protocols::toolbox::task_operations::JointSequenceOperation::~JointSequenceOperation ( )

destructor

Definition at line 70 of file JointSequenceOperation.cc.

Member Function Documentation

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.

Definition at line 315 of file JointSequenceOperation.cc.

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)

Definition at line 272 of file JointSequenceOperation.cc.

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.

Definition at line 281 of file JointSequenceOperation.cc.

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.

Definition at line 241 of file JointSequenceOperation.cc.

References add_pose(), chain_, core::import_pose::pose_from_pdb(), core::pose::Pose::split_by_chain(), and protocols::TR().

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.

Definition at line 260 of file JointSequenceOperation.cc.

References core::pose::Pose::pdb_info(), core::pose::Pose::sequence(), and sequences_.

Referenced by add_native_pose(), and add_pdb().

void protocols::toolbox::task_operations::JointSequenceOperation::apply ( Pose const &  pose,
PackerTask task 
) const
virtual
core::pack::task::operation::TaskOperationOP protocols::toolbox::task_operations::JointSequenceOperation::clone ( ) const
virtual

make clone

clone

Implements core::pack::task::operation::TaskOperation.

Definition at line 74 of file JointSequenceOperation.cc.

References JointSequenceOperation().

void protocols::toolbox::task_operations::JointSequenceOperation::parse_def ( utility::lua::LuaObject const &  def)
virtual
void protocols::toolbox::task_operations::JointSequenceOperation::parse_tag ( TagPtr  tag)
virtual
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

Definition at line 309 of file JointSequenceOperation.cc.

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?

Definition at line 290 of file JointSequenceOperation.cc.

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?

Definition at line 297 of file JointSequenceOperation.cc.

References ubr_, and use_natro_.

Referenced by parse_def(), and parse_tag().

Member Data Documentation

core::Size protocols::toolbox::task_operations::JointSequenceOperation::chain_
private

Which chain to operate on.

Definition at line 111 of file JointSequenceOperation.hh.

Referenced by add_pdb(), apply(), parse_def(), parse_tag(), and set_chain().

std::vector<core::sequence::SequenceOP> protocols::toolbox::task_operations::JointSequenceOperation::sequences_
private

Definition at line 109 of file JointSequenceOperation.hh.

Referenced by add_native_fasta(), add_pose(), and apply().

core::pack::rotamer_set::UnboundRotamersOperationOP protocols::toolbox::task_operations::JointSequenceOperation::ubr_
private

Definition at line 108 of file JointSequenceOperation.hh.

Referenced by add_native_pose(), apply(), and use_natro().

bool protocols::toolbox::task_operations::JointSequenceOperation::use_current_pose_
private

Definition at line 105 of file JointSequenceOperation.hh.

Referenced by apply(), and use_current_pose().

bool protocols::toolbox::task_operations::JointSequenceOperation::use_fasta_
private

Definition at line 107 of file JointSequenceOperation.hh.

bool protocols::toolbox::task_operations::JointSequenceOperation::use_natro_
private

Definition at line 106 of file JointSequenceOperation.hh.

Referenced by add_native_pose(), apply(), and use_natro().


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