Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StrandBundleFeatures.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 // :notabs=false:tabSize=4:indentsize=4:
4 //
5 // (c) copyright rosetta commons member institutions.
6 // (c) this file is part of the rosetta software suite and is made available under license.
7 // (c) the rosetta software is developed by the contributing members of the rosetta commons.
8 // (c) for more information, see http://www.rosettacommons.org. questions about this can be
9 // (c) addressed to university of washington uw techtransfer, email: license@u.washington.edu.
10 
11 /// @file strandBundleFeatures.hh
12 /// @brief
13 /// @author Doo Nam Kim (started with Tim Jacobs' code)
14 
15 #ifndef INCLUDED_protocols_features_strand_assembly_StrandBundleFeatures_hh
16 #define INCLUDED_protocols_features_strand_assembly_StrandBundleFeatures_hh
17 
18 //Unit
20 
21 //External
22 #include <boost/uuid/uuid.hpp>
23 
24 //Protocols
26 
27 //Devel
29 
30 //Utility
31 #include <utility/vector1.hh>
32 
33 // for string return
34 #include <string>
35 
36 namespace protocols {
37 namespace features {
38 namespace strand_assembly {
39 
41 
42 public:
43 
45 
46  void init_from_options();
47 
48  virtual
50  type_name() const {
51  return "StrandBundleFeatures";
52  }
53 
54  ///@brief generate the table schemas and write them to the database
55  virtual void
56  write_schema_to_db(utility::sql_database::sessionOP db_session) const;
57 
58  ///@brief return the set of features reporters that are required to
59  ///also already be extracted by the time this one is used.
62 
63  ///@brief collect all the feature data for the pose
64  virtual
67  core::pose::Pose const & pose,
68  utility::vector1<bool> const & relevant_residues,
69  boost::uuids::uuid struct_id,
70  utility::sql_database::sessionOP db_session
71  );
72 
73  utility::vector1<StrandFragment> get_full_strands(boost::uuids::uuid struct_id, utility::sql_database::sessionOP db_session);
74  utility::vector1<StrandFragment> get_i_strand_from_full_strand_pairs(boost::uuids::uuid struct_id, utility::sql_database::sessionOP db_session);
75  utility::vector1<StrandFragment> get_j_strand_from_full_strand_pairs(boost::uuids::uuid struct_id, utility::sql_database::sessionOP db_session);
76 
77  bool find_antiparallel (core::pose::Pose const & pose, StrandFragment strand_i, StrandFragment strand_j);
78  bool find_parallel (core::pose::Pose const & pose, StrandFragment strand_i, StrandFragment strand_j);
79 
82 
83  core::Real sheet_torsion (core::pose::Pose const & pose, StrandFragment strand_i, StrandFragment strand_j);
85  core::Real shortest_dis_sidechain (core::Real val_shortest_dis_sidechain_1,
86  core::Real val_shortest_dis_sidechain_2,
87  core::Real val_shortest_dis_sidechain_3,
88  core::Real val_shortest_dis_sidechain_4);
89 
90  core::Real shortest_dis_pairs (core::Real return_of_check_sheet_dis_antiparallel_1,
91  core::Real return_of_check_sheet_dis_antiparallel_2,
92  core::Real return_of_check_sheet_dis_antiparallel_3,
93  core::Real return_of_check_sheet_dis_antiparallel_4);
94 private:
95 
104 };
105 
106 } //namespace strand_assembly
107 } //namespace features
108 } //namespace protocols
109 
110 #endif