![]() |
Rosetta
2021.16
|
Logic for selection of abego values. More...
#include <IdealAbegoGenerator.hh>

Public Types | |
| typedef Segment | Motif |
| typedef SegmentOP | MotifOP |
| typedef utility::vector1< MotifOP > | MotifOPs |
| typedef std::set< core::Size > | LengthSet |
| typedef std::string | Abego |
| typedef utility::vector1 < std::string > | Abegos |
| typedef std::map< std::string, Abegos > | SecstructAbegoMap |
Public Member Functions | |
| IdealAbegoGenerator (std::string const &id_val) | |
| ~IdealAbegoGenerator () override | |
| IdealAbegoGeneratorOP | clone () const |
| MotifOPs | generate (char abego1, char abego2, LengthSet const &lenset, LengthSet const &cutpoint_set) const |
| Given desired lengths, compute a set of idealized loop motifs via Nobu/Rie/YuRu rules. More... | |
| bool | extend_ss (char const secstruct) const |
| Returns true if the given SS type should be extended or not. More... | |
| void | set_extend_ss (std::string const &extend_ss) |
| if true, secondary structure may be extended to close the loop. Overall size of the insert will not change. Therefore, a 4 residue loop might extend a helix by 2 residues and have a 2-residue ideal loop if extend_ss is true. If extend_ss is false, a 4 residue loop must have four loop residues. More... | |
| void | set_hh_rules_2021 (bool const use_hh_rules) |
| if true, the connection rules from https://doi.org/10.1101/2021.03.10.434454 will be used.. If false, all possible abego combinations will be sampled More... | |
| Abegos | retrieve_loop_abegos (char const abego1, char const abego2) const |
Private Member Functions | |
| MotifOPs | add_cutpoints (MotifOPs const &orig, LengthSet const &cutpoint_set) const |
| takes a list of motifs without cutpoints and generates all permutations with cutpoints from cutpoint_set More... | |
| MotifOPs | extract_ideal_motifs (Abegos const &abegolist, LengthSet const &lenset) const |
| void | note_fwd_element_extensions (Motif &motif, char const sschar, char const element_abego) const |
| void | note_rev_element_extensions (Motif &motif, char const sschar, char const element_abego) const |
| IdealAbegoGenerator () | |
Static Private Member Functions | |
| static Abegos | generate_extended_abegos (Abegos const &no_extension_loops, char const abego_n, char const abego_c) |
Private Attributes | |
| std::string | segment_name_ |
| std::string | extend_ss_ = "1" |
| bool | match_ss_to_abego_ = false |
| bool | use_hh_rules_2021_ = true |
| SecstructAbegoMap | extended_abegos_ |
Static Private Attributes | |
| static Abegos const | ab_no_extension = { "GB", "GBA", "BAA", "GBB", "GBAB", "BAAB" } |
| static Abegos const | ba_no_extension = { "AB", "GBB", "BAB" } |
| static Abegos const | bb_no_extension = { "GG", "EA", "AA", "AAG" } |
| static Abegos const | aa_no_extension |
| static Abegos const | aa_no_extension_all |
| static std::map< char, core::Size > const | extension_lengths |
Logic for selection of abego values.
| typedef std::string protocols::denovo_design::components::IdealAbegoGenerator::Abego |
| typedef utility::vector1< std::string > protocols::denovo_design::components::IdealAbegoGenerator::Abegos |
| typedef std::set< core::Size > protocols::denovo_design::components::IdealAbegoGenerator::LengthSet |
| typedef utility::vector1< MotifOP > protocols::denovo_design::components::IdealAbegoGenerator::MotifOPs |
| typedef std::map< std::string, Abegos > protocols::denovo_design::components::IdealAbegoGenerator::SecstructAbegoMap |
| protocols::denovo_design::components::IdealAbegoGenerator::IdealAbegoGenerator | ( | std::string const & | id_val | ) |
|
overridedefault |
|
inlineprivate |
|
private |
takes a list of motifs without cutpoints and generates all permutations with cutpoints from cutpoint_set
| [in] | orig | List of motifs without cutpoints |
| [in] | cutpoint_set | Set of loop-relative indices of cutpoint residues |
References core::pack::dunbrack::c.
Referenced by generate().
| IdealAbegoGeneratorOP protocols::denovo_design::components::IdealAbegoGenerator::clone | ( | ) | const |
| bool protocols::denovo_design::components::IdealAbegoGenerator::extend_ss | ( | char const | secstruct | ) | const |
Returns true if the given SS type should be extended or not.
References extend_ss_.
Referenced by retrieve_loop_abegos(), and set_extend_ss().
|
private |
References core::scoring::abego, protocols::denovo_design::abego_str(), and segment_name_.
Referenced by generate().
| IdealAbegoGenerator::MotifOPs protocols::denovo_design::components::IdealAbegoGenerator::generate | ( | char | abego1, |
| char | abego2, | ||
| LengthSet const & | lenset, | ||
| LengthSet const & | cutpoint_set | ||
| ) | const |
Given desired lengths, compute a set of idealized loop motifs via Nobu/Rie/YuRu rules.
Given lengths and abegos to connect, generate a list of motifs.
| [in] | abego1 | Abego of residue immediately before the loop |
| [in] | abego2 | Abego of residue immediately after the loop |
| [in] | lenset | Set of allowed loop lengths |
| [in] | cutpoint_set | Set of allowed cutpoint residues. A value of N indicates the Nth residue of the loop is a LOWER_CUTPOINT and the (N+1)th residue is an UPPER_CUTPOINT |
If extend_ss is true, "extension" of SS elements by adding residues of the same abego type is allowed. For example, connecting A–>A, you might get a 4-residue loop of type A-ABGA-A. If false, only different abegos are allowed, and you might get a 4-residue loop of type A-BGAB-A
| [in] | abego1 | Abego of residue immediately before the loop |
| [in] | abego2 | Abego of residue immediately after the loop |
| [in] | lenset | Set of allowed loop lengths |
| [in] | abego1 | Abego of residue immediately before the loop |
| [in] | abego2 | Abego of residue immediately after the loop |
| [in] | lenset | Set of allowed loop lengths |
| [in] | cutpoint_set | Set of allowed cutpoint residues. A value of N indicates the Nth residue of the loop is a LOWER_CUTPOINT and the (N+1)th residue is an UPPER_CUTPOINT |
If extend_ss is true, "extension" of SS elements by adding residues of the same abego type is allowed. For example, connecting A–>A, you might get a 4-residue loop of type A-ABGA-A. If false, only different abegos are allowed, and you might get a 4-residue loop of type A-BGAB-A
References core::scoring::abego, add_cutpoints(), extract_ideal_motifs(), protocols::denovo_design::components::get_secstruct_from_abego(), match_ss_to_abego_, note_fwd_element_extensions(), note_rev_element_extensions(), retrieve_loop_abegos(), protocols::TR(), and use_hh_rules_2021_.
|
staticprivate |
References extension_lengths.
Referenced by IdealAbegoGenerator().
|
private |
|
private |
| IdealAbegoGenerator::Abegos protocols::denovo_design::components::IdealAbegoGenerator::retrieve_loop_abegos | ( | char const | abego1, |
| char const | abego2 | ||
| ) | const |
References extend_ss(), extended_abegos_, and protocols::TR().
Referenced by generate().
| void protocols::denovo_design::components::IdealAbegoGenerator::set_extend_ss | ( | std::string const & | extend_ss | ) |
if true, secondary structure may be extended to close the loop. Overall size of the insert will not change. Therefore, a 4 residue loop might extend a helix by 2 residues and have a 2-residue ideal loop if extend_ss is true. If extend_ss is false, a 4 residue loop must have four loop residues.
References extend_ss(), and extend_ss_.
|
inline |
if true, the connection rules from https://doi.org/10.1101/2021.03.10.434454 will be used.. If false, all possible abego combinations will be sampled
References use_hh_rules_2021_.
|
staticprivate |
Referenced by IdealAbegoGenerator().
|
staticprivate |
Referenced by IdealAbegoGenerator().
|
staticprivate |
Referenced by IdealAbegoGenerator().
|
staticprivate |
Referenced by IdealAbegoGenerator().
|
staticprivate |
Referenced by IdealAbegoGenerator().
|
private |
Referenced by extend_ss(), and set_extend_ss().
|
private |
Referenced by IdealAbegoGenerator(), and retrieve_loop_abegos().
|
staticprivate |
Referenced by generate_extended_abegos().
|
private |
Referenced by generate().
|
private |
Referenced by extract_ideal_motifs().
|
private |
Referenced by generate(), and set_hh_rules_2021().
1.8.7