Rosetta
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
core::pack::rotamer_set::ContinuousRotamerSet Class Reference

#include <ContinuousRotamerSet.hh>

Inheritance diagram for core::pack::rotamer_set::ContinuousRotamerSet:
Inheritance graph
[legend]

Public Member Functions

 ContinuousRotamerSet ()
 
 ~ContinuousRotamerSet () override
 
void build_rotamers (pose::Pose const &pose, Size resid, task::PackerTask const &task)
 
Size get_n_residue_types () const
 
Size get_n_sampling_rotamers_for_rotblock (Size which_restype) const
 
Size get_n_baserotamers_for_rotblock (Size which_restype) const
 
Size get_rotblock_index_for_sampling_rotamer (Size which_rotamer) const
 Rotamers i to i+j of all the same residue type are grouped together. This function returns the index of the residue type in a contiguous block of rotamers. E.g. rotamers 100 to 120 might all be lysine rotamers, and might be the 8th residue type, with the first 7 residue types spanning rotamers 1 to 99. If new lysine rotamers are appended to the end of the rotamer set, they are considered to be in a separate residue type block. Lysine rotamers 200 to 210 might be block 15 while lysine rotamers 100 to 120 are still block 7. More...
 
Size num_base_rotamers_total () const
 
Size num_sampling_rotamers_total () const
 
Size sampling_id_for_current_rotamer () const
 
utility::vector1< Vector > const & current_rotamer_coords () const
 
Size resid () const
 
chemical::ResidueTypeCOP restype_for_rotblock (Size rotblock) const
 
dunbrack::DunbrackRotamerSampleData const & baserotamer_data (Size aa_ind, Size rotid_for_aa) const
 
Size pick_baserotamer_from_rotblock (Size aa_ind, Real rand_btw_0_and_1) const
 

Private Types

typedef utility::VirtualBase parent
 
typedef utility::vector1< dunbrack::DunbrackRotamerSampleDataRotamersForAA
 

Private Member Functions

void determine_rotcounts_for_restype (Size)
 

Private Attributes

Size resid_
 
Size input_rotamer_samplingrot_index_
 
Size input_rotamer_rotblock_
 
utility::vector1< Vectorinput_rotamer_coords_
 
Size n_restypes_
 
utility::vector1< chemical::AAaa_for_rotblock_
 
utility::vector1< chemical::ResidueTypeCOPrestype_for_rotblock_
 
Size n_baserots_total_
 
utility::vector1< Sizen_baserotamers_for_rotblock_
 
utility::vector1< Sizebaserots_offsets_
 
utility::vector1< Sizeaa_block_for_baserotamer_
 
Size n_samplingrots_total_
 
utility::vector1< Sizen_samplingrots_for_rotblock_
 
utility::vector1< Sizesamplingrot_offsets_
 
utility::vector1< Sizeaa_block_for_samplingrotamer_
 
utility::vector1< RotamersForAAsamples_
 

Member Typedef Documentation

◆ parent

typedef utility::VirtualBase core::pack::rotamer_set::ContinuousRotamerSet::parent
private

◆ RotamersForAA

Constructor & Destructor Documentation

◆ ContinuousRotamerSet()

core::pack::rotamer_set::ContinuousRotamerSet::ContinuousRotamerSet ( )

◆ ~ContinuousRotamerSet()

core::pack::rotamer_set::ContinuousRotamerSet::~ContinuousRotamerSet ( )
overridedefault

Member Function Documentation

◆ baserotamer_data()

dunbrack::DunbrackRotamerSampleData const & core::pack::rotamer_set::ContinuousRotamerSet::baserotamer_data ( Size  aa_ind,
Size  rotid_for_aa 
) const

◆ build_rotamers()

void core::pack::rotamer_set::ContinuousRotamerSet::build_rotamers ( pose::Pose const &  pose,
Size  resid,
task::PackerTask const &  task 
)

◆ current_rotamer_coords()

utility::vector1< Vector > const & core::pack::rotamer_set::ContinuousRotamerSet::current_rotamer_coords ( ) const

◆ determine_rotcounts_for_restype()

void core::pack::rotamer_set::ContinuousRotamerSet::determine_rotcounts_for_restype ( Size  restype_ind)
private

◆ get_n_baserotamers_for_rotblock()

Size core::pack::rotamer_set::ContinuousRotamerSet::get_n_baserotamers_for_rotblock ( Size  which_restype) const

◆ get_n_residue_types()

Size core::pack::rotamer_set::ContinuousRotamerSet::get_n_residue_types ( ) const

Note, its entirely possible for two residue types to be the "same amino acid", e.g. HIS and HIS_D.

References n_restypes_.

