Rosetta 3.5
|
#include <SS_Info2.hh>
Public Member Functions | |
SS_Info2 () | |
default constructor More... | |
SS_Info2 (String const &secstruct) | |
value constructor More... | |
SS_Info2 (Pose const &pose, String const &secstruct="") | |
value constructor More... | |
SS_Info2 (SS_Info2 const &s) | |
copy constructor More... | |
~SS_Info2 () | |
destructor More... | |
basic::datacache::CacheableDataOP | clone () const |
make clone More... | |
void | initialize (String const &secstruct) |
initialize parameters of this class More... | |
void | initialize (Pose const &pose, String const &secstruct="") |
initialize parameters of this class More... | |
bool | bbpos_is_set () const |
get flag for telling whether bb_pos_ was initiliazed by pose or not More... | |
String | secstruct () const |
string of secondary structure elements More... | |
char | secstruct (Size ii) const |
BB_Pos const & | bb_pos () const |
get xyz-coordinates of backbone structure More... | |
Strands const & | strands () const |
return strands More... | |
Helices const & | helices () const |
return helices More... | |
Loops const & | loops () const |
return loops More... | |
StrandCOP const | strand (Size is) const |
return owning pointer of strand given an index of strands More... | |
HelixCOP const | helix (Size ih) const |
return owning pointer of helix given an index of helices More... | |
LoopCOP const | loop (Size il) const |
return owning pointer of loop given an index of loops More... | |
Size | strand_id (Size const nres) const |
return strand index in strands given a residue number More... | |
Size | helix_id (Size const nres) const |
return helix index in helices given a residue number More... | |
Size | loop_id (Size const nres) const |
return loop index in loops given a residue number More... | |
Size | ss_element_id (Size const nres) const |
return the index of secondary structure element given a residue number More... | |
void | set_SSorient (Pose const &pose) |
set orientation vector of secondary structures given a pose More... | |
void | set_SSorient () |
set orientation vector of secondary structures given a pose which is defined in the constructor More... | |
void | clear_data () |
clear data More... | |
Private Types | |
typedef core::Size | Size |
typedef core::pose::Pose | Pose |
typedef std::string | String |
typedef protocols::fldsgn::topology::BB_Pos | BB_Pos |
Private Member Functions | |
void | resize (Size const nres) |
resize vectors More... | |
void | identify_ss (String const &secstruct) |
identify secondary structures More... | |
Private Attributes | |
bool | bbpos_is_set_ |
flag for telling whether bb_pos_ was initiliazed by pose or not More... | |
String | secstruct_ |
string of secondary structure elements More... | |
BB_Pos | bb_pos_ |
xyz-coordinates of backbone More... | |
Strands | strands_ |
vector of StrandOP More... | |
utility::vector1< Size > | strand_id_ |
vector for storing index of strand id for each residue position More... | |
Helices | helices_ |
vector of HelixOP More... | |
utility::vector1< Size > | helix_id_ |
vector for storing index of helix id for each residue position More... | |
Loops | loops_ |
vector of loops More... | |
utility::vector1< Size > | loop_id_ |
utility::vector1< Size > | ss_element_id_ |
vector for storing index of secondary structure element for each residue position More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const SS_Info2 &ssinfo) |
output info of SS_Info2 More... | |
|
private |
|
private |
|
private |
protocols::fldsgn::topology::SS_Info2::SS_Info2 | ( | ) |
default constructor
Referenced by clone().
protocols::fldsgn::topology::SS_Info2::SS_Info2 | ( | String const & | secstruct) |
value constructor
References initialize().
protocols::fldsgn::topology::SS_Info2::SS_Info2 | ( | Pose const & | pose, |
String const & | secstruct = "" |
||
) |
value constructor
References initialize().
protocols::fldsgn::topology::SS_Info2::SS_Info2 | ( | SS_Info2 const & | s) |
copy constructor
protocols::fldsgn::topology::SS_Info2::~SS_Info2 | ( | ) |
destructor
|
inline |
get xyz-coordinates of backbone structure
References bb_pos_.
Referenced by protocols::fldsgn::potentials::sspot::HSPairPotential::score(), protocols::fldsgn::potentials::sspot::SSPairPotential::score(), and protocols::fldsgn::potentials::sspot::NatbiasStrandPairPotential::score().
|
inline |
get flag for telling whether bb_pos_ was initiliazed by pose or not
References bbpos_is_set_.
void protocols::fldsgn::topology::SS_Info2::clear_data | ( | ) |
clear data
References bb_pos_, protocols::fldsgn::topology::BB_Pos::clear(), helices_, helix_id_, loop_id_, secstruct_, ss_element_id_, strand_id_, and strands_.
Referenced by initialize().
basic::datacache::CacheableDataOP protocols::fldsgn::topology::SS_Info2::clone | ( | ) | const |
make clone
References SS_Info2().
|
inline |
return helices
References helices_.
Referenced by protocols::fldsgn::potentials::sspot::HSPairPotential::score().
return owning pointer of helix given an index of helices
References helices_.
return helix index in helices given a residue number
References helix_id_.
|
private |
identify secondary structures
identify the region of each secondary structure element
References helices_, helix_id_, loop_id_, loops_, ss_element_id_, strand_id_, and strands_.
Referenced by initialize().
void protocols::fldsgn::topology::SS_Info2::initialize | ( | String const & | secstruct) |
initialize parameters of this class
References clear_data(), identify_ss(), resize(), secstruct(), and secstruct_.
Referenced by SS_Info2().
void protocols::fldsgn::topology::SS_Info2::initialize | ( | Pose const & | pose, |
String const & | secstruct = "" |
||
) |
initialize parameters of this class
References bb_pos_, bbpos_is_set_, clear_data(), identify_ss(), core::chemical::ResidueType::is_protein(), core::pose::Pose::residue_type(), resize(), secstruct(), core::pose::Pose::secstruct(), secstruct_, set_SSorient(), protocols::fldsgn::topology::BB_Pos::take_coordinates_from_pose(), and core::pose::Pose::total_residue().
return owning pointer of loop given an index of loops
References loops_.
return loop index in loops given a residue number
References loop_id_.
|
inline |
return loops
References loops_.
|
private |
resize vectors
References bb_pos_, helix_id_, loop_id_, protocols::fldsgn::topology::BB_Pos::resize(), ss_element_id_, and strand_id_.
Referenced by initialize().
|
inline |
|
inline |
References secstruct_.
void protocols::fldsgn::topology::SS_Info2::set_SSorient | ( | Pose const & | pose) |
set orientation vector of secondary structures given a pose
References bb_pos_, bbpos_is_set_, set_SSorient(), protocols::fldsgn::topology::BB_Pos::size(), protocols::fldsgn::topology::BB_Pos::take_coordinates_from_pose(), and core::pose::Pose::total_residue().
void protocols::fldsgn::topology::SS_Info2::set_SSorient | ( | ) |
set orientation vector of secondary structures given a pose which is defined in the constructor
References bb_pos_, helices_, and strands_.
Referenced by initialize(), and set_SSorient().
return the index of secondary structure element given a residue number
References ss_element_id_.
return owning pointer of strand given an index of strands
References strands_.
Referenced by protocols::fldsgn::topology::StrandPairingSet::initialize_by_dimer_pairs().
return strand index in strands given a residue number
References strand_id_.
Referenced by protocols::fldsgn::topology::DimerPairings::finalize(), protocols::fldsgn::topology::StrandPairingSet::initialize_by_dimer_pairs(), protocols::fldsgn::potentials::sspot::HSPairPotential::score(), protocols::fldsgn::potentials::sspot::SSPairPotential::score(), and protocols::fldsgn::potentials::sspot::NatbiasStrandPairPotential::score().
|
inline |
return strands
References strands_.
Referenced by protocols::fldsgn::topology::StrandPairingSet::initialize_by_dimer_pairs(), protocols::fldsgn::potentials::sspot::HSPairPotential::score(), protocols::fldsgn::potentials::sspot::SSPairPotential::score(), and protocols::fldsgn::potentials::sspot::NatbiasStrandPairPotential::score().
|
friend |
output info of SS_Info2
|
private |
xyz-coordinates of backbone
Referenced by bb_pos(), clear_data(), initialize(), resize(), and set_SSorient().
|
private |
flag for telling whether bb_pos_ was initiliazed by pose or not
Referenced by bbpos_is_set(), initialize(), and set_SSorient().
|
private |
vector of HelixOP
Referenced by clear_data(), helices(), helix(), identify_ss(), protocols::fldsgn::topology::operator<<(), and set_SSorient().
|
private |
vector for storing index of helix id for each residue position
Referenced by clear_data(), helix_id(), identify_ss(), and resize().
|
private |
Referenced by clear_data(), identify_ss(), loop_id(), and resize().
|
private |
vector of loops
Referenced by identify_ss(), loop(), and loops().
|
private |
string of secondary structure elements
Referenced by clear_data(), initialize(), and secstruct().
|
private |
vector for storing index of secondary structure element for each residue position
Referenced by clear_data(), identify_ss(), resize(), and ss_element_id().
|
private |
vector for storing index of strand id for each residue position
Referenced by clear_data(), identify_ss(), resize(), and strand_id().
|
private |
vector of StrandOP
Referenced by clear_data(), identify_ss(), protocols::fldsgn::topology::operator<<(), set_SSorient(), strand(), and strands().