Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PlaceFragments.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/PlaceFragments.hh
11 /// @author Eva-Maria Strauch (evas01@u.washington.edu)
12 
13 #ifndef INCLUDED_protocols_seeded_abinitio_PlaceFragments_hh
14 #define INCLUDED_protocols_seeded_abinitio_PlaceFragments_hh
15 
16 #include <core/types.hh>
17 #include <core/pose/Pose.hh>
18 #include <utility/tag/Tag.fwd.hh>
20 #include <protocols/moves/Mover.hh>
24 #include <core/fragment/Frame.hh>
25 #include <utility/vector1.hh>
26 #include <boost/unordered/unordered_map.hpp>
27 
28 namespace protocols {
29 namespace seeded_abinitio {
30 
32  public:
34 
35  //PlaceFragments(const FragSetOP& fragments);
36 
38 
39  // undefined, commenting out to fix PyRosetta build bool is_seed ( protocols::loops::Loops & loops, core::Size & residue );
40 
41  void apply( core::pose::Pose & pose );
42 
43  virtual std::string get_name() const;
44 
45  void parse_my_tag( utility::tag::TagPtr const tag,
49  core::pose::Pose const & );
50 
53 
54  virtual ~PlaceFragments();
55 
56  void initialize_fragments( const core::fragment::FragSetOP & fragments );
57 
58  //use privat members...and setters/getters
59  void apply_frame( core::pose::Pose & pose, core::fragment::Frame &frame, int aln_len, core::Size seq_start, core::Size max_frag_len );
60  void create_fragments( core::pose::Pose & pose, core::Size insert_start, core::Size insert_stop );
61 
62  private:
63  void initialize( const core::fragment::FragSetOP fragments );
64 
65  /// mover that should be applied after placement
67 
68  /// filter that should be applied
70 
71  //void initialize_library();
72  //core::fragment::FragSetOP fragments9_;
73 
74  /// storing fragments
76  boost::unordered_map<core::Size, core::fragment::Frame> library_;
77 
78  /// how many fragments to be picked
80  /// length of fragment to be picked on the flight
82  /// number of residues to align with fragments
84 
85  /// stub
87  /// seeds/segements
89 
91 
92  /// secondary structure sequence
94 
95  bool use_seq_;
96 
97 };
98 
99 }
100 }
101 
102 #endif
103