Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CombineChainsMover.cc
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 // :noTabs=false:tabSize=4:indentSize=4:
4 //
5 // (c) Copyright Rosetta Commons Member Institutions.
6 // (c) This file is part of the Rosetta software suite and is made available under license.
7 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10 
11 /// @file protocols/domain_assembly/CombineChainsMover.cc
12 /// @brief Takes a multichain pose and returns a single-chain one
13 /// @author Dominik Gront
14 
16 
19 
20 
23 
25 
26 // AUTO-REMOVED #include <basic/options/option_macros.hh>
27 #include <basic/options/option.hh>
28 #include <basic/options/keys/OptionKeys.hh>
29 #include <basic/options/keys/in.OptionKeys.gen.hh>
30 
31 #include <core/types.hh>
32 
34 #include <utility/vector1.hh>
35 
36 
37 namespace protocols {
38 namespace domain_assembly {
39 
41 
42  using namespace basic::options;
43  using namespace basic::options::OptionKeys;
44 
46  core::sequence::SequenceOP seq = new core::sequence::Sequence( pose.sequence(), "this comment here is really irrelevant..." );
47 
48  core::pose::Pose extended_pose;
50  option[ in::file::residue_type_set ]() );
51  core::pose::make_pose_from_sequence(extended_pose, pose.sequence(), *rsd_set);
52 
53  aln.add_sequence(seq);
54  aln.add_sequence(seq);
56  mover.randomize_loop_coords( false );
57  mover.build_loops( false );
58  mover.apply( extended_pose );
59 
60 
61  extended_pose.dump_pdb("out.pdb");
62 
63  pose = extended_pose;
64 } // apply
65 
66 
67 }//namespace domain_assembly
68 }//namespace protocols
69