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

#include <RotamerBoltzmannWeight.hh>

Inheritance diagram for protocols::simple_filters::RotamerBoltzmannWeight:
Inheritance graph
[legend]
Collaboration diagram for protocols::simple_filters::RotamerBoltzmannWeight:
Collaboration graph
[legend]

Public Member Functions

 RotamerBoltzmannWeight ()
 default ctor More...
 
virtual bool apply (core::pose::Pose const &pose) const
 Constructor with a single target residue. More...
 
virtual void report (std::ostream &out, core::pose::Pose const &pose) const
 
virtual core::Real report_sm (core::pose::Pose const &pose) const
 used to report filter internals through a score or silent file More...
 
virtual
protocols::filters::FilterOP 
clone () const
 
virtual
protocols::filters::FilterOP 
fresh_instance () const
 
core::Real compute (core::pose::Pose const &pose) const
 
virtual ~RotamerBoltzmannWeight ()
 
core::pack::task::TaskFactoryOP task_factory () const
 
void task_factory (core::pack::task::TaskFactoryOP task_factory)
 
void parse_my_tag (utility::tag::TagPtr const tag, protocols::moves::DataMap &, protocols::filters::Filters_map const &, protocols::moves::Movers_map const &, core::pose::Pose const &)
 
void parse_def (utility::lua::LuaObject const &def, utility::lua::LuaObject const &score_fxns, utility::lua::LuaObject const &tasks)
 
utility::vector1< core::Sizefirst_pass_ala_scan (core::pose::Pose const &pose) const
 
core::Real compute_Boltzmann_weight (core::pose::Pose const &pose, core::Size const resi) const
 
void rb_jump (core::Size const jump)
 
core::Size rb_jump () const
 
void sym_dof_names (std::string const dof_names)
 
std::string sym_dof_names () const
 
void repacking_radius (core::Real const rad)
 
core::Real repacking_radius () const
 
core::Real ddG_threshold () const
 
void ddG_threshold (core::Real const ddG)
 
void scorefxn (core::scoring::ScoreFunctionOP scorefxn)
 
core::scoring::ScoreFunctionOP scorefxn () const
 
core::Real temperature () const
 
void temperature (core::Real const temp)
 
bool unbound () const
 
void unbound (bool const u)
 
void threshold_probability (core::chemical::AA const aa_type, core::Real const probability)
 
core::Real threshold_probability (core::chemical::AA const aa_type) const
 
void energy_reduction_factor (core::Real const factor)
 
core::Real energy_reduction_factor () const
 
core::Real interface_interaction_energy (core::pose::Pose const &pose, core::Size const res) const
 
bool compute_entropy_reduction () const
 
void compute_entropy_reduction (bool const cer)
 
void repack (bool const repack)
 
bool repack () const
 
bool skip_ala_scan () const
 
void skip_ala_scan (bool const s)
 
std::string type () const
 
void type (std::string const &s)
 
bool write2pdb () const
 
void write2pdb (bool const write)
 
core::Real compute_modified_ddG (core::pose::Pose const &pose, std::ostream &out) const
 Note that compute( pose ) needs to have been run first. This merely sums over the probabilities. More...
 
void write_to_pdb (core::Size const residue, std::string const residue_name, core::Real const boltzmann_weight) const
 Output per-residue Boltzmann weights to the output pdb file if desired. More...
 
- Public Member Functions inherited from protocols::filters::Filter
 Filter ()
 
 Filter (std::string const &)
 
 Filter (Filter const &)
 
virtual ~Filter ()
 
virtual std::string get_type () const
 
std::string get_user_defined_name () const
 
void set_user_defined_name (std::string const &name)
 
virtual void clear ()
 used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual More...
 
virtual void apply (core::io::serialization::PipeMap &pmap)
 
virtual void score (core::io::serialization::PipeMap &pmap)
 
virtual core::Real score (core::pose::Pose &pose)
 
virtual std::string name () const
 

Private Types

typedef protocols::filters::Filter parent
 

Private Attributes

core::pack::task::TaskFactoryOP task_factory_
 
core::Size rb_jump_
 
std::string sym_dof_names_
 
bool unbound_
 
core::scoring::ScoreFunctionOP scorefxn_
 
core::Real temperature_
 
core::Real ddG_threshold_
 
core::Real repacking_radius_
 
utility::vector1< core::Realthreshold_probabilities_per_residue_
 
core::Real energy_reduction_factor_
 
bool compute_entropy_reduction_
 
bool repack_
 
std::map< core::Size, core::RealddGs_
 
std::map< core::Size, core::Realrotamer_probabilities_
 
std::string type_
 
bool skip_ala_scan_
 
bool fast_calc_
 
bool no_modified_ddG_
 
