![]() |
Rosetta Protocols
2014.16.56682
|
a vector of vall chunks More...
#include <VallProvider.hh>
Public Member Functions | |
| VallProvider () | |
| virtual | ~VallProvider () |
| Size | vallChunksFromLibrary (std::string const &filename, Size startline=1, Size endline=0) |
| Vall reader THe defaults should ensure that the file is fully read if startline and endline ar not specified. endline = 0 means read to the end. More... | |
| Size | vallChunksFromLibraries (utility::vector1< std::string > const &fns) |
| Size | vallNumLines (std::string const &filename) |
| Runs through the Vall and stores number of lines. More... | |
| Size | size () |
| says how many chunks do we have More... | |
| VallChunkOP | at (Size index) |
| returns a certain chunk (starts from 1) More... | |
| void | push_back (VallChunkOP what) |
| adds a new chunk to this provider More... | |
| Size | get_largest_chunk_size () |
| says what is the length of the largest chunk known to this provider More... | |
| VallChunkOP | find_chunk (std::string, char, Size) |
| tries to find a chunk defined by PDB id, chain id and a residue sequence id More... | |
| core::sequence::SequenceProfileOP | cache_profile (VallChunkOP source_chunk) |
| cache a sequence profile for a given chunk More... | |
| core::pose::PoseOP | cache_pose (VallChunkOP source_chunk) |
| cache a pose for a given chunk More... | |
a vector of vall chunks
|
inline |
References cached_pose_id_, cached_profile_id_, and largest_chunk_size_.
|
virtual |
|
inline |
returns a certain chunk (starts from 1)
References chunks_.
Referenced by protocols::loophash::LoopHashLibrary::create_db().
| core::pose::PoseOP protocols::frag_picker::VallProvider::cache_pose | ( | VallChunkOP | source_chunk | ) |
cache a pose for a given chunk
References protocols::frag_picker::VallChunk::at(), protocols::frag_picker::VallChunk::chunk_key(), key, protocols::frag_picker::VallChunk::size(), and protocols::frag_picker::TR.
| core::sequence::SequenceProfileOP protocols::frag_picker::VallProvider::cache_profile | ( | VallChunkOP | source_chunk | ) |
cache a sequence profile for a given chunk
References protocols::frag_picker::VallChunk::at(), protocols::frag_picker::VallChunk::chunk_key(), protocols::frag_picker::VallChunk::get_sequence(), key, protocols::frag_picker::VallChunk::size(), and protocols::frag_picker::TR.
| VallChunkOP protocols::frag_picker::VallProvider::find_chunk | ( | std::string | pdb_id, |
| char | chain_id, | ||
| Size | residue_id | ||
| ) |
tries to find a chunk defined by PDB id, chain id and a residue sequence id
References protocols::frag_picker::VallChunk::at(), c, protocols::frag_picker::VallChunk::get_chain_id(), protocols::frag_picker::VallChunk::get_pdb_id(), j, protocols::frag_picker::VallChunk::size(), and protocols::frag_picker::TR.
|
inline |
says what is the length of the largest chunk known to this provider
References largest_chunk_size_.
|
inline |
adds a new chunk to this provider
References chunks_.
|
inline |
says how many chunks do we have
References chunks_.
Referenced by protocols::loophash::LoopHashLibrary::create_db().
| Size protocols::frag_picker::VallProvider::vallChunksFromLibraries | ( | utility::vector1< std::string > const & | fns | ) |
References end.
| Size protocols::frag_picker::VallProvider::vallChunksFromLibrary | ( | std::string const & | filename, |
| core::Size | startline = 1, |
||
| core::Size | endline = 0 |
||
| ) |
Vall reader THe defaults should ensure that the file is fully read if startline and endline ar not specified. endline = 0 means read to the end.
References protocols::frag_picker::VallChunk::at(), core::chemical::ChemicalManager::get_instance(), protocols::frag_picker::VallChunk::get_pdb_id(), getline(), key, core::pose::make_pose_from_sequence(), protocols::frag_picker::VallChunk::push_back(), residue_type_set, size(), protocols::frag_picker::VallChunk::size(), t, protocols::frag_picker::TR, and utility_exit_with_message.
Referenced by protocols::loophash::LoopHashLibrary::create_db().
| Size protocols::frag_picker::VallProvider::vallNumLines | ( | std::string const & | filename | ) |
Runs through the Vall and stores number of lines.
References getline(), and utility_exit_with_message.
Referenced by protocols::loophash::LoopHashLibrary::create_db().
|
private |
|
private |
Referenced by VallProvider().
|
private |
|
private |
Referenced by VallProvider().
|
private |
Referenced by at(), push_back(), and size().
|
private |
Referenced by get_largest_chunk_size(), and VallProvider().
|
private |
1.8.7