Rosetta
|
Vector candidate says which X-mer from vall fits to a query sequence. More...
#include <FragmentCandidate.hh>
Public Member Functions | |
FragmentCandidate (core::Size queryPosition, core::Size inChunkPosition, VallChunkOP chunk, core::Size fragmentLength) | |
~FragmentCandidate () override | |
VallChunkOP | get_chunk () const |
returns a pointer to the original chunk from vall the fragment comes from More... | |
VallResidueOP | get_residue (core::Size whichOne) const |
returns a given residue from this fragment More... | |
std::string | sequence () |
creates a new string object that contains a sequence of this fragment More... | |
core::Size | key () const |
returns an integer key identifying a fragment More... | |
std::string | get_pdb_id () const |
returns a PDB id of a protein from which the fragment has been extracted More... | |
char | get_chain_id () const |
returns a chain id of a protein from which the fragment has been extracted More... | |
core::Size | get_first_index_in_query () const |
returns the index of a very first residue in a query sequence that is covered by this fragment More... | |
core::Size | get_first_index_in_vall () const |
returns the index of a very first residue in a Vall chunk that is covered by this fragment More... | |
core::Size | get_vall_middle_res_id () |
returns a vall index of a middle residue in this fragment More... | |
core::Size | get_query_middle_res_id () |
returns a query index of a middle residue in this fragment More... | |
VallResidueOP | get_middle_residue () const |
returns the middle residue of this fragment candidate More... | |
char | get_middle_ss () const |
returns secondary structure assigned to the middle residue of this fragment candidate More... | |
core::Size | get_length () const |
returns the length of this fragment More... | |
core::fragment::FragDataOP | get_frag_data () |
void | print_fragment_index (std::ostream &out, bool vall_index_database_exists) |
void | print_fragment (std::ostream &out, scores::FragmentScoreMapOP sc=nullptr, scores::FragmentScoreManagerOP ms=nullptr) |
Prints fragment data, the output can be directly loaded to minirosetta. More... | |
void | print_fragment_seq (std::ostream &out) |
Prints fragment sequence, used for generating structure based sequence profiles. More... | |
void | output_silent (core::io::silent::SilentFileData &sfd, std::string const &sequence, std::string const &silent_file_name, std::string const &tag, scores::FragmentScoreMapOP sc, scores::FragmentScoreManagerOP ms) |
Prints fragment to silent struct. More... | |
void | set_pool_name (std::string const &pool_name) |
std::string | get_pool_name () |
bool | same_chain (FragmentCandidateCOP fr) |
Protected Attributes | |
VallChunkOP | chunk_ |
core::Size | vallResidueIndex_ |
core::Size | queryResidueIndex_ |
core::Size | fragmentLength_ |
Private Attributes | |
std::string * | pool_name_ |
Static Private Attributes | |
static const std::string | unknown_pool_name_ = "UNKNOWN_POOL_NAME" |
Vector candidate says which X-mer from vall fits to a query sequence.
Scores for a given fragment are stored separately in a FragmentScoreMap object Therefore fragment containers hold std::pair<FragmentCandidateOP,FragmentScoreMapOP>
|
inline |
References fragmentLength_, pool_name_, queryResidueIndex_, and vallResidueIndex_.
|
inlineoverride |
References pool_name_.
|
inline |
returns a chain id of a protein from which the fragment has been extracted
References chunk_.
|
inline |
returns a pointer to the original chunk from vall the fragment comes from
References chunk_.
|
inline |
returns the index of a very first residue in a query sequence that is covered by this fragment
References queryResidueIndex_.
Referenced by protocols::frag_picker::operator<<().
|
inline |
returns the index of a very first residue in a Vall chunk that is covered by this fragment
References vallResidueIndex_.
Referenced by protocols::frag_picker::operator<<().
|
inline |
References chunk_, fragmentLength_, get_pdb_id(), queryResidueIndex_, and vallResidueIndex_.
|
inline |
returns the length of this fragment
References fragmentLength_.
|
inline |
returns the middle residue of this fragment candidate
References fragmentLength_, and get_residue().
|
inline |
returns secondary structure assigned to the middle residue of this fragment candidate
References fragmentLength_, and get_residue().
|
inline |
returns a PDB id of a protein from which the fragment has been extracted
References chunk_.
Referenced by get_frag_data(), and protocols::frag_picker::operator<<().
|
inline |
References pool_name_, and unknown_pool_name_.
|
inline |
returns a query index of a middle residue in this fragment
References fragmentLength_, and queryResidueIndex_.
|
inline |
returns a given residue from this fragment
the irgument is in the range [1,fragmentLength]
References chunk_, fragmentLength_, and vallResidueIndex_.
Referenced by get_middle_residue(), and get_middle_ss().
|
inline |
returns a vall index of a middle residue in this fragment
References fragmentLength_, and vallResidueIndex_.
|
inline |
returns an integer key identifying a fragment
References chunk_, and vallResidueIndex_.
void protocols::frag_picker::FragmentCandidate::output_silent | ( | core::io::silent::SilentFileData & | sfd, |
std::string const & | sequence, | ||
std::string const & | silent_file_name, | ||
std::string const & | tag, | ||
scores::FragmentScoreMapOP | sc, | ||
scores::FragmentScoreManagerOP | ms | ||
) |
Prints fragment to silent struct.
References core::pose::add_score_line_string(), protocols::minimization_packing::PackRotamersMover::apply(), core::scoring::CA_rmsd(), core::pack::task::TaskFactory::create_packer_task(), core::chemical::FULL_ATOM_t, protocols::relax::generate_relax_from_cmd(), core::pose::full_model_info::get_residue(), core::scoring::get_score_function(), core::fragment::make_pose_from_frags(), protocols::relax::relax_pose(), core::optimization::AtomTreeMinimizer::run(), core::pose::setPoseExtraScore(), core::util::switch_to_residue_type_set(), and core::io::silent::SilentFileData::write_silent_struct().
void protocols::frag_picker::FragmentCandidate::print_fragment | ( | std::ostream & | out, |
scores::FragmentScoreMapOP | sc = nullptr , |
||
scores::FragmentScoreManagerOP | ms = nullptr |
||
) |
Prints fragment data, the output can be directly loaded to minirosetta.
References core::chemical::element::F, core::pose::full_model_info::get_residue(), core::chemical::element::I, and core::conformation::membrane::out.
void protocols::frag_picker::FragmentCandidate::print_fragment_index | ( | std::ostream & | out, |
bool | vall_index_database_exists | ||
) |
void protocols::frag_picker::FragmentCandidate::print_fragment_seq | ( | std::ostream & | out | ) |
Prints fragment sequence, used for generating structure based sequence profiles.
Prints fragment data, the output can be directly loaded to minirosetta.
References core::pose::full_model_info::get_residue(), core::chemical::element::I, core::conformation::membrane::out, and protocols::hybridization::r1.
bool protocols::frag_picker::FragmentCandidate::same_chain | ( | FragmentCandidateCOP | fr | ) |
|
inline |
creates a new string object that contains a sequence of this fragment
References chunk_, fragmentLength_, and vallResidueIndex_.
|
inline |
References pool_name_.
|
protected |
Referenced by get_chain_id(), get_chunk(), get_frag_data(), get_pdb_id(), get_residue(), key(), and sequence().
|
protected |
|
private |
Referenced by FragmentCandidate(), get_pool_name(), set_pool_name(), and ~FragmentCandidate().
|
protected |
Referenced by FragmentCandidate(), get_first_index_in_query(), get_frag_data(), and get_query_middle_res_id().
|
staticprivate |
Referenced by get_pool_name().
|
protected |
Referenced by FragmentCandidate(), get_first_index_in_vall(), get_frag_data(), get_residue(), get_vall_middle_res_id(), key(), and sequence().