std::string target_residues_
 
bool write2pdb_
 

Additional Inherited Members

- Protected Attributes inherited from protocols::filters::Filter
std::string scorename_
 

Detailed Description

Definition at line 37 of file RotamerBoltzmannWeight.hh.

Member Typedef Documentation

Definition at line 40 of file RotamerBoltzmannWeight.hh.

Constructor & Destructor Documentation

protocols::simple_filters::RotamerBoltzmannWeight::RotamerBoltzmannWeight ( )
protocols::simple_filters::RotamerBoltzmannWeight::~RotamerBoltzmannWeight ( )
virtual

Definition at line 569 of file RotamerBoltzmannWeight.cc.

Member Function Documentation

bool protocols::simple_filters::RotamerBoltzmannWeight::apply ( core::pose::Pose const &  pose) const
virtual

Constructor with a single target residue.

Implements protocols::filters::Filter.

Definition at line 191 of file RotamerBoltzmannWeight.cc.

protocols::filters::FilterOP protocols::simple_filters::RotamerBoltzmannWeight::clone ( ) const
virtual

Implements protocols::filters::Filter.

Definition at line 572 of file RotamerBoltzmannWeight.cc.

References RotamerBoltzmannWeight().

Referenced by parse_def().

core::Real protocols::simple_filters::RotamerBoltzmannWeight::compute ( core::pose::Pose const &  pose) const
core::Real protocols::simple_filters::RotamerBoltzmannWeight::compute_Boltzmann_weight ( core::pose::Pose const &  pose,
core::Size const  resi 
) const
bool protocols::simple_filters::RotamerBoltzmannWeight::compute_entropy_reduction ( ) const

Definition at line 597 of file RotamerBoltzmannWeight.cc.

References compute_entropy_reduction_.

Referenced by parse_def(), and parse_my_tag().

void protocols::simple_filters::RotamerBoltzmannWeight::compute_entropy_reduction ( bool const  cer)

Definition at line 602 of file RotamerBoltzmannWeight.cc.

References compute_entropy_reduction_.

core::Real protocols::simple_filters::RotamerBoltzmannWeight::compute_modified_ddG ( core::pose::Pose const &  pose,
std::ostream &  out 
) const
core::Real protocols::simple_filters::RotamerBoltzmannWeight::ddG_threshold ( ) const
void protocols::simple_filters::RotamerBoltzmannWeight::ddG_threshold ( core::Real const  ddG)

Definition at line 411 of file RotamerBoltzmannWeight.cc.

References ddG_threshold_.

void protocols::simple_filters::RotamerBoltzmannWeight::energy_reduction_factor ( core::Real const  factor)

Definition at line 119 of file RotamerBoltzmannWeight.cc.

References energy_reduction_factor_.

core::Real protocols::simple_filters::RotamerBoltzmannWeight::energy_reduction_factor ( ) const

Definition at line 125 of file RotamerBoltzmannWeight.cc.

References energy_reduction_factor_.

Referenced by compute_modified_ddG(), parse_def(), and parse_my_tag().

utility::vector1< core::Size > protocols::simple_filters::RotamerBoltzmannWeight::first_pass_ala_scan ( core::pose::Pose const &  pose) const
protocols::filters::FilterOP protocols::simple_filters::RotamerBoltzmannWeight::fresh_instance ( ) const
virtual

Implements protocols::filters::Filter.

Definition at line 565 of file RotamerBoltzmannWeight.cc.

References RotamerBoltzmannWeight().

core::Real protocols::simple_filters::RotamerBoltzmannWeight::interface_interaction_energy ( core::pose::Pose const &  pose,
core::Size const  res 
) const
void protocols::simple_filters::RotamerBoltzmannWeight::parse_def ( utility::lua::LuaObject const &  def,
utility::lua::LuaObject const &  score_fxns,
utility::lua::LuaObject const &  tasks 
)
virtual
void protocols::simple_filters::RotamerBoltzmannWeight::parse_my_tag ( utility::tag::TagPtr const  tag,
protocols::moves::DataMap data,
protocols::filters::Filters_map const &  ,
protocols::moves::Movers_map const &  ,
core::pose::Pose const &   
)
virtual
void protocols::simple_filters::RotamerBoltzmannWeight::rb_jump ( core::Size const  jump)

Definition at line 154 of file RotamerBoltzmannWeight.cc.

References rb_jump_.

core::Size protocols::simple_filters::RotamerBoltzmannWeight::rb_jump ( ) const
void protocols::simple_filters::RotamerBoltzmannWeight::repack ( bool const  repack)

Definition at line 96 of file RotamerBoltzmannWeight.cc.

References repack(), and repack_.

