Rosetta
|
#include <SeqprofConsensusOperation.hh>
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 |
![]() | |
typedef utility::tag::TagCOP | TagCOP |
typedef basic::datacache::DataMap | DataMap |
typedef pose::Pose | Pose |
Public Member Functions | |
SeqprofConsensusOperation () | |
default constructor More... | |
~SeqprofConsensusOperation () 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... | |
core::sequence::SequenceProfileOP | parse_profile_from_pose (Pose const &pose) const |
void | aa_probability_filter (Pose const &pose, utility::vector1< Real > const &pos_profile, core::Real const position_min_prob, core::Size const aa_idx, utility::vector1< bool > &keep_aas) const |
core::sequence::SequenceProfileCOP | seqprof () const |
void | set_ignore_pose_profile_length_mismatch (bool const setting) |
void | set_seqprof (core::sequence::SequenceProfileOP seqprof, bool reweight=false) |
Set the sequence profile. If reweight is true, convert the profile into per-residue probabilities first. More... | |
void | convert_scores_to_probabilities (bool const c) |
bool | convert_scores_to_probabilities () const |
RestrictToAlignedSegmentsOperationOP | restrict_to_aligned_segments () const |
void | restrict_to_aligned_segments (RestrictToAlignedSegmentsOperationOP rtas) |
core::Real | conservation_cutoff_aligned_segments () const |
void | conservation_cutoff_aligned_segments (core::Real const c) |
ProteinInterfaceDesignOperationOP | protein_interface_design () const |
void | protein_interface_design (ProteinInterfaceDesignOperationOP pido) |
core::Real | conservation_cutoff_protein_interface_design () const |
void | conservation_cutoff_protein_interface_design (core::Real const c) |
void | debug (bool const b) |
bool | debug () const |
core::Size | chain_num () const |
void | chain_num (core::Size const d) |
bool | keep_native () const |
void | keep_native (bool const b) |
bool | use_occurrence_data () const |
void | use_occurrence_data (bool const b) |
![]() | |
~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 | aa_occurrence_filter (utility::vector1< Real > const &pos_occurance, core::Real const pos_min_occurance, utility::vector1< bool > &keep_aas) |
static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
static utility::tag::XMLSchemaComplexTypeGeneratorOP | create_complex_type_generator (utility::tag::XMLSchemaDefinition &xsd) |
static std::string | keyname () |
Private Attributes | |
std::string | seqprof_filename_ |
core::sequence::SequenceProfileOP | seqprof_ |
core::Real | min_aa_probability_ |
mininum probability that an aa must have in the sequence profile to be considered More... | |
bool | prob_larger_current_ |
whether probability of a given aa to be included needs to be higher than the probability of the aa in the input pose More... | |
bool | ignore_pose_profile_length_mismatch_ |
bool | convert_scores_to_probabilities_ |
RestrictToAlignedSegmentsOperationOP | restrict_to_aligned_segments_ |
core::Real | conservation_cutoff_aligned_segments_ |
ProteinInterfaceDesignOperationOP | protein_interface_design_ |
core::Real | conservation_cutoff_protein_interface_design_ |
bool | debug_ |
bool | keep_native_ |
core::Size | chain_num_ |
bool | restrict_to_repacking_ |
bool | use_occurrence_data_ |
typedef core::pack::task::PackerTask protocols::task_operations::SeqprofConsensusOperation::PackerTask |
typedef std::string protocols::task_operations::SeqprofConsensusOperation::String |
typedef utility::tag::TagCOP protocols::task_operations::SeqprofConsensusOperation::TagCOP |
typedef core::pack::task::operation::TaskOperation protocols::task_operations::SeqprofConsensusOperation::TaskOperation |
typedef core::pack::task::operation::TaskOperationOP protocols::task_operations::SeqprofConsensusOperation::TaskOperationOP |
protocols::task_operations::SeqprofConsensusOperation::SeqprofConsensusOperation | ( | ) |
default constructor
References seqprof(), seqprof_, seqprof_filename_, and use_occurrence_data_.
|
overridedefault |
destructor
|
static |
References protocols::cluster::calibur::aa, core::chemical::aa_ala, and core::chemical::num_canonical_aas.
Referenced by apply().
void protocols::task_operations::SeqprofConsensusOperation::aa_probability_filter | ( | Pose const & | pose, |
utility::vector1< Real > const & | pos_profile, | ||
core::Real const | position_min_prob, | ||
core::Size const | aa_idx, | ||
utility::vector1< bool > & | keep_aas | ||
) | const |
|
overridevirtual |
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_
NOTE ON SYMMETRIC POSE BEHAVIOR: pssm files are usually for one chain only, therefore this task operation will only set the residue behavior for the first chain/asymetric unit. it could be possible to handle the symmetry setup here, i.e. set up the residue level task for every symmetric copy, but it's prolly better to let the symmetry machinery deal with that mode of packer task symmetrization should be intersection
Implements core::pack::task::operation::TaskOperation.
Reimplemented in protocols::task_operations::RestrictConservedLowDdgOperation.
References core::chemical::ResidueTypeBase::aa(), protocols::cluster::calibur::aa, core::chemical::aa_ala, aa_occurrence_filter(), aa_probability_filter(), core::conformation::Residue::chain(), core::conformation::Conformation::chain_begin(), core::conformation::Conformation::chain_end(), chain_num_, core::pose::Pose::conformation(), conservation_cutoff_aligned_segments(), conservation_cutoff_protein_interface_design(), debug(), ignore_pose_profile_length_mismatch_, core::chemical::ResidueTypeBase::is_protein(), core::pose::symmetry::is_symmetric(), keep_native_, min_aa_probability_, core::pack::task::PackerTask::nonconst_residue_task(), core::chemical::num_canonical_aas, parse_profile_from_pose(), protein_interface_design(), protein_interface_design_, core::pose::Pose::residue(), protocols::rosetta_scripts::residue_packer_states(), core::pose::Pose::residue_type(), core::pack::task::ResidueLevelTask::restrict_absent_canonical_aas(), restrict_to_aligned_segments(), restrict_to_aligned_segments_, core::pack::task::ResidueLevelTask::restrict_to_repacking(), restrict_to_repacking_, seqprof(), seqprof_, core::pose::Pose::size(), tr(), and use_occurrence_data_.
Referenced by protocols::calc_taskop_movers::ConsensusDesignMover::create_consensus_design_task().
|
inline |
References chain_num_.
|
inline |
References chain_num_.
|
overridevirtual |
make clone
clone
Implements core::pack::task::operation::TaskOperation.
Reimplemented in protocols::task_operations::RestrictConservedLowDdgOperation.
|
inline |
References conservation_cutoff_aligned_segments_.
Referenced by apply(), and parse_tag().
|
inline |
References conservation_cutoff_aligned_segments_.
|
inline |
References conservation_cutoff_protein_interface_design_.
Referenced by apply(), and parse_tag().
|
inline |
References conservation_cutoff_protein_interface_design_.
|
inline |
References convert_scores_to_probabilities_.
Referenced by parse_tag().
|
inline |
References convert_scores_to_probabilities_.
|
static |
Provide the complete, but changable, XML Schema for the base class so that derived classes may ammend it (by changing the element name, and possibly adding attributes)
References core::pack::task::operation::complex_type_name_for_task_op(), protocols::task_operations::ProteinInterfaceDesignOperation::keyname(), protocols::task_operations::RestrictToAlignedSegmentsOperation::keyname(), keyname(), protocols::task_operations::ProteinInterfaceDesignOperation::provide_xml_schema(), and protocols::task_operations::RestrictToAlignedSegmentsOperation::provide_xml_schema().
Referenced by protocols::task_operations::RestrictConservedLowDdgOperation::create_complex_type_generator(), and provide_xml_schema().
|
inline |
References debug_.
Referenced by apply(), and parse_tag().
|
inline |
References protocols::match::upstream::b, and debug_.
|
inline |
References keep_native_.
|
inline |
References protocols::match::upstream::b, and keep_native_.
|
inlinestatic |
core::sequence::SequenceProfileOP protocols::task_operations::SeqprofConsensusOperation::parse_profile_from_pose | ( | Pose const & | pose | ) | const |
References chain_num_, core::pose::Pose::constraint_set(), seqprof(), core::pose::Pose::size(), core::pose::Pose::split_by_chain(), tr(), and use_occurrence_data_.
Referenced by apply().
|
overridevirtual |
Used to parse an xml-like tag to load parameters and properties.
Reimplemented from core::pack::task::operation::TaskOperation.
Reimplemented in protocols::task_operations::RestrictConservedLowDdgOperation.
References chain_num_, conservation_cutoff_aligned_segments(), conservation_cutoff_protein_interface_design(), convert_scores_to_probabilities(), debug(), ignore_pose_profile_length_mismatch_, keep_native_, min_aa_probability_, prob_larger_current_, protein_interface_design_, restrict_to_aligned_segments_, restrict_to_repacking_, seqprof(), seqprof_, seqprof_filename_, tr(), and use_occurrence_data_.
Referenced by protocols::task_operations::RestrictConservedLowDdgOperation::parse_tag().
ProteinInterfaceDesignOperationOP protocols::task_operations::SeqprofConsensusOperation::protein_interface_design | ( | ) | const |
References protein_interface_design_.
Referenced by apply().
void protocols::task_operations::SeqprofConsensusOperation::protein_interface_design | ( | ProteinInterfaceDesignOperationOP | pido | ) |
References protein_interface_design_.
|
static |
RestrictToAlignedSegmentsOperationOP protocols::task_operations::SeqprofConsensusOperation::restrict_to_aligned_segments | ( | ) | const |
References restrict_to_aligned_segments_.
Referenced by apply().
void protocols::task_operations::SeqprofConsensusOperation::restrict_to_aligned_segments | ( | RestrictToAlignedSegmentsOperationOP | rtas | ) |
References restrict_to_aligned_segments_.
core::sequence::SequenceProfileCOP protocols::task_operations::SeqprofConsensusOperation::seqprof | ( | ) | const |
References seqprof_.
Referenced by apply(), protocols::task_operations::RestrictConservedLowDdgOperation::apply(), protocols::calc_taskop_movers::ConsensusDesignMover::create_consensus_design_task(), parse_profile_from_pose(), parse_tag(), protocols::task_operations::RestrictConservedLowDdgOperation::position_untouchable(), protocols::task_operations::RestrictConservedLowDdgOperation::seqprof_wt_aa(), SeqprofConsensusOperation(), and set_seqprof().
|
inline |
void protocols::task_operations::SeqprofConsensusOperation::set_seqprof | ( | core::sequence::SequenceProfileOP | seqprof, |
bool | reweight = false |
||
) |
|
inline |
References use_occurrence_data_.
|
inline |
References protocols::match::upstream::b, and use_occurrence_data_.
|
private |
Referenced by apply(), chain_num(), parse_profile_from_pose(), and parse_tag().
|
private |
Referenced by conservation_cutoff_aligned_segments().
|
private |
Referenced by conservation_cutoff_protein_interface_design().
|
private |
Referenced by convert_scores_to_probabilities().
|
private |
Referenced by debug().
|
private |
@default false. if true, every pose seqpos that is bigger than the size of the sequence_profile will be set to repacking allows using this taskop in situations where one wants to do consensus design on one chain of a protein/protein interface
Referenced by apply(), parse_tag(), and set_ignore_pose_profile_length_mismatch().
|
private |
Referenced by aa_probability_filter(), apply(), keep_native(), and parse_tag().
|
private |
mininum probability that an aa must have in the sequence profile to be considered
Referenced by apply(), and parse_tag().
|
private |
whether probability of a given aa to be included needs to be higher than the probability of the aa in the input pose
Referenced by aa_probability_filter(), and parse_tag().
|
private |
Referenced by apply(), parse_tag(), and protein_interface_design().
|
private |
Referenced by apply(), parse_tag(), and restrict_to_aligned_segments().
|
private |
Referenced by apply(), and parse_tag().
|
private |
Stored as a per-position probability weighted value
Referenced by apply(), parse_tag(), seqprof(), SeqprofConsensusOperation(), and set_seqprof().
|
private |
Referenced by parse_tag(), and SeqprofConsensusOperation().
|
private |
Referenced by apply(), parse_profile_from_pose(), parse_tag(), SeqprofConsensusOperation(), and use_occurrence_data().