![]() |
Rosetta Core
2014.35
|
#include <SingleResidueDunbrackLibrary.hh>
Public Types | |
typedef chemical::AA | AA |
Public Member Functions | |
SingleResidueDunbrackLibrary (AA const aa, Size const n_rotameric_chi, bool dun02) | |
c-tor More... | |
virtual | ~SingleResidueDunbrackLibrary () |
void | read_options () |
virtual void | write_to_binary (utility::io::ozstream &out) const |
virtual void | read_from_binary (utility::io::izstream &in) |
virtual utility::vector1 < DunbrackRotamerSampleData > | get_all_rotamer_samples (Real phi, Real psi) const =0 |
Return all of the rotamer sample data given a particular phi/psi. For N-terminus residues, hand in the phi value SingleResidueDunbrackLibrary::PHI_NEUTRAL and for C-terminus residues, hand in the psi value SingleResidueDunbrackLibrary::PSI_NEUTRAL. The returned samples should be in semi-decrasing order by probability; semi, because the rotamers are constructed in sorted order by their probability in the lower phi-psi bin that the input phi/psi perscribes. More... | |
virtual Real | get_probability_for_rotamer (Real phi, Real psi, Size rot_ind) const =0 |
Return the probability for a particular rotamer where rotamers are indexed in order of decreasing probability (or something very close to decreasing probability). More... | |
virtual DunbrackRotamerSampleData | get_rotamer (Real phi, Real psi, Size rot_ind) const =0 |
virtual Real | get_phi_from_rsd (conformation::Residue const &rsd) const =0 |
virtual Real | get_psi_from_rsd (conformation::Residue const &rsd) const =0 |
virtual Size | memory_usage_in_bytes () const |
Virtual functions the derived classes must implement. More... | |
virtual Size | nchi () const =0 |
The number of chi represented by the library. More... | |
virtual Size | n_rotamer_bins () const =0 |
void | set_n_chi_bins (utility::vector1< Size > const &) |
Tell the base class the number of chi bins for each rotameric chi dimension. More... | |
virtual void | get_rotamer_from_chi (ChiVector const &chi, RotVector &rot) const =0 |
Convert a vector of chi angles (degrees) into a integer vector of rotamer wells. Derived class should be consistent, but may be arbitrary in how wells divide angle space. More... | |
Size | rotwell_2_rotno (utility::vector1< Size > const &rotwell) const |
Conversion functions. More... | |
Size | rotwell_2_rotno (Size4 const &rotwell) const |
Convert from the rotamer bin indices for each chi to the (non-compact) "rotamer number". More... | |
Size | rotno_2_packed_rotno (Size const rotno) const |
Convert from the rotamer number to the compacted "packed rotamer number". Returns 0 if rotno has no corresponding packed rotno. More... | |
Size | rotwell_2_packed_rotno (utility::vector1< Size > const &rotwell) const |
Convert from the rotamer bin indices for each chi to the compacted "packed rotamer number." Returns 0 if rotwell has no corresponding packed rotno. More... | |
Size | rotwell_2_packed_rotno (Size4 const &rotwell) const |
Convert from the rotamer bin indices for each chi to the compacted "packed rotamer number." Returns 0 if rotwell has no corresponding packed rotno. More... | |
void | packed_rotno_2_rotwell (Size const packed_rotno, utility::vector1< Size > &rotwell) const |
Convert from the packed rotamer number to the rotamer well. More... | |
void | packed_rotno_2_rotwell (Size const packed_rotno, Size4 &rotwell) const |
utility::vector1< Size > const & | packed_rotno_2_rotwell (Size const packed_rotno) const |
void | rotno_2_rotwell (Size const rotno, utility::vector1< Size > &rotwell) const |
Convert from the rotamer number to the rotamer well. More... | |
Size | bin_rotameric_chi (Real chi, Size which_chi) const |
, Turns out, when non-rotameric chi are taken out of the picture, all remaining chi are binned the same way, except proline. Valid only for Dun10 libraries. For D-amino acids, chi must be inverted before passing to this function. More... | |
void | bin_angle (Real const angle_start, Real const angle_step, Real const ASSERT_ONLY(angle_range), Size const nbins, Real const ang, Size &bin_lower, Size &bin_upper, Real &angle_alpha) const |
This is not the right place for this code, but the numeric interpolation library uselessly indexes by 0 and the basic functions aren't inlined... More... | |
AA | aa () const |
The amino acid this library is representing. More... | |
Real | probability_to_accumulate_while_building_rotamers (bool buried) const |
When creating rotamer, what position in the CDF should one build until? Unlikely rotamers ( < 0.5 %) are numerous, but are very infrequently useful. More... | |
void | prob_to_accumulate (Real, Real) |
setters for accumulation probability cutoff (to support externally-controlled option dependence) More... | |
void | prob_to_accumulate_buried (Real) |
void | prob_to_accumulate_nonburied (Real) |
![]() | |
virtual | ~SingleResidueRotamerLibrary () |
virtual Real | rotamer_energy_deriv (conformation::Residue const &rsd, RotamerLibraryScratchSpace &scratch) const =0 |
virtual Real | rotamer_energy (conformation::Residue const &rsd, RotamerLibraryScratchSpace &scratch) const =0 |
virtual Real | best_rotamer_energy (conformation::Residue const &rsd, bool curr_rotamer_only, RotamerLibraryScratchSpace &scratch) const =0 |
Returns the energy of the lowest-energy rotamer accessible to the given residue (based on e.g. its current phi and psi values). If curr_rotamer_only is true, then consider only the idealized version of the residue's current rotamer (local optimum); otherwise, consider all rotamers (global optimum). More... | |
virtual void | assign_random_rotamer_with_bias (conformation::Residue const &rsd, pose::Pose const &pose, RotamerLibraryScratchSpace &scratch, numeric::random::RandomGenerator &RG, ChiVector &new_chi_angles, bool perturb_from_rotamer_center) const =0 |
Pick a rotamer for the input residue according to the rotamer probability distribution and assign chi angles to the input rsd. If perturb_from_rotamer_center is true, then push the rotamer off from the center; for chi angles with a normal distribution, the perturbation is taken from a Gaussian random number with a standard deviation matching the chi angle's standard deviation. For chi angles that are not normally distributed, the behavior is open to the derived classe's interpretation. More... | |
virtual void | fill_rotamer_vector (pose::Pose const &pose, scoring::ScoreFunction const &scorefxn, pack::task::PackerTask const &task, graph::GraphCOP packer_neighbor_graph, chemical::ResidueTypeCOP concrete_residue, conformation::Residue const &existing_residue, utility::vector1< utility::vector1< Real > > const &extra_chi_steps, bool buried, RotamerVector &rotamers) const =0 |
virtual void | write_to_file (utility::io::ozstream &out) const =0 |
Static Public Member Functions | |
static void | n_rotamer_bins_for_aa (chemical::AA const aa, RotVector &rot) |
Hard coded specifics about the amino acids. More... | |
static void | n_rotameric_bins_for_aa (chemical::AA const aa, RotVector &rot, bool dun02) |
Reports information about the rotameric chi only; no details about the non rotameric chi. More... | |
static void | n_rotamer_bins_for_aa_02 (chemical::AA const aa, RotVector &rot) |
Hard coded rotamer well info for the 2002 library. More... | |
Static Public Attributes | |
static Real const | NEUTRAL_PHI = -90 |
constants More... | |
static Real const | NEUTRAL_PSI = 130 |
A good "psi" value to use for C-term residues. More... | |
Protected Member Functions | |
bool | dun02 () const |
Read access for the derived class. More... | |
virtual Size | memory_usage_static () const =0 |
Worker functions available to the derived classes. More... | |
virtual Size | memory_usage_dynamic () const |
utility::vector1< Size > const & | n_chi_bins () const |
Read access to the n_chi_bins_ vector. More... | |
void | mark_rotwell_exists (utility::vector1< Size > const &rotwell) |
The base class needs to be informed about which rotamer wells exist in order to create the rotwell to packed rot conversion data. set_chi_nbins must be called first. More... | |
void | declare_all_existing_rotwells_encountered () |
After the derived class has marked all the rotwells that do exist, the base class will create the rotwell to packerot conversion data. More... | |
Size | n_packed_rots () const |
The number of existing rotamers. More... | |
Size | n_possible_rots () const |
The number of possible rotamers – product of the chi_nbins_ array. More... | |
Private Member Functions | |
void | hokey_template_workaround () |
This function forces the instantiation of virtual templated methods in the derived classes. Functions like this one are necessary when combining polymorphism and templates. Though these functions must be compiled, they need never be called. Do not call this function. More... | |
core::pack::dunbrack::SingleResidueDunbrackLibrary::SingleResidueDunbrackLibrary | ( | AA const | aa, |
Size const | n_rotameric_chi, | ||
bool | dun02 | ||
) |
c-tor
References aa_, core::chemical::aa_unk, n_chi_bins_, n_chi_products_, n_possible_rots_, n_rotameric_bins_for_aa(), n_rotameric_chi_, read_options(), rotno_2_packed_rotno_, and rotwell_exists_.
|
virtual |
|
inline |
The amino acid this library is representing.
References aa_.
|
inline |
This is not the right place for this code, but the numeric interpolation library uselessly indexes by 0 and the basic functions aren't inlined...
References ASSERT_ONLY, and numeric::mod().
|
inline |
, Turns out, when non-rotameric chi are taken out of the picture, all remaining chi are binned the same way, except proline. Valid only for Dun10 libraries. For D-amino acids, chi must be inverted before passing to this function.
References aa_, core::chemical::aa_dpr, core::chemical::aa_pro, and dun02_.
|
protected |
After the derived class has marked all the rotwells that do exist, the base class will create the rotwell to packerot conversion data.
References n_packed_rots_, n_possible_rots_, packed_rotno_2_rotno_, packed_rotno_2_rotwell_, packed_rotno_conversion_data_current_, rotno_2_packed_rotno_, rotno_2_rotwell(), and rotwell_exists_.
|
inlineprotected |
Read access for the derived class.
References dun02_.
|
pure virtual |
Return all of the rotamer sample data given a particular phi/psi. For N-terminus residues, hand in the phi value SingleResidueDunbrackLibrary::PHI_NEUTRAL and for C-terminus residues, hand in the psi value SingleResidueDunbrackLibrary::PSI_NEUTRAL. The returned samples should be in semi-decrasing order by probability; semi, because the rotamers are constructed in sorted order by their probability in the lower phi-psi bin that the input phi/psi perscribes.
Implemented in core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >, and core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >.
|
pure virtual |
Implemented in core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >.
|
pure virtual |
Return the probability for a particular rotamer where rotamers are indexed in order of decreasing probability (or something very close to decreasing probability).
Implemented in core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >, and core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >.
|
pure virtual |
Implemented in core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >.
|
pure virtual |
|
pure virtual |
Convert a vector of chi angles (degrees) into a integer vector of rotamer wells. Derived class should be consistent, but may be arbitrary in how wells divide angle space.
Implemented in core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >, and core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >.
|
private |
This function forces the instantiation of virtual templated methods in the derived classes. Functions like this one are necessary when combining polymorphism and templates. Though these functions must be compiled, they need never be called. Do not call this function.
forces instantiation of virtual functions for templated derived classes... part of the uglyness of mixing templates and polymorphism. Never invoke this function.
References core::chemical::aa_ala, core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::assign_random_rotamer_with_bias(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::assign_random_rotamer_with_bias(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::best_rotamer_energy(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::best_rotamer_energy(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::fill_rotamer_vector(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::fill_rotamer_vector(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::find_another_representative_for_unlikely_rotamer(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::get_all_rotamer_samples(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::get_all_rotamer_samples(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::get_probability_for_rotamer(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::get_probability_for_rotamer(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::get_rotamer(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::get_rotamer(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::get_rotamer_from_chi(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::get_rotamer_from_chi(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::interpolate_rotamers(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::memory_usage_dynamic(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::memory_usage_dynamic(), memory_usage_in_bytes(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::memory_usage_static(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::memory_usage_static(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::n_rotamer_bins(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::n_rotamer_bins(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::nchi(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::nchi(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::read_from_binary(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::read_from_binary(), core::pack::RG, core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::rotamer_energy(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::rotamer_energy(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::rotamer_energy_deriv(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::rotamer_energy_deriv(), scratch, utility_exit_with_message, core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::write_to_binary(), core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::write_to_binary(), core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >::write_to_file(), and core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >::write_to_file().
|
protected |
The base class needs to be informed about which rotamer wells exist in order to create the rotwell to packed rot conversion data. set_chi_nbins must be called first.
References packed_rotno_conversion_data_current_, rotwell_2_rotno(), and rotwell_exists_.
|
protectedvirtual |
Reimplemented in core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >, and core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >.
References n_chi_bins_, n_chi_products_, packed_rotno_2_rotno_, packed_rotno_2_rotwell_, rotno_2_packed_rotno_, and rotwell_exists_.
Referenced by memory_usage_in_bytes().
|
virtual |
Virtual functions the derived classes must implement.
Derived classes should invoke base class function as well.
References memory_usage_dynamic(), and memory_usage_static().
Referenced by hokey_template_workaround().
|
protectedpure virtual |
Worker functions available to the derived classes.
Implemented in core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >, and core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >.
Referenced by memory_usage_in_bytes().
|
inlineprotected |
Read access to the n_chi_bins_ vector.
References n_chi_bins_.
|
inlineprotected |
The number of existing rotamers.
References n_packed_rots_.
Referenced by read_from_binary(), and write_to_binary().
|
inlineprotected |
The number of possible rotamers – product of the chi_nbins_ array.
References n_possible_rots_.
|
pure virtual |
|
static |
Hard coded specifics about the amino acids.
the number of wells defined for the 08 library; includes the number of wells for the semi-rotameric chi (arbitrarily chosen).
References core::chemical::aa_ala, core::chemical::aa_arg, core::chemical::aa_asn, core::chemical::aa_asp, core::chemical::aa_cys, core::chemical::aa_gln, core::chemical::aa_glu, core::chemical::aa_gly, core::chemical::aa_his, core::chemical::aa_ile, core::chemical::aa_leu, core::chemical::aa_lys, core::chemical::aa_met, core::chemical::aa_phe, core::chemical::aa_pro, core::chemical::aa_ser, core::chemical::aa_thr, core::chemical::aa_trp, core::chemical::aa_tyr, core::chemical::aa_val, and chemical.
|
static |
Hard coded rotamer well info for the 2002 library.
To continue supporting the 2002 Dunbrack library, we need to preserve the rotamer well definitions that it made.
References core::chemical::aa_ala, core::chemical::aa_arg, core::chemical::aa_asn, core::chemical::aa_asp, core::chemical::aa_cys, core::chemical::aa_gln, core::chemical::aa_glu, core::chemical::aa_gly, core::chemical::aa_his, core::chemical::aa_ile, core::chemical::aa_leu, core::chemical::aa_lys, core::chemical::aa_met, core::chemical::aa_phe, core::chemical::aa_pro, core::chemical::aa_ser, core::chemical::aa_thr, core::chemical::aa_trp, core::chemical::aa_tyr, core::chemical::aa_val, and chemical.
Referenced by n_rotameric_bins_for_aa().
|
static |
Reports information about the rotameric chi only; no details about the non rotameric chi.
For the rotameric chi – not all chi are rotameric
References core::chemical::aa_ala, core::chemical::aa_arg, core::chemical::aa_asn, core::chemical::aa_asp, core::chemical::aa_cys, core::chemical::aa_gln, core::chemical::aa_glu, core::chemical::aa_gly, core::chemical::aa_his, core::chemical::aa_ile, core::chemical::aa_leu, core::chemical::aa_lys, core::chemical::aa_met, core::chemical::aa_phe, core::chemical::aa_pro, core::chemical::aa_ser, core::chemical::aa_thr, core::chemical::aa_trp, core::chemical::aa_tyr, core::chemical::aa_val, chemical, and n_rotamer_bins_for_aa_02().
Referenced by SingleResidueDunbrackLibrary().
|
pure virtual |
The number of chi represented by the library.
Implemented in core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >, and core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >.
void core::pack::dunbrack::SingleResidueDunbrackLibrary::packed_rotno_2_rotwell | ( | Size const | packed_rotno, |
utility::vector1< Size > & | rotwell | ||
) | const |
Convert from the packed rotamer number to the rotamer well.
References packed_rotno_2_rotwell_.
Referenced by read_from_binary(), and write_to_binary().
utility::vector1< Size > const & core::pack::dunbrack::SingleResidueDunbrackLibrary::packed_rotno_2_rotwell | ( | Size const | packed_rotno | ) | const |
References packed_rotno_2_rotwell_.
void core::pack::dunbrack::SingleResidueDunbrackLibrary::prob_to_accumulate | ( | Real | buried, |
Real | nonburied | ||
) |
setters for accumulation probability cutoff (to support externally-controlled option dependence)
References prob_to_accumulate_buried(), and prob_to_accumulate_nonburied().
void core::pack::dunbrack::SingleResidueDunbrackLibrary::prob_to_accumulate_buried | ( | Real | buried | ) |
References prob_to_accumulate_buried_, and utility_exit_with_message.
Referenced by prob_to_accumulate(), and read_options().
void core::pack::dunbrack::SingleResidueDunbrackLibrary::prob_to_accumulate_nonburied | ( | Real | nonburied | ) |
References prob_to_accumulate_nonburied_, and utility_exit_with_message.
Referenced by prob_to_accumulate(), and read_options().
Real core::pack::dunbrack::SingleResidueDunbrackLibrary::probability_to_accumulate_while_building_rotamers | ( | bool | buried | ) | const |
When creating rotamer, what position in the CDF should one build until? Unlikely rotamers ( < 0.5 %) are numerous, but are very infrequently useful.
References prob_to_accumulate_buried_, and prob_to_accumulate_nonburied_.
|
virtual |
Reimplemented in core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >, and core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >.
References n_packed_rots(), n_packed_rots_, n_possible_rots_, n_rotameric_chi_, packed_rotno_2_rotno_, packed_rotno_2_rotwell(), packed_rotno_2_rotwell_, packed_rotno_conversion_data_current_, utility::io::izstream::read(), rotno_2_packed_rotno(), and rotno_2_packed_rotno_.
void core::pack::dunbrack::SingleResidueDunbrackLibrary::read_options | ( | ) |
References option, prob_to_accumulate_buried(), prob_to_accumulate_nonburied(), and user.
Referenced by SingleResidueDunbrackLibrary().
Size core::pack::dunbrack::SingleResidueDunbrackLibrary::rotno_2_packed_rotno | ( | Size const | rotno | ) | const |
Convert from the rotamer number to the compacted "packed rotamer number". Returns 0 if rotno has no corresponding packed rotno.
References packed_rotno_conversion_data_current_, and rotno_2_packed_rotno_.
Referenced by read_from_binary(), rotwell_2_packed_rotno(), and write_to_binary().
void core::pack::dunbrack::SingleResidueDunbrackLibrary::rotno_2_rotwell | ( | Size const | rotno, |
utility::vector1< Size > & | rotwell | ||
) | const |
Convert from the rotamer number to the rotamer well.
not as fast as going through the packed_rotno_2_rotwell_ lookup table, but does the modulo converstion from a 1-based index to a lexicographical index ordering.
if there are 3 chi, and 3 rotamer bins per chi, then 21 would represent (3-1) * 3**2 + (1-1) * 3**1 + (3-1) * 3**0 + 1 = [ 3, 1, 3 ];
References n_chi_products_, n_rotameric_chi_, and remainder().
Referenced by declare_all_existing_rotwells_encountered().
Size core::pack::dunbrack::SingleResidueDunbrackLibrary::rotwell_2_packed_rotno | ( | utility::vector1< Size > const & | rotwell | ) | const |
Convert from the rotamer bin indices for each chi to the compacted "packed rotamer number." Returns 0 if rotwell has no corresponding packed rotno.
References packed_rotno_conversion_data_current_, rotno_2_packed_rotno(), and rotwell_2_rotno().
Size core::pack::dunbrack::SingleResidueDunbrackLibrary::rotwell_2_packed_rotno | ( | Size4 const & | rotwell | ) | const |
Convert from the rotamer bin indices for each chi to the compacted "packed rotamer number." Returns 0 if rotwell has no corresponding packed rotno.
References packed_rotno_conversion_data_current_, rotno_2_packed_rotno(), and rotwell_2_rotno().
Size core::pack::dunbrack::SingleResidueDunbrackLibrary::rotwell_2_rotno | ( | utility::vector1< Size > const & | rotwell | ) | const |
Conversion functions.
Convert from the rotamer bin indices for each chi to the (non-compact) "rotamer number"
References n_chi_products_.
Referenced by mark_rotwell_exists(), and rotwell_2_packed_rotno().
Size core::pack::dunbrack::SingleResidueDunbrackLibrary::rotwell_2_rotno | ( | Size4 const & | rotwell | ) | const |
Convert from the rotamer bin indices for each chi to the (non-compact) "rotamer number".
References n_chi_products_, and utility::fixedsizearray1< T, S >::size().
void core::pack::dunbrack::SingleResidueDunbrackLibrary::set_n_chi_bins | ( | utility::vector1< Size > const & | n_chi_bins | ) |
Tell the base class the number of chi bins for each rotameric chi dimension.
Sets the number of bins for a particular chi angle, used for the NCAAs, info for CAAs is hardcoded bellow
References n_chi_bins_, n_chi_products_, n_possible_rots_, n_rotameric_chi_, rotno_2_packed_rotno_, and rotwell_exists_.
Referenced by core::pack::dunbrack::RotamerLibrary::get_NCAA_rotamer_library().
|
virtual |
Reimplemented in core::pack::dunbrack::SemiRotamericSingleResidueDunbrackLibrary< T >, and core::pack::dunbrack::RotamericSingleResidueDunbrackLibrary< T >.
References n_packed_rots(), n_packed_rots_, n_possible_rots_, n_rotameric_chi_, packed_rotno_2_rotno_, packed_rotno_2_rotwell(), packed_rotno_2_rotwell_, rotno_2_packed_rotno(), rotno_2_packed_rotno_, and utility::io::ozstream::write().
|
private |
Referenced by aa(), bin_rotameric_chi(), and SingleResidueDunbrackLibrary().
|
private |
data
Referenced by bin_rotameric_chi(), and dun02().
|
private |
Referenced by memory_usage_dynamic(), n_chi_bins(), set_n_chi_bins(), and SingleResidueDunbrackLibrary().
|
private |
Referenced by memory_usage_dynamic(), rotno_2_rotwell(), rotwell_2_rotno(), set_n_chi_bins(), and SingleResidueDunbrackLibrary().
|
private |
Referenced by declare_all_existing_rotwells_encountered(), n_packed_rots(), read_from_binary(), and write_to_binary().
|
private |
|
private |
Referenced by read_from_binary(), rotno_2_rotwell(), set_n_chi_bins(), SingleResidueDunbrackLibrary(), and write_to_binary().
|
static |
constants
A good "phi" value to use for N-term residues
|
static |
A good "psi" value to use for C-term residues.
|
private |
Referenced by declare_all_existing_rotwells_encountered(), memory_usage_dynamic(), read_from_binary(), and write_to_binary().
|
private |
|
private |
|
private |
Referenced by prob_to_accumulate_buried(), and probability_to_accumulate_while_building_rotamers().
|
private |
Referenced by prob_to_accumulate_nonburied(), and probability_to_accumulate_while_building_rotamers().
|
private |
|
private |