bool protocols::simple_filters::RotamerBoltzmannWeight::repack ( ) const
void protocols::simple_filters::RotamerBoltzmannWeight::repacking_radius ( core::Real const  rad)
core::Real protocols::simple_filters::RotamerBoltzmannWeight::repacking_radius ( ) const

Definition at line 185 of file RotamerBoltzmannWeight.cc.

References repacking_radius_.

Referenced by compute(), compute_Boltzmann_weight(), parse_def(), and parse_my_tag().

void protocols::simple_filters::RotamerBoltzmannWeight::report ( std::ostream &  out,
core::pose::Pose const &  pose 
) const
virtual
core::Real protocols::simple_filters::RotamerBoltzmannWeight::report_sm ( core::pose::Pose const &  ) const
virtual

used to report filter internals through a score or silent file

Reimplemented from protocols::filters::Filter.

Definition at line 417 of file RotamerBoltzmannWeight.cc.

References compute(), compute_modified_ddG(), no_modified_ddG_, and rotamer_probabilities_.

void protocols::simple_filters::RotamerBoltzmannWeight::scorefxn ( core::scoring::ScoreFunctionOP  scorefxn)
core::scoring::ScoreFunctionOP protocols::simple_filters::RotamerBoltzmannWeight::scorefxn ( ) const
bool protocols::simple_filters::RotamerBoltzmannWeight::skip_ala_scan ( ) const

Definition at line 613 of file RotamerBoltzmannWeight.cc.

References skip_ala_scan_.

Referenced by first_pass_ala_scan(), parse_def(), and parse_my_tag().

void protocols::simple_filters::RotamerBoltzmannWeight::skip_ala_scan ( bool const  s)

Definition at line 619 of file RotamerBoltzmannWeight.cc.

References skip_ala_scan_.

void protocols::simple_filters::RotamerBoltzmannWeight::sym_dof_names ( std::string const  dof_names)

Definition at line 167 of file RotamerBoltzmannWeight.cc.

References sym_dof_names_.

std::string protocols::simple_filters::RotamerBoltzmannWeight::sym_dof_names ( ) const

Definition at line 173 of file RotamerBoltzmannWeight.cc.

References sym_dof_names_.

Referenced by compute(), and parse_my_tag().

core::pack::task::TaskFactoryOP protocols::simple_filters::RotamerBoltzmannWeight::task_factory ( ) const
void protocols::simple_filters::RotamerBoltzmannWeight::task_factory ( core::pack::task::TaskFactoryOP  task_factory)

Definition at line 148 of file RotamerBoltzmannWeight.cc.

References task_factory(), and task_factory_.

core::Real protocols::simple_filters::RotamerBoltzmannWeight::temperature ( ) const
void protocols::simple_filters::RotamerBoltzmannWeight::temperature ( core::Real const  temp)

Definition at line 136 of file RotamerBoltzmannWeight.cc.

References temperature_.

void protocols::simple_filters::RotamerBoltzmannWeight::threshold_probability ( core::chemical::AA const  aa_type,
core::Real const  probability 
)
core::Real protocols::simple_filters::RotamerBoltzmannWeight::threshold_probability ( core::chemical::AA const  aa_type) const

Definition at line 113 of file RotamerBoltzmannWeight.cc.

References threshold_probabilities_per_residue_.

std::string protocols::simple_filters::RotamerBoltzmannWeight::type ( ) const

Definition at line 625 of file RotamerBoltzmannWeight.cc.

References type_.

void protocols::simple_filters::RotamerBoltzmannWeight::type ( std::string const &  s)

Definition at line 631 of file RotamerBoltzmannWeight.cc.

References type_.

bool protocols::simple_filters::RotamerBoltzmannWeight::unbound ( ) const

Definition at line 587 of file RotamerBoltzmannWeight.cc.

References unbound_.

Referenced by compute(), compute_Boltzmann_weight(), parse_def(), and parse_my_tag().

void protocols::simple_filters::RotamerBoltzmannWeight::unbound ( bool const  u)

Definition at line 592 of file RotamerBoltzmannWeight.cc.

References unbound_.

bool protocols::simple_filters::RotamerBoltzmannWeight::write2pdb ( ) const

Definition at line 637 of file RotamerBoltzmannWeight.cc.

References write2pdb_.

Referenced by compute(), parse_def(), and parse_my_tag().

void protocols::simple_filters::RotamerBoltzmannWeight::write2pdb ( bool const  write)

Definition at line 643 of file RotamerBoltzmannWeight.cc.

References write2pdb_.

void protocols::simple_filters::RotamerBoltzmannWeight::write_to_pdb ( core::Size const  residue,
std::string const  residue_name,
core::Real const  boltzmann_weight 
) const

Output per-residue Boltzmann weights to the output pdb file if desired.

