Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GrowPeptides.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 protocols/seeded_abinitio/GrowPeptides.cc
11 /// @author Eva-Maria Strauch (evas01@u.washington.edu)
12 
13 #ifndef INCLUDED_protocols_seeded_abinitio_GrowPeptides_hh
14 #define INCLUDED_protocols_seeded_abinitio_GrowPeptides_hh
15 
16 #include <core/pose/Pose.fwd.hh>
17 #include <utility/tag/Tag.fwd.hh>
18 #include <protocols/moves/Mover.hh>
20 #include <utility/string_util.hh>
23 #include <protocols/loops/Loops.hh>
24 #include <utility/vector1.hh>
27 #include <set>
28 
29 namespace protocols {
30 namespace seeded_abinitio {
31 
33 {
34 public:
35  GrowPeptides();
36 
37  virtual ~GrowPeptides();
38  void apply( core::pose::Pose & pose );
39  virtual std::string get_name() const;
40  virtual protocols::moves::MoverOP clone() const;
42 
43  void parse_my_tag( utility::tag::TagPtr const tag,
47  core::pose::Pose const & );
48 
49  // Undefined, commenting out to fix PyRosetta build void add_chainbreakterm( bool ac );
50 
51  // Undefined, commenting out to fix PyRosetta build bool add_chainbreakterm();
52 
53  bool ddg();
54 
55 private: ///functions
56 
58  core::Size seq_register,
59  core::Size res_pos,
61  std::string & nat_seq ,
62  core::pose::Pose & target_seeds
63  );
64 
66  core::Size seq_register,
67  core::Size res_pos,
68  core::Size stop,
69  std::string & nat_seq ,
70  core::pose::Pose & target_seeds
71  );
72 
73  void grow_from_seeds(
74  core::pose::Pose curr_pose, //the pose that gets changed
75  std::string sequence,
77  utility::vector1< Size > cutpoints//,
78  );
79 
80 
81  void grow_from_verteces(
82  core::pose::Pose & curr_pose,
83  std::string sequence,
85  std::set< core::Size > vertex_set
86  );
87 
89 
90  private: /// data
91 
97  bool all_ala_N;
98  bool all_ala_C;
99  //bool add_chainbreakterm_;
100 
101  bool ddg_;
102  /// template pose to derrive a sequence from
109  /// vector of sequence pieces
113  ///foldtree after growing out peptide pieces
115  /// pointer for the current pose
117  std::set< core::Size > verteces_;
118  //bool add_chainbreakterm_;
119 
120  };
121  }//end seeded_abinitio
122 }//end protocols
123 
124 #endif