◆ get_n_sampling_rotamers_for_rotblock()

Size core::pack::rotamer_set::ContinuousRotamerSet::get_n_sampling_rotamers_for_rotblock ( Size  which_restype) const

◆ get_rotblock_index_for_sampling_rotamer()

Size core::pack::rotamer_set::ContinuousRotamerSet::get_rotblock_index_for_sampling_rotamer ( Size  which_rotamer) const

Rotamers i to i+j of all the same residue type are grouped together. This function returns the index of the residue type in a contiguous block of rotamers. E.g. rotamers 100 to 120 might all be lysine rotamers, and might be the 8th residue type, with the first 7 residue types spanning rotamers 1 to 99. If new lysine rotamers are appended to the end of the rotamer set, they are considered to be in a separate residue type block. Lysine rotamers 200 to 210 might be block 15 while lysine rotamers 100 to 120 are still block 7.

References aa_block_for_samplingrotamer_.

Referenced by core::pack::assign_random_continuous_rotamer().

◆ num_base_rotamers_total()

Size core::pack::rotamer_set::ContinuousRotamerSet::num_base_rotamers_total ( ) const

References n_baserots_total_.

◆ num_sampling_rotamers_total()

Size core::pack::rotamer_set::ContinuousRotamerSet::num_sampling_rotamers_total ( ) const

References n_samplingrots_total_.

◆ pick_baserotamer_from_rotblock()

Size core::pack::rotamer_set::ContinuousRotamerSet::pick_baserotamer_from_rotblock ( Size  aa_ind,
Real  rand_btw_0_and_1 
) const

◆ resid()

Size core::pack::rotamer_set::ContinuousRotamerSet::resid ( ) const

References resid_.

Referenced by build_rotamers().

◆ restype_for_rotblock()

chemical::ResidueTypeCOP core::pack::rotamer_set::ContinuousRotamerSet::restype_for_rotblock ( Size  rotblock) const

◆ sampling_id_for_current_rotamer()

Size core::pack::rotamer_set::ContinuousRotamerSet::sampling_id_for_current_rotamer ( ) const

Member Data Documentation

◆ aa_block_for_baserotamer_

utility::vector1< Size > core::pack::rotamer_set::ContinuousRotamerSet::aa_block_for_baserotamer_
private

Referenced by build_rotamers().

◆ aa_block_for_samplingrotamer_

utility::vector1< Size > core::pack::rotamer_set::ContinuousRotamerSet::aa_block_for_samplingrotamer_
private

◆ aa_for_rotblock_

utility::vector1< chemical::AA > core::pack::rotamer_set::ContinuousRotamerSet::aa_for_rotblock_
private

Referenced by build_rotamers().

◆ baserots_offsets_

utility::vector1< Size > core::pack::rotamer_set::ContinuousRotamerSet::baserots_offsets_
private

Referenced by build_rotamers().

◆ input_rotamer_coords_

utility::vector1< Vector > core::pack::rotamer_set::ContinuousRotamerSet::input_rotamer_coords_
private

◆ input_rotamer_rotblock_

Size core::pack::rotamer_set::ContinuousRotamerSet::input_rotamer_rotblock_
private

◆ input_rotamer_samplingrot_index_

Size core::pack::rotamer_set::ContinuousRotamerSet::input_rotamer_samplingrot_index_
private

◆ n_baserotamers_for_rotblock_

utility::vector1< Size > core::pack::rotamer_set::ContinuousRotamerSet::n_baserotamers_for_rotblock_
private

◆ n_baserots_total_

Size core::pack::rotamer_set::ContinuousRotamerSet::n_baserots_total_
private

◆ n_restypes_

Size core::pack::rotamer_set::ContinuousRotamerSet::n_restypes_
private

◆ n_samplingrots_for_rotblock_

utility::vector1< Size > core::pack::rotamer_set::ContinuousRotamerSet::n_samplingrots_for_rotblock_
private

◆ n_samplingrots_total_

Size core::pack::rotamer_set::ContinuousRotamerSet::n_samplingrots_total_
private

◆ resid_

Size core::pack::rotamer_set::ContinuousRotamerSet::resid_
private

Referenced by build_rotamers(), and resid().

◆ restype_for_rotblock_

utility::vector1< chemical::ResidueTypeCOP > core::pack::rotamer_set::ContinuousRotamerSet::restype_for_rotblock_
private

◆ samples_

utility::vector1< RotamersForAA > core::pack::rotamer_set::ContinuousRotamerSet::samples_
private

◆ samplingrot_offsets_

utility::vector1< Size > core::pack::rotamer_set::ContinuousRotamerSet::samplingrot_offsets_
private

Referenced by build_rotamers().


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