Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StepWiseProteinPoseSetup.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_PoseSetup.hh
11 /// @brief
12 /// @detailed
13 ///
14 /// @author Rhiju Das
15 
16 
17 #ifndef INCLUDED_protocols_swa_protein_StepWiseProteinPoseSetup_HH
18 #define INCLUDED_protocols_swa_protein_StepWiseProteinPoseSetup_HH
19 
20 #include <core/pose/Pose.fwd.hh>
21 #include <core/types.hh>
24 #include <protocols/moves/Mover.hh>
25 #include <utility/vector1.hh>
26 
27 #include <ObjexxFCL/FArray1D.hh>
28 
29 #include <string>
30 #include <map>
31 
32 namespace protocols {
33 namespace swa {
34 namespace protein {
35 
36  typedef std::map< std::string, core::pose::PoseOP > PoseList;
37 
38  /////////////////////////////////////////////////////////////////////////////////////////////////
39  /////////////////////////////////////////////////////////////////////////////////////////////////
41  public:
42 
43  //constructor!
44  StepWiseProteinPoseSetup( std::string const & desired_sequence,
45  utility::vector1< std::string > const & start_tags,
46  utility::vector1< std::string > const & silent_files_in );
47 
48 
49  //destructor -- necessary?
51 
52  /// @brief Apply the minimizer to one pose
53  virtual void apply( core::pose::Pose & pose_to_visualize );
54 
55  virtual std::string get_name() const;
56 
57 
59 
60  void
61  set_n_terminus( bool const setting ){ n_terminus_ = setting; }
62 
63  void
64  set_c_terminus( bool const setting ){ c_terminus_ = setting; }
65 
66  void
67  set_sample_junction( bool const setting ){ sample_junction_ = setting; }
68 
69  void
70  set_add_peptide_plane( bool const & setting );
71 
72  // void
73  // set_rsd_set( core::chemical::ResidueTypeSetCAP rsd_set );
74 
75  private:
76 
77 
78  void
79  match_specific_variants( core::pose::Pose const & pose, core::Size const & pose_res,
80  core::pose::Pose & scratch_pose, core::Size const & scratch_pose_res,
81  utility::vector1< core::chemical::VariantType > const & variant_types ) const;
82 
83 
84  void
85  match_end_variants( core::pose::Pose const & pose, core::pose::Pose & scratch_pose, core::Size const & start_res, core::Size const & end_res ) const;
86 
87  void
89 
90  Size
92  std::string const & inside_sequence,
93  std::string const & desired_sequence ) const;
94 
95  void
97 
98  void
100 
101  void
102  append_residues( core::pose::Pose & pose, core::pose::Pose const & start_pose );
103 
104  private:
105 
110 
111  Size const nres_;
112 
113  ObjexxFCL::FArray1D< bool > input_residue_array_;
114  ObjexxFCL::FArray1D< bool > junction_residue_array_;
115  ObjexxFCL::FArray1D< bool > moving_residue_array_;
116 
119 
122  //bool fullatom_;
124  bool verbose_;
125 
126  };
127 
128 } //swa
129 } // protocols
130 
131 }
132 #endif