Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 bool task_operation_provides_citation_info () const
 Does this task operation provide information about how to cite it? More...
 
virtual utility::vector1
< basic::citation_manager::CitationCollectionCOP > 
provide_citation_info () const
 Provide the citation. More...
 
virtual bool task_operation_is_unpublished () const
 Does this task_operation indicate that it is unpublished (and, by extension, that the author should be included in publications resulting from it)? More...
 
virtual utility::vector1
< basic::citation_manager::UnpublishedModuleInfoCOP > 
provide_authorship_info_for_unpublished () const
 Provide a list of authors and their e-mail addresses, as strings. 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::SequenceOP
sequences_
 
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

Constructor & Destructor Documentation

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

default constructor

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

destructor

Member Function Documentation

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

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

Referenced by parse_tag().

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

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

Referenced by parse_tag().

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

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

make clone

clone

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

static std::string protocols::task_operations::JointSequenceOperation::keyname ( )
inlinestatic
void protocols::task_operations::JointSequenceOperation::parse_tag ( TagCOP  tag,
DataMap  
)
overridevirtual
void protocols::task_operations::JointSequenceOperation::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static
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_.

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

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

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

Which chain to operate on.

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

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

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

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

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

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

from which chain to extract the sequence information

Referenced by add_pose(), and parse_tag().

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

Referenced by apply(), and use_current_pose().

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: