Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SegmentHybridizer.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/SegmentHybridizer.hh
11 /// @brief repurposing logic and some functions from CartesianHybridze protocols for segment insertions and chain closure
12 /// @author Eva-Maria Strauch
13 
14 #ifndef INCLUDED_protocols_seeded_abinitio_SegmentHybridizer_HH
15 #define INCLUDED_protocols_seeded_abinitio_SegmentHybridizer_HH
16 
17 #include <core/types.hh>
18 #include <core/pose/Pose.fwd.hh>
19 #include <utility/tag/Tag.fwd.hh>
22 #include <utility/vector1.hh>
23 #include <boost/unordered/unordered_map.hpp>
25 #include <protocols/moves/Mover.hh>
26 #include <utility/string_util.hh>
27 #include <utility/vector1.hh>
30 #include <core/fragment/Frame.hh>
31 
32 namespace protocols {
33 namespace seeded_abinitio {
34 
36 {
37 public:
39 
40 public:
42  virtual ~SegmentHybridizer();
43 
44  void apply( core::pose::Pose & pose );
45  virtual protocols::moves::MoverOP clone() const;
47  virtual std::string get_name() const;
48  void parse_my_tag( utility::tag::TagPtr const tag,
52  core::pose::Pose const & );
53  void init();
55  void hybridize( core::pose::Pose & pose , core::Size insert_pos_start, core::Size insert_pos_stop);
56  void apply_frame( core::pose::Pose & pose, core::fragment::Frame &frame );
57  void check_and_create_fragments( core::pose::Pose & pose, core::Size insert_start, core::Size insert_stop );
58 
59 private:
60  // to output and score full atom again
66 
67  // for span/segment declarations
69 
70  // movemap for minimization
73 
74  // for cartesian alignment
76 
77  // how much outside of the replaced segment should be remodeled
80  bool auto_mm_;
81 
82  /// fragments parts
89  boost::unordered_map<core::Size, core::fragment::Frame> library_;
90  bool use_seq_;
91  int tries_;
94  bool use_frags_;
97  bool extra_min_;
98 };
99 
100 
101 } // seeded_abinitio
102 } // protocols
103 
104 #endif /*INCLUDED_protocols_seeded_abinitio_movers_SegmentHybridizer_HH*/
105