Definition at line 554 of file RotamerBoltzmannWeight.cc.

References protocols::nonlocal::current_job(), protocols::jd2::JobDistributor::get_instance(), and protocols::filters::Filter::get_user_defined_name().

Referenced by compute().

Member Data Documentation

bool protocols::simple_filters::RotamerBoltzmannWeight::compute_entropy_reduction_
private

Definition at line 108 of file RotamerBoltzmannWeight.hh.

Referenced by compute_entropy_reduction().

core::Real protocols::simple_filters::RotamerBoltzmannWeight::ddG_threshold_
private

Definition at line 103 of file RotamerBoltzmannWeight.hh.

Referenced by ddG_threshold().

std::map< core::Size, core::Real > protocols::simple_filters::RotamerBoltzmannWeight::ddGs_
mutableprivate

the following are mutable b/c they only sum up data in the filter. They do not affect how the filter is run (so the filter will remain logically constant, despite these variables) Mutability here allows the variables to be changed even in const methods.

Definition at line 113 of file RotamerBoltzmannWeight.hh.

Referenced by compute(), compute_modified_ddG(), and first_pass_ala_scan().

core::Real protocols::simple_filters::RotamerBoltzmannWeight::energy_reduction_factor_
private

Definition at line 106 of file RotamerBoltzmannWeight.hh.

Referenced by energy_reduction_factor().

bool protocols::simple_filters::RotamerBoltzmannWeight::fast_calc_
private

Definition at line 117 of file RotamerBoltzmannWeight.hh.

Referenced by compute(), parse_def(), and parse_my_tag().

bool protocols::simple_filters::RotamerBoltzmannWeight::no_modified_ddG_
private
core::Size protocols::simple_filters::RotamerBoltzmannWeight::rb_jump_
private

Definition at line 98 of file RotamerBoltzmannWeight.hh.

Referenced by rb_jump().

bool protocols::simple_filters::RotamerBoltzmannWeight::repack_
private

Definition at line 109 of file RotamerBoltzmannWeight.hh.

Referenced by repack().

core::Real protocols::simple_filters::RotamerBoltzmannWeight::repacking_radius_
private

Definition at line 104 of file RotamerBoltzmannWeight.hh.

Referenced by repacking_radius().

std::map< core::Size, core::Real > protocols::simple_filters::RotamerBoltzmannWeight::rotamer_probabilities_
mutableprivate

Definition at line 114 of file RotamerBoltzmannWeight.hh.

Referenced by compute(), compute_modified_ddG(), report(), and report_sm().

core::scoring::ScoreFunctionOP protocols::simple_filters::RotamerBoltzmannWeight::scorefxn_
private

Definition at line 101 of file RotamerBoltzmannWeight.hh.

Referenced by compute_Boltzmann_weight(), parse_def(), and scorefxn().

bool protocols::simple_filters::RotamerBoltzmannWeight::skip_ala_scan_
private

Definition at line 116 of file RotamerBoltzmannWeight.hh.

Referenced by skip_ala_scan().

std::string protocols::simple_filters::RotamerBoltzmannWeight::sym_dof_names_
private

Definition at line 99 of file RotamerBoltzmannWeight.hh.

Referenced by sym_dof_names().

std::string protocols::simple_filters::RotamerBoltzmannWeight::target_residues_
private

Definition at line 119 of file RotamerBoltzmannWeight.hh.

Referenced by compute(), parse_def(), and parse_my_tag().

core::pack::task::TaskFactoryOP protocols::simple_filters::RotamerBoltzmannWeight::task_factory_
private

Definition at line 97 of file RotamerBoltzmannWeight.hh.

Referenced by task_factory().

core::Real protocols::simple_filters::RotamerBoltzmannWeight::temperature_
private

Definition at line 102 of file RotamerBoltzmannWeight.hh.

Referenced by temperature().

utility::vector1< core::Real > protocols::simple_filters::RotamerBoltzmannWeight::threshold_probabilities_per_residue_
private

Definition at line 105 of file RotamerBoltzmannWeight.hh.

Referenced by RotamerBoltzmannWeight(), and threshold_probability().

std::string protocols::simple_filters::RotamerBoltzmannWeight::type_
private

Definition at line 115 of file RotamerBoltzmannWeight.hh.

Referenced by compute(), parse_def(), parse_my_tag(), report(), and type().

bool protocols::simple_filters::RotamerBoltzmannWeight::unbound_
private

Definition at line 100 of file RotamerBoltzmannWeight.hh.

Referenced by unbound().

bool protocols::simple_filters::RotamerBoltzmannWeight::write2pdb_
private

Definition at line 120 of file RotamerBoltzmannWeight.hh.

Referenced by write2pdb().


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