Rosetta
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
protocols::task_operations::JointSequenceOperation Class Reference

#include <JointSequenceOperation.hh>

Inheritance diagram for protocols::task_operations::JointSequenceOperation:
Inheritance 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::TagCOP TagCOP
 
- Public Types inherited from core::pack::task::operation::TaskOperation
typedef utility::tag::TagCOP TagCOP
 
typedef basic::datacache::DataMap DataMap
 
typedef pose::Pose Pose
 

Public Member Functions

 JointSequenceOperation ()
 default constructor More...
 
 ~JointSequenceOperation () override
 destructor More...
 
TaskOperationOP clone () const override
 make clone More...
 
void parse_tag (TagCOP tag, DataMap &) override
 Used to parse an xml-like tag to load parameters and properties. More...
 
void apply (Pose const &pose, PackerTask &task) const override
 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
 ~TaskOperation () override
 
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 keyname ()
 

Private Attributes

bool use_current_pose_
 
bool use_natro_
 
core::pack::rotamer_set::UnboundRotamersOperationOP ubr_
 
std::vector< core::sequence::SequenceOPsequences_
 
core::Size chain_
 Which chain to operate on. More...
 
core::Size use_chain_
 from which chain to extract the sequence information More...
 

Member Typedef Documentation

◆ PackerTask

◆ parent

◆ Pose

◆ Real

◆ String

◆ TagCOP

◆ TaskOperation

◆ TaskOperationOP

Constructor & Destructor Documentation

◆ JointSequenceOperation()

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

default constructor

◆ ~JointSequenceOperation()

protocols::task_operations::JointSequenceOperation::~JointSequenceOperation ( )
overridedefault

destructor

Member Function Documentation

◆ add_native_fasta()

void protocols::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_tag().

◆ add_native_pdb()

void protocols::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(), protocols::abinitio::filename(), core::import_pose::PDB_file, and core::import_pose::pose_from_file().

Referenced by parse_tag().

◆ add_native_pose()

void protocols::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(), and parse_tag().

◆ add_pdb()

void protocols::task_operations::JointSequenceOperation::add_pdb ( std::string  filename)

Add the sequence from the given filename to the set of allowed aas.

References add_pose(), protocols::abinitio::filename(), core::import_pose::PDB_file, and core::import_pose::pose_from_file().

Referenced by parse_tag().

◆ add_pose()

void protocols::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::task_operations::TR(), and use_chain_.

Referenced by add_native_pose(), and add_pdb().

◆ apply()

void protocols::task_operations::JointSequenceOperation::apply ( Pose const &  pose,
PackerTask task 
) const
overridevirtual

◆ clone()

TaskOperationOP protocols::task_operations::JointSequenceOperation::clone ( ) const
overridevirtual

make clone

clone

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

◆ keyname()

static std::string protocols::task_operations::JointSequenceOperation::keyname ( )
inlinestatic

◆ parse_tag()

void protocols::task_operations::JointSequenceOperation::parse_tag ( TagCOP  tag,
DataMap  
)
overridevirtual

◆ provide_xml_schema()

void protocols::task_operations::JointSequenceOperation::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static

◆ set_chain()

void protocols::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_.

◆ use_current_pose()

void protocols::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_tag().

◆ use_natro()

void protocols::task_operations::JointSequenceOperation::use_natro ( bool  unr)

Should the rotamers for the native poses be used?

References ubr_, and use_natro_.

Referenced by parse_tag().

Member Data Documentation

◆ chain_

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

Which chain to operate on.

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

◆ sequences_

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

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

◆ ubr_

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

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

◆ use_chain_

core::Size protocols::task_operations::JointSequenceOperation::use_chain_
private

from which chain to extract the sequence information

Referenced by add_pose(), and parse_tag().

◆ use_current_pose_

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

Referenced by apply(), and use_current_pose().

◆ use_natro_

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

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


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