|
Rosetta 3.5
|
tiny helper class that knows the relative fractions of secondary structure L,H,E so far these fractions can be computed from a FragSet other input strategies are conceivable but not implemented, yet: eg. psipred files, a bunch of poses, More...
#include <SecondaryStructure.hh>


Public Member Functions | |
| virtual | ~SecondaryStructure () |
| Automatically generated virtual destructor for class deriving directly from ReferenceCount. More... | |
| SecondaryStructure () | |
| SecondaryStructure (utility::vector1< SecondaryStructureOP > &, utility::vector1< Real > &) | |
| c'ctor that creates a SecondaryStructure as an average of several SecondaryStructure objects More... | |
| SecondaryStructure (core::fragment::FragSet const &frags, core::Size nres=0, bool bJustCenterResidue=false) | |
| c'stor compute fractions from fragments More... | |
| SecondaryStructure (core::pose::Pose const &) | |
| c'stor compute fractions from pose ( well it won't be "fractions" ) More... | |
| core::Real | loop_fraction (core::Size pos) const |
| return loop fraction at position More... | |
| core::Real | strand_fraction (core::Size pos) const |
| return strand fraction at position More... | |
| core::Real | sheet_fraction (core::Size pos) const |
| alias for strand-fraction ... More... | |
| core::Real | helix_fraction (core::Size pos) const |
| helix fraction at position More... | |
| core::Real | confidence (core::Size pos) const |
| confidence at position More... | |
| void | set_fractions (core::Size pos, core::Real helix_fraction, core::Real sheet_fraction, core::Real loop_fraction, core::Real confidence=0) |
| sets secondary structure probabilities at a given position More... | |
| ObjexxFCL::FArray1D_float const & | loop_fraction () const |
| return loop fraction - FArray More... | |
| ObjexxFCL::FArray1D_float const & | strand_fraction () const |
| return strand fraction - FArray More... | |
| core::Size | total_residue () const |
| returns regions (in loop-class format) that belong to contiguous pieces of ss-structure More... | |
| char | secstruct (core::Size pos) const |
| returns the most probably secstruct at that position More... | |
| void | extend (core::Size) |
| extends with pure 'L' at end until requested size is reached. More... | |
| void | read_from_file (std::string fn) |
| read from file More... | |
| void | show (std::ostream &) const |
| write to stream ( opposite from read_from_file ) More... | |
| void | write_psipred_ss2 (std::ostream &os, std::string const &sequence) const |
| write psipred format More... | |
| void | read_psipred_ss2 (std::istream &os) |
| write psipred format More... | |
| void | read_psipred_ss2 (std::string filename) |
| write psipred format More... | |
| void | read_talos_ss (std::istream &os) |
| read talos+ format More... | |
| void | read_talos_ss (std::string filename) |
| read talos+ format More... | |
Private Member Functions | |
| void | compute_fractions (core::fragment::FragSet const &, bool bJustCenterResidue) |
Private Attributes | |
| ObjexxFCL::FArray1D_float | loop_fraction_ |
| store loop/strand fractions More... | |
| ObjexxFCL::FArray1D_float | strand_fraction_ |
| ObjexxFCL::FArray1D_float | confidence_ |
| store confidence values: used by talos, but not by psipred More... | |
| core::Size | total_residue_ |
| length of FArrays More... | |
tiny helper class that knows the relative fractions of secondary structure L,H,E so far these fractions can be computed from a FragSet other input strategies are conceivable but not implemented, yet: eg. psipred files, a bunch of poses,
Definition at line 54 of file SecondaryStructure.hh.
|
virtual |
Automatically generated virtual destructor for class deriving directly from ReferenceCount.
Auto-generated virtual destructor
Definition at line 61 of file SecondaryStructure.cc.
|
inline |
Definition at line 59 of file SecondaryStructure.hh.
| core::fragment::SecondaryStructure::SecondaryStructure | ( | utility::vector1< SecondaryStructureOP > & | components, |
| utility::vector1< Real > & | weights | ||
| ) |
c'ctor that creates a SecondaryStructure as an average of several SecondaryStructure objects
Definition at line 207 of file SecondaryStructure.cc.
References core::io::serialization::size().
|
inline |
c'stor compute fractions from fragments
Definition at line 67 of file SecondaryStructure.hh.
References compute_fractions().
| core::fragment::SecondaryStructure::SecondaryStructure | ( | core::pose::Pose const & | pose) |
c'stor compute fractions from pose ( well it won't be "fractions" )
Definition at line 195 of file SecondaryStructure.cc.
References core::pose::Pose::secstruct(), and core::pose::Pose::total_residue().
|
private |
Definition at line 66 of file SecondaryStructure.cc.
References core::fragment::FragSet::begin(), core::fragment::FragSet::end(), core::fragment::FragSet::max_pos(), and core::fragment::tr().
Referenced by SecondaryStructure().
|
inline |
confidence at position
Definition at line 100 of file SecondaryStructure.hh.
References confidence_, and total_residue_.
Referenced by set_fractions().
| void core::fragment::SecondaryStructure::extend | ( | core::Size | nres) |
extends with pure 'L' at end until requested size is reached.
Definition at line 410 of file SecondaryStructure.cc.
Referenced by protocols::jumping::JumpSample::JumpSample().
|
inline |
helix fraction at position
Definition at line 94 of file SecondaryStructure.hh.
References loop_fraction_, strand_fraction_, and total_residue_.
Referenced by protocols::abinitio::decide_on_beta_jumping_from_frags(), and protocols::loops::define_scorable_core_from_secondary_structure().
|
inline |
return loop fraction at position
Definition at line 77 of file SecondaryStructure.hh.
References loop_fraction_, and total_residue_.
Referenced by protocols::loops::compute_ss_regions(), protocols::topology_broker::CutBiasClaimer::CutBiasClaimer(), protocols::loops::define_scorable_core_from_secondary_structure(), and protocols::jumping::JumpSample::JumpSample().
|
inline |
return loop fraction - FArray
Definition at line 122 of file SecondaryStructure.hh.
References loop_fraction_.
| void core::fragment::SecondaryStructure::read_from_file | ( | std::string | fn) |
read from file
read from file
Definition at line 151 of file SecondaryStructure.cc.
References core::fragment::tr().
| void core::fragment::SecondaryStructure::read_psipred_ss2 | ( | std::istream & | os) |
write psipred format
Definition at line 255 of file SecondaryStructure.cc.
References core::fragment::tr().
| void core::fragment::SecondaryStructure::read_psipred_ss2 | ( | std::string | filename) |
write psipred format
Definition at line 245 of file SecondaryStructure.cc.
References core::fragment::tr().
| void core::fragment::SecondaryStructure::read_talos_ss | ( | std::istream & | os) |
read talos+ format
Definition at line 340 of file SecondaryStructure.cc.
References core::fragment::tr().
| void core::fragment::SecondaryStructure::read_talos_ss | ( | std::string | filename) |
read talos+ format
Definition at line 330 of file SecondaryStructure.cc.
References core::fragment::tr().
| char core::fragment::SecondaryStructure::secstruct | ( | core::Size | pos) | const |
returns the most probably secstruct at that position
returns regions (in loop-class format) that belong to contiguous pieces of ss-structure
Definition at line 137 of file SecondaryStructure.cc.
|
inline |
sets secondary structure probabilities at a given position
Definition at line 106 of file SecondaryStructure.hh.
References confidence(), confidence_, loop_fraction_, sheet_fraction(), strand_fraction_, and total_residue_.
|
inline |
alias for strand-fraction ...
Definition at line 89 of file SecondaryStructure.hh.
References strand_fraction().
Referenced by protocols::abinitio::IterativeBase::guess_pairings_from_secondary_structure(), and set_fractions().
| void core::fragment::SecondaryStructure::show | ( | std::ostream & | os) | const |
write to stream ( opposite from read_from_file )
Definition at line 231 of file SecondaryStructure.cc.
References protocols::comparative_modeling::features::A.
Referenced by core::fragment::operator<<().
|
inline |
return strand fraction at position
Definition at line 83 of file SecondaryStructure.hh.
References strand_fraction_, and total_residue_.
Referenced by protocols::abinitio::decide_on_beta_jumping_from_frags(), and protocols::jumping::SameStrand::do_strand_sum().
|
inline |
return strand fraction - FArray
Definition at line 127 of file SecondaryStructure.hh.
References strand_fraction_.
Referenced by sheet_fraction().
|
inline |
returns regions (in loop-class format) that belong to contiguous pieces of ss-structure
number of residues for which information is available
Definition at line 137 of file SecondaryStructure.hh.
References total_residue_.
Referenced by protocols::loops::compute_ss_regions(), protocols::topology_broker::CutBiasClaimer::CutBiasClaimer(), protocols::abinitio::decide_on_beta_jumping_from_frags(), protocols::loops::define_scorable_core_from_secondary_structure(), protocols::jumping::SameStrand::do_strand_sum(), protocols::abinitio::IterativeBase::guess_pairings_from_secondary_structure(), and protocols::jumping::JumpSample::JumpSample().
| void core::fragment::SecondaryStructure::write_psipred_ss2 | ( | std::ostream & | os, |
| std::string const & | sequence | ||
| ) | const |
write psipred format
Definition at line 311 of file SecondaryStructure.cc.
References protocols::comparative_modeling::features::A.
Referenced by protocols::abinitio::IterativeBase::guess_pairings_from_secondary_structure().
|
private |
store confidence values: used by talos, but not by psipred
Definition at line 177 of file SecondaryStructure.hh.
Referenced by confidence(), and set_fractions().
|
private |
store loop/strand fractions
Definition at line 173 of file SecondaryStructure.hh.
Referenced by helix_fraction(), loop_fraction(), and set_fractions().
|
private |
Definition at line 174 of file SecondaryStructure.hh.
Referenced by helix_fraction(), set_fractions(), and strand_fraction().
|
private |
length of FArrays
Definition at line 180 of file SecondaryStructure.hh.
Referenced by confidence(), helix_fraction(), loop_fraction(), set_fractions(), strand_fraction(), and total_residue().
1.8.4