|
Rosetta 3.5
|
#include <VallData.hh>

Public Member Functions | |
| VallData () | |
| default constructor More... | |
| VallData (std::string const &filename) | |
| constructor from input vall database file More... | |
| void | shrink () |
| removes excess storage capacity to minimize memory usage More... | |
| void | read_file (std::string const &filename) |
| read from vall database file "filename" More... | |
| void | add_line (const char sq, const char ss, const Real ph, const Real ps, const Real om) |
| read in one more line from Vall input file More... | |
| utility::vector1< char > const & | sequence () const |
| utility::vector1< char > const & | secstruct () const |
| utility::vector1< Real > const & | phi () const |
| utility::vector1< Real > const & | psi () const |
| utility::vector1< Real > const & | omega () const |
| int | size () const |
| number of lines in Vall database More... | |
| void | get_frags (Size const nfrags, std::string const &target_seq, std::string const &target_ss, Real const seq_weight, Real const ss_weight, bool const exclude_gly, bool const exclude_pro, bool const exclude_cys_peptides, SingleResidueTorsionFragmentLibrary &library) const |
| pick fragments in a single window More... | |
Private Attributes | |
| utility::vector1< char > | sequence_ |
| utility::vector1< char > | secstruct_ |
| utility::vector1< Real > | phi_ |
| utility::vector1< Real > | psi_ |
| utility::vector1< Real > | omega_ |
Definition at line 40 of file VallData.hh.
|
inline |
default constructor
Definition at line 43 of file VallData.hh.
References omega_, phi_, psi_, secstruct_, and sequence_.
|
inline |
constructor from input vall database file
Definition at line 54 of file VallData.hh.
References omega_, phi_, psi_, read_file(), secstruct_, and sequence_.
|
inline |
read in one more line from Vall input file
Definition at line 83 of file VallData.hh.
References omega_, phi_, psi_, secstruct_, and sequence_.
| void protocols::frags::VallData::get_frags | ( | Size const | nfrags, |
| std::string const & | target_seq, | ||
| std::string const & | target_ss, | ||
| Real const | seq_weight, | ||
| Real const | ss_weight, | ||
| bool const | exclude_gly, | ||
| bool const | exclude_pro, | ||
| bool const | exclude_cys_peptides, | ||
| SingleResidueTorsionFragmentLibrary & | library | ||
| ) | const |
pick fragments in a single window
scan through vall database, for each position within each window, if sequence does not match target sequence, penalize by seq_weight; if secstruct does not match target secstruct, penalize by ss_weight. In the end, picking top "nfrags" fragments with lowest penalty score (this internally uses a "heap" implementation).
Definition at line 128 of file VallData.cc.
References protocols::frags::heap_extract(), protocols::frags::heap_init(), protocols::frags::heap_insert(), protocols::frags::SingleResidueTorsionFragmentLibrary::insert_fragment(), core::scoring::omega, protocols::swa::phi(), protocols::swa::psi(), core::io::serialization::size(), and TR().
|
inline |
Definition at line 104 of file VallData.hh.
References omega_.
|
inline |
Definition at line 102 of file VallData.hh.
References phi_.
|
inline |
Definition at line 103 of file VallData.hh.
References psi_.
| void protocols::frags::VallData::read_file | ( | std::string const & | filename) |
read from vall database file "filename"
support both old format and new format, i.e., with "trimmed" in filename
Definition at line 53 of file VallData.cc.
References core::scoring::omega, protocols::swa::phi(), and protocols::swa::psi().
Referenced by VallData().
|
inline |
Definition at line 100 of file VallData.hh.
References secstruct_.
|
inline |
Definition at line 99 of file VallData.hh.
References sequence_.
|
inline |
removes excess storage capacity to minimize memory usage
Definition at line 68 of file VallData.hh.
References omega_, phi_, psi_, secstruct_, and sequence_.
|
inline |
|
private |
Definition at line 129 of file VallData.hh.
Referenced by add_line(), omega(), shrink(), and VallData().
|
private |
Definition at line 127 of file VallData.hh.
Referenced by add_line(), phi(), shrink(), and VallData().
|
private |
Definition at line 128 of file VallData.hh.
Referenced by add_line(), psi(), shrink(), and VallData().
|
private |
Definition at line 125 of file VallData.hh.
Referenced by add_line(), secstruct(), shrink(), and VallData().
|
private |
Definition at line 124 of file VallData.hh.
Referenced by add_line(), sequence(), shrink(), size(), and VallData().
1.8.4