|
Rosetta 3.5
|
The core of the fragment picking machinery. More...
#include <FragmentPicker.hh>


Public Member Functions | |
| FragmentPicker () | |
| FragmentPicker (std::string fragment_score_manager_type) | |
| virtual | ~FragmentPicker () |
| void | parse_command_line () |
| void | keep_all_protocol () |
| Picks fragments and saves them into proper files - independently for each query position. More... | |
| void | bounded_protocol () |
| Picks fragments and saves them into proper files - uses bounded queue. More... | |
| void | quota_protocol () |
| void | fragment_contacts (Size const fragment_size, utility::vector1< Candidates > const &fragment_set) |
| void | nonlocal_pairs_at_positions (utility::vector1< Size > const &positions, Size const &fragment_size, utility::vector1< bool > const &skip, utility::vector1< Candidates > const &fragment_set, utility::vector1< nonlocal::NonlocalPairOP > &pairs) |
| void | nonlocal_pairs (Size const fragment_size, utility::vector1< Candidates > const &fragment_set) |
| scores::FragmentScoreManagerOP | get_score_manager (Size index=1) |
| returns a pointer to a scoring manager More... | |
| void | read_vall (std::string const &fn) |
| reads a vall file More... | |
| void | read_vall (utility::vector1< std::string > const &fns) |
| void | set_vall (VallProviderOP vall_chunks) |
| sets vall data More... | |
| VallProviderOP | get_vall () |
| void | set_query_seq (core::sequence::SequenceProfileOP query_sequence) |
| sets the query sequence More... | |
| void | set_query_seq (std::string &query_sequence) |
| sets the query sequence More... | |
| std::string & | get_query_seq_string () |
| Returns the sequence we are picking fragments for (as a string) More... | |
| core::sequence::SequenceProfileOP | get_query_seq () |
| utility::vector1< Real > & | get_query_sa_prediction () |
| Returns the solvent accessibility prediction. More... | |
| utility::vector1< Real > & | get_query_phi_prediction () |
| Returns the phi prediction. More... | |
| utility::vector1< Real > & | get_query_psi_prediction () |
| Returns the psi prediction. More... | |
| utility::vector1< Real > & | get_query_phi_prediction_conf () |
| Returns the phi prediction confidence. More... | |
| utility::vector1< Real > & | get_query_psi_prediction_conf () |
| Returns the psi prediction confidence. More... | |
| utility::vector1< Real > & | get_query_residue_depth () |
| Returns residue depth values. More... | |
| void | set_query_profile (core::sequence::SequenceProfileOP profile) |
| Sets the sequence object we are picking fragments for. More... | |
| core::fragment::SecondaryStructureOP | get_query_ss (std::string prediction_name) |
| Returns the query secondary structure as a SecondaryStructure object. More... | |
| void | read_ss_files (utility::vector1< std::string > sec_str_input) |
| Reads a bunch of ss predicitons from files and plugs them into the picker. More... | |
| std::string & | get_query_ss_string (std::string prediction_name) |
| Returns the query secondary structure as a string. More... | |
| void | add_query_ss (std::string, std::string) |
| Sets the query secondary structure. More... | |
| Size | count_query_ss () |
| Sets the query secondary structure. More... | |
| void | read_ss_file (std::string const &, std::string) |
| Identifies if the ss file is psipred or talos, calls appropriate reader. More... | |
| void | read_spine_x (std::string const &file_name) |
| Reads spine-x phi, psi, and solvent accessibility predictions. More... | |
| void | read_depth (std::string const &file_name) |
| Reads DEPTH residue depth values. More... | |
| Size | size_of_query () |
| void | set_picked_positions (Size, Size) |
| Asks the picker to pick fragments from a given range in a query sequence. More... | |
| void | set_picked_positions (utility::vector1< Size >) |
| Asks the picker to pick fragments for given positions in a query sequence. More... | |
| void | pick_chunk_candidates (utility::vector1< VallChunkOP > const &chunks, Size const &index) |
| picks fragment candidates. More... | |
| void | pick_candidates () |
| void | pick_candidates (Size i_pos, Size frag_len) |
| double | total_score (scores::FragmentScoreMapOP f, Size index=1) |
| Calculates total score for a given vector of small scores (FragmentScoreMap object pointer) More... | |
| void | save_candidates () |
| void | save_fragments () |
| Size | max_frag_len () |
| How long is the longest fragment? More... | |
| void | show_scoring_methods (std::ostream &out, Size index=1) |
| void | add_scoring_method (scores::FragmentScoringMethodOP scoring_term, Real weight, Size index=1) |
| adds a new scoring method to the scoring scheme More... | |
| utility::vector1 < core::fragment::ConstantLengthFragSetOP > | getFragSet (int residueInPose_) |
| void | read_psipred_ss2 (std::string const &, std::string) |
| Reads query secondary structure prediction from a PsiPred file. More... | |
| void | read_talos_ss (std::string const &, std::string) |
| Reads query secondary structure prediction from a Talos+ file. More... | |
| void | parse_quota_command_line () |
| void | set_up_quota_nnmake_style () |
| void | set_up_ss_abego_quota () |
| bool | is_valid_chunk (VallChunkOP chunk) |
| bool | is_valid_chunk (Size const frag_len, VallChunkOP chunk) |
| void | output_fragments (Size const fragment_size, utility::vector1< Candidates > const &final_fragments) |
| void | set_candidates_collector (Size frag_size, CandidatesCollectorOP sink, Size index=1) |
| sets a collector where fragment candidates will be kept until final selection More... | |
| CandidatesCollectorOP | get_candidates_collector (Size frag_size, Size index=1) |
| returns a pointer to the candidates collector currently used More... | |
| void | add_chunk_filter (VallChunkFilterOP filter) |
| adds a chunk filter that will be used to screen chunks before they are cut into fragments More... | |
Public Attributes | |
| utility::vector1< Size > | frag_sizes_ |
| Size | n_candidates_ |
| Size | n_frags_ |
| std::string | prefix_ |
| FragmentSelectingRuleOP | selector_ |
Static Public Attributes | |
| static QuotaDebug | log_25_ |
| static QuotaDebug | log_200_ |
The core of the fragment picking machinery.
Definition at line 85 of file FragmentPicker.hh.
|
inline |
Definition at line 90 of file FragmentPicker.hh.
References candidates_sinks_, contacts_dist_cutoff_squared_, contacts_min_seq_sep_, max_frag_size_, max_threads_, nonlocal_min_contacts_per_res_, prefix_, and scores_.
|
inline |
Definition at line 102 of file FragmentPicker.hh.
References candidates_sinks_, contacts_dist_cutoff_squared_, contacts_min_seq_sep_, max_frag_size_, max_threads_, nonlocal_min_contacts_per_res_, prefix_, and scores_.
|
virtual |
Definition at line 111 of file FragmentPicker.cc.
|
inline |
adds a chunk filter that will be used to screen chunks before they are cut into fragments
Definition at line 373 of file FragmentPicker.hh.
References filters_.
| void protocols::frag_picker::FragmentPicker::add_query_ss | ( | std::string | query_secondary, |
| std::string | prediction_name | ||
| ) |
Sets the query secondary structure.
Definition at line 1244 of file FragmentPicker.cc.
|
inline |
adds a new scoring method to the scoring scheme
Definition at line 318 of file FragmentPicker.hh.
References scores_.
| void protocols::frag_picker::FragmentPicker::bounded_protocol | ( | ) |
Picks fragments and saves them into proper files - uses bounded queue.
Definition at line 113 of file FragmentPicker.cc.
References protocols::frag_picker::tr().
|
inline |
Sets the query secondary structure.
Definition at line 261 of file FragmentPicker.hh.
References query_ss_profile_.
| void protocols::frag_picker::FragmentPicker::fragment_contacts | ( | Size const | fragment_size, |
| utility::vector1< Candidates > const & | fragment_set | ||
| ) |
Definition at line 216 of file FragmentPicker.cc.
References protocols::frag_picker::CEN, protocols::frag_picker::contact_name(), core::kinematics::tree::distance_squared(), and protocols::forge::methods::replace().
|
inline |
returns a pointer to the candidates collector currently used
one may need this instance to access the candidates that have been found by the picker
Definition at line 365 of file FragmentPicker.hh.
References candidates_sink_, and candidates_sinks_.
|
inline |
Returns the phi prediction.
Definition at line 209 of file FragmentPicker.hh.
References query_phi_prediction_.
|
inline |
Returns the phi prediction confidence.
Definition at line 219 of file FragmentPicker.hh.
References query_phi_prediction_conf_.
|
inline |
Returns the psi prediction.
Definition at line 214 of file FragmentPicker.hh.
References query_psi_prediction_.
|
inline |
Returns the psi prediction confidence.
Definition at line 224 of file FragmentPicker.hh.
References query_psi_prediction_conf_.
|
inline |
Returns residue depth values.
Definition at line 229 of file FragmentPicker.hh.
References query_residue_depth_.
|
inline |
Returns the solvent accessibility prediction.
Definition at line 204 of file FragmentPicker.hh.
References query_sa_prediction_.
|
inline |
Definition at line 199 of file FragmentPicker.hh.
References query_profile_.
|
inline |
Returns the sequence we are picking fragments for (as a string)
Definition at line 195 of file FragmentPicker.hh.
References query_seq_as_string_.
|
inline |
Returns the query secondary structure as a SecondaryStructure object.
Definition at line 242 of file FragmentPicker.hh.
References query_ss_profile_.
|
inline |
Returns the query secondary structure as a string.
Definition at line 253 of file FragmentPicker.hh.
References query_ss_as_string_.
|
inline |
returns a pointer to a scoring manager
Definition at line 155 of file FragmentPicker.hh.
References scores_.
|
inline |
Definition at line 171 of file FragmentPicker.hh.
References chunks_.
| utility::vector1< ConstantLengthFragSetOP > protocols::frag_picker::FragmentPicker::getFragSet | ( | int | residueInPose_) |
Definition at line 1851 of file FragmentPicker.cc.
References core::scoring::omega, protocols::swa::phi(), and protocols::swa::psi().
| bool protocols::frag_picker::FragmentPicker::is_valid_chunk | ( | VallChunkOP | chunk) |
Definition at line 1937 of file FragmentPicker.cc.
References protocols::frag_picker::tr().
| bool protocols::frag_picker::FragmentPicker::is_valid_chunk | ( | Size const | frag_len, |
| VallChunkOP | chunk | ||
| ) |
Definition at line 1949 of file FragmentPicker.cc.
| void protocols::frag_picker::FragmentPicker::keep_all_protocol | ( | ) |
Picks fragments and saves them into proper files - independently for each query position.
Definition at line 157 of file FragmentPicker.cc.
References protocols::frag_picker::tr().
|
inline |
How long is the longest fragment?
Definition at line 309 of file FragmentPicker.hh.
References frag_sizes_.
| void protocols::frag_picker::FragmentPicker::nonlocal_pairs | ( | Size const | fragment_size, |
| utility::vector1< Candidates > const & | fragment_set | ||
| ) |
Definition at line 526 of file FragmentPicker.cc.
References core::pose::add_score_line_string(), core::pack::dunbrack::c, protocols::frag_picker::CEN, protocols::frag_picker::contact_name(), core::io::silent::SilentStructFactory::get_instance(), core::io::silent::SilentStructFactory::get_silent_struct_out(), core::pose::is_ideal_pose(), core::fragment::make_pose_from_frags(), nonlocal_pairs_at_positions(), core::import_pose::pose_from_pdb(), core::sequence::read_aln(), core::scoring::ref, protocols::forge::methods::replace(), core::pose::Pose::residue(), core::pose::setPoseExtraScores(), core::io::serialization::size(), core::pose::Pose::total_residue(), protocols::frag_picker::tr(), and core::conformation::Residue::xyz().
| void protocols::frag_picker::FragmentPicker::nonlocal_pairs_at_positions | ( | utility::vector1< Size > const & | positions, |
| Size const & | fragment_size, | ||
| utility::vector1< bool > const & | skip, | ||
| utility::vector1< Candidates > const & | fragment_set, | ||
| utility::vector1< nonlocal::NonlocalPairOP > & | pairs | ||
| ) |
Definition at line 450 of file FragmentPicker.cc.
References protocols::frag_picker::CEN, and core::scoring::pair.
Referenced by nonlocal_pairs().
| void protocols::frag_picker::FragmentPicker::output_fragments | ( | Size const | fragment_size, |
| utility::vector1< Candidates > const & | final_fragments | ||
| ) |
Definition at line 1955 of file FragmentPicker.cc.
References core::io::serialization::size(), and protocols::frag_picker::tr().
| void protocols::frag_picker::FragmentPicker::parse_command_line | ( | ) |
Definition at line 1374 of file FragmentPicker.cc.
References protocols::frag_picker::CEN, protocols::frag_picker::contact_type(), core::sequence::read_fasta_file(), and protocols::frag_picker::tr().
| void protocols::frag_picker::FragmentPicker::parse_quota_command_line | ( | ) |
Definition at line 1775 of file FragmentPicker.cc.
| void protocols::frag_picker::FragmentPicker::pick_candidates | ( | ) |
Definition at line 1009 of file FragmentPicker.cc.
References pick_chunk_candidates(), core::scoring::ref, core::io::serialization::size(), and protocols::frag_picker::tr().
Definition at line 1345 of file FragmentPicker.cc.
References protocols::frag_picker::tr().
| void protocols::frag_picker::FragmentPicker::pick_chunk_candidates | ( | utility::vector1< VallChunkOP > const & | chunks, |
| Size const & | index | ||
| ) |
picks fragment candidates.
Definition at line 983 of file FragmentPicker.cc.
Referenced by pick_candidates().
| void protocols::frag_picker::FragmentPicker::quota_protocol | ( | ) |
Definition at line 119 of file FragmentPicker.cc.
References core::pack::dunbrack::c, protocols::simple_moves::insert, protocols::frag_picker::quota::QuotaSelector::select_fragments(), and protocols::frag_picker::tr().
| void protocols::frag_picker::FragmentPicker::read_depth | ( | std::string const & | file_name) |
Reads DEPTH residue depth values.
Definition at line 1189 of file FragmentPicker.cc.
| void protocols::frag_picker::FragmentPicker::read_psipred_ss2 | ( | std::string const & | file_name, |
| std::string | prediction_name | ||
| ) |
Reads query secondary structure prediction from a PsiPred file.
Definition at line 1154 of file FragmentPicker.cc.
| void protocols::frag_picker::FragmentPicker::read_spine_x | ( | std::string const & | file_name) |
Reads spine-x phi, psi, and solvent accessibility predictions.
Definition at line 1214 of file FragmentPicker.cc.
References protocols::swa::phi(), and protocols::swa::psi().
| void protocols::frag_picker::FragmentPicker::read_ss_file | ( | std::string const & | file_name, |
| std::string | prediction_name | ||
| ) |
Identifies if the ss file is psipred or talos, calls appropriate reader.
Definition at line 1125 of file FragmentPicker.cc.
References protocols::antibody2::l1, protocols::antibody2::l2, and protocols::antibody2::l3.
| void protocols::frag_picker::FragmentPicker::read_ss_files | ( | utility::vector1< std::string > | sec_str_input) |
Reads a bunch of ss predicitons from files and plugs them into the picker.
Definition at line 1115 of file FragmentPicker.cc.
References protocols::frag_picker::tr().
| void protocols::frag_picker::FragmentPicker::read_talos_ss | ( | std::string const & | file_name, |
| std::string | prediction_name | ||
| ) |
Reads query secondary structure prediction from a Talos+ file.
Definition at line 1169 of file FragmentPicker.cc.
| void protocols::frag_picker::FragmentPicker::read_vall | ( | std::string const & | fn) |
reads a vall file
Definition at line 1789 of file FragmentPicker.cc.
| void protocols::frag_picker::FragmentPicker::read_vall | ( | utility::vector1< std::string > const & | fns) |
Definition at line 1784 of file FragmentPicker.cc.
| void protocols::frag_picker::FragmentPicker::save_candidates | ( | ) |
Definition at line 1304 of file FragmentPicker.cc.
References protocols::simple_moves::insert, and protocols::frag_picker::tr().
| void protocols::frag_picker::FragmentPicker::save_fragments | ( | ) |
Definition at line 1264 of file FragmentPicker.cc.
References protocols::simple_moves::insert, and protocols::frag_picker::tr().
|
inline |
sets a collector where fragment candidates will be kept until final selection
Definition at line 355 of file FragmentPicker.hh.
References candidates_sink_, and candidates_sinks_.
Asks the picker to pick fragments from a given range in a query sequence.
Definition at line 1794 of file FragmentPicker.cc.
Referenced by set_query_profile(), and set_query_seq().
| void protocols::frag_picker::FragmentPicker::set_picked_positions | ( | utility::vector1< Size > | q_positions) |
Asks the picker to pick fragments for given positions in a query sequence.
Definition at line 1800 of file FragmentPicker.cc.
|
inline |
Sets the sequence object we are picking fragments for.
Definition at line 234 of file FragmentPicker.hh.
References query_profile_, query_seq_as_string_, and set_picked_positions().
|
inline |
sets the query sequence
Definition at line 179 of file FragmentPicker.hh.
References query_profile_, query_seq_as_string_, and set_picked_positions().
|
inline |
sets the query sequence
Definition at line 186 of file FragmentPicker.hh.
References query_profile_, query_seq_as_string_, and set_picked_positions().
| void protocols::frag_picker::FragmentPicker::set_up_quota_nnmake_style | ( | ) |
Definition at line 1659 of file FragmentPicker.cc.
References core::io::serialization::size(), and protocols::frag_picker::tr().
| void protocols::frag_picker::FragmentPicker::set_up_ss_abego_quota | ( | ) |
Definition at line 1584 of file FragmentPicker.cc.
References protocols::frag_picker::tr().
|
inline |
|
inline |
Definition at line 312 of file FragmentPicker.hh.
References scores_.
|
inline |
Definition at line 275 of file FragmentPicker.hh.
References query_profile_, and query_seq_as_string_.
| double protocols::frag_picker::FragmentPicker::total_score | ( | scores::FragmentScoreMapOP | f, |
| Size | index = 1 |
||
| ) |
Calculates total score for a given vector of small scores (FragmentScoreMap object pointer)
Definition at line 1103 of file FragmentPicker.cc.
|
private |
Definition at line 426 of file FragmentPicker.hh.
|
private |
Definition at line 396 of file FragmentPicker.hh.
Referenced by get_candidates_collector(), and set_candidates_collector().
|
private |
Definition at line 399 of file FragmentPicker.hh.
Referenced by FragmentPicker(), get_candidates_collector(), and set_candidates_collector().
|
private |
Definition at line 393 of file FragmentPicker.hh.
Referenced by get_vall(), and set_vall().
|
private |
Definition at line 407 of file FragmentPicker.hh.
|
private |
Definition at line 408 of file FragmentPicker.hh.
Referenced by FragmentPicker().
|
private |
Definition at line 409 of file FragmentPicker.hh.
|
private |
Definition at line 406 of file FragmentPicker.hh.
Referenced by FragmentPicker().
|
private |
Definition at line 394 of file FragmentPicker.hh.
Referenced by add_chunk_filter().
| utility::vector1<Size> protocols::frag_picker::FragmentPicker::frag_sizes_ |
Definition at line 335 of file FragmentPicker.hh.
Referenced by max_frag_len().
|
static |
Definition at line 338 of file FragmentPicker.hh.
Referenced by protocols::frag_picker::quota::QuotaSelector::select_fragments_25_200().
|
static |
Definition at line 337 of file FragmentPicker.hh.
Referenced by protocols::frag_picker::quota::QuotaSelector::select_fragments_25_200().
|
private |
Definition at line 385 of file FragmentPicker.hh.
Referenced by FragmentPicker().
|
private |
Definition at line 383 of file FragmentPicker.hh.
Referenced by FragmentPicker().
| Size protocols::frag_picker::FragmentPicker::n_candidates_ |
Definition at line 377 of file FragmentPicker.hh.
| Size protocols::frag_picker::FragmentPicker::n_frags_ |
Definition at line 378 of file FragmentPicker.hh.
|
private |
Definition at line 413 of file FragmentPicker.hh.
Referenced by FragmentPicker().
| std::string protocols::frag_picker::FragmentPicker::prefix_ |
Definition at line 379 of file FragmentPicker.hh.
Referenced by FragmentPicker().
|
private |
Definition at line 417 of file FragmentPicker.hh.
Referenced by get_query_phi_prediction().
|
private |
Definition at line 419 of file FragmentPicker.hh.
Referenced by get_query_phi_prediction_conf().
|
private |
Definition at line 391 of file FragmentPicker.hh.
|
private |
Definition at line 387 of file FragmentPicker.hh.
Referenced by get_query_seq(), set_query_profile(), set_query_seq(), and size_of_query().
|
private |
Definition at line 418 of file FragmentPicker.hh.
Referenced by get_query_psi_prediction().
|
private |
Definition at line 420 of file FragmentPicker.hh.
Referenced by get_query_psi_prediction_conf().
|
private |
Definition at line 423 of file FragmentPicker.hh.
Referenced by get_query_residue_depth().
|
private |
Definition at line 416 of file FragmentPicker.hh.
Referenced by get_query_sa_prediction().
|
private |
Definition at line 388 of file FragmentPicker.hh.
Referenced by get_query_seq_string(), set_query_profile(), set_query_seq(), and size_of_query().
|
private |
Definition at line 390 of file FragmentPicker.hh.
Referenced by get_query_ss_string().
|
private |
Definition at line 389 of file FragmentPicker.hh.
Referenced by count_query_ss(), and get_query_ss().
|
private |
Definition at line 402 of file FragmentPicker.hh.
Referenced by add_scoring_method(), FragmentPicker(), get_score_manager(), and show_scoring_methods().
| FragmentSelectingRuleOP protocols::frag_picker::FragmentPicker::selector_ |
Definition at line 380 of file FragmentPicker.hh.
|
private |
Definition at line 410 of file FragmentPicker.hh.
1.8.4