OpenStructure
|
#include <profile_handle.hh>
Public Member Functions | |
ProfileHandle () | |
const std::vector< ProfileColumn > & | GetColumns () const |
const ProfileColumn & | GetNullModel () const |
void | SetNullModel (const ProfileColumn &null_model) |
String | GetSequence () const |
void | SetSequence (const String &seq) |
Real | GetNeff () const |
void | SetNeff (Real neff) |
ProfileHandlePtr | Extract (uint from, uint to) const |
Real | GetAverageEntropy () const |
Real | GetAverageScore (const ProfileHandle &other, uint offset=0) const |
void | AddColumn (const ProfileColumn &c, char olc='X') |
void | clear () |
size_t | size () const |
bool | empty () const |
ProfileColumn & | operator[] (size_t index) |
const ProfileColumn & | operator[] (size_t index) const |
ProfileColumn & | at (size_t index) |
const ProfileColumn & | at (size_t index) const |
ProfileColumn & | back () |
const ProfileColumn & | back () const |
bool | operator== (const ProfileHandle &other) const |
bool | operator!= (const ProfileHandle &other) const |
ProfileColumnList::iterator | columns_begin () |
ProfileColumnList::iterator | columns_end () |
ProfileColumnList::const_iterator | columns_begin () const |
ProfileColumnList::const_iterator | columns_end () const |
Friends | |
std::ofstream & | operator<< (std::ofstream &os, ProfileHandle &prof) |
std::ifstream & | operator>> (std::ifstream &is, ProfileHandle &prof) |
Provides a profile for a sequence.
Properties:
Definition at line 291 of file profile_handle.hh.
|
inline |
Constructs an empty profile handle (sequence = '', 0 columns).
Definition at line 294 of file profile_handle.hh.
|
inline |
Definition at line 334 of file profile_handle.hh.
|
inline |
Definition at line 351 of file profile_handle.hh.
|
inline |
Definition at line 353 of file profile_handle.hh.
|
inline |
Definition at line 355 of file profile_handle.hh.
|
inline |
Definition at line 357 of file profile_handle.hh.
|
inline |
Definition at line 341 of file profile_handle.hh.
|
inline |
Definition at line 369 of file profile_handle.hh.
|
inline |
Definition at line 371 of file profile_handle.hh.
|
inline |
Definition at line 370 of file profile_handle.hh.
|
inline |
Definition at line 374 of file profile_handle.hh.
|
inline |
Definition at line 345 of file profile_handle.hh.
ProfileHandlePtr Extract | ( | uint | from, |
uint | to | ||
) | const |
Real GetAverageEntropy | ( | ) | const |
Compute average entropy over all columns.
Real GetAverageScore | ( | const ProfileHandle & | other, |
uint | offset = 0 |
||
) | const |
Compute score comparing columns other[i] and this->at(i+offset) Column score as in Soeding-2005, null model of this object used, result normalized by other.size()
|
inline |
Definition at line 298 of file profile_handle.hh.
|
inline |
Definition at line 316 of file profile_handle.hh.
|
inline |
Definition at line 300 of file profile_handle.hh.
|
inline |
Definition at line 306 of file profile_handle.hh.
|
inline |
Definition at line 365 of file profile_handle.hh.
|
inline |
Definition at line 359 of file profile_handle.hh.
|
inline |
Definition at line 347 of file profile_handle.hh.
|
inline |
Definition at line 349 of file profile_handle.hh.
|
inline |
Definition at line 318 of file profile_handle.hh.
|
inline |
Definition at line 302 of file profile_handle.hh.
|
inline |
Definition at line 308 of file profile_handle.hh.
|
inline |
Definition at line 343 of file profile_handle.hh.
|
friend |
Definition at line 381 of file profile_handle.hh.
|
friend |
Definition at line 401 of file profile_handle.hh.