Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StepWiseRNA_BaseCentroidScreener.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 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file SWA_ResidueSampler.hh
11 /// @brief
12 /// @detailed
13 ///
14 /// @author Rhiju Das
15 /// @author Parin Sripakdeevong
16 
17 
18 #ifndef INCLUDED_protocols_swa_rna_StepWiseRNA_BaseCentroidScreener_HH
19 #define INCLUDED_protocols_swa_rna_StepWiseRNA_BaseCentroidScreener_HH
20 
21 #include <core/types.hh>
23 #include <core/pose/Pose.fwd.hh>
27 #include <utility/vector1.hh>
28 #include <utility/pointer/ReferenceCount.hh>
29 #include <ObjexxFCL/FArray1D.hh> /* for some reason, can't get away with just .fwd.hh */
30 #include <ObjexxFCL/FArray2D.hh> /* for some reason, can't get away with just .fwd.hh */
31 
32 
33 #include <string>
34 #include <map>
35 
36 namespace protocols {
37 namespace swa {
38 namespace rna {
39 
41  public:
42 
43  // Constructor
45 
47 
48  bool
50 
51  // Undefined, commenting out to fix PyRosetta build
52  // bool non_adjacent_and_stack_base(core::pose::Pose const & pose, Size const & pos1, Size const & pos2, bool const verbose = false );
53 
54  bool
55  Update_base_stub_list_and_Check_that_terminal_res_are_unstacked( core::pose::Pose const & pose, bool const reinitialize = false );
56 
57  bool
58  Check_that_terminal_res_are_unstacked( bool const verbose = false );
59 
60  // Undefined, commenting out to fix PyRosetta build utility::vector1< core::Size > const & moving_residues() const;
61 
62  private:
63 
64  void
65  Initialize_is_virtual_base( core::pose::Pose const & pose, bool const verbose = false );
66 
67  void
68  Initialize_base_stub_list( core::pose::Pose const & pose, bool const verbose = false );
69 
70  void
72 
73  bool
74  check_stack_base( core::kinematics::Stub const & rebuild_residue_base_stub, core::kinematics::Stub const & base_stub, bool const verbose = false ) const;
75 
76  bool
77  check_stack_base( Size const & pos1, Size const & pos2, bool const verbose = false );
78 
79  bool
80  check_base_pairing( core::kinematics::Stub const & rebuild_residue_base_stub, core::kinematics::Stub const & base_stub ) const;
81 
82  bool
83  Check_centroid_interaction(SillyCountStruct & count_data) const;
84 
85  void
87 
88 
89  private:
90 
93 
106 
110 
112  ObjexxFCL::FArray1D< bool > is_terminal_res_;
113  ObjexxFCL::FArray1D< bool > is_fixed_res_;
114  ObjexxFCL::FArray1D< bool > is_moving_res_;
115  ObjexxFCL::FArray1D< bool > is_virtual_base_; //Parin Mar 6
116  ObjexxFCL::FArray2D< bool > stacked_on_terminal_res_in_original_pose_;
117  };
118 
119 }
120 } //swa
121 } // protocols
122 
123 #endif
124