Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NonlocalFragsMain.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 //
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/frag_picker/nonlocal/NonlocalFragsMain.cc
11 /// @author David Kim
12 
13 /*
14  The purpose of this protocol is to get interacting fragment pairs non-local in sequence from
15  a given PDB. This protocol will be used to generate a VALL database of non-local fragment pairs.
16 */
17 
18 
19 // Project headers
23 
24 // Utility headers
25 //#include <basic/options/keys/run.OptionKeys.gen.hh>
26 //#include <basic/options/option.hh>
27 //#include <basic/options/keys/OptionKeys.hh>
28 //#include <basic/options/keys/in.OptionKeys.gen.hh>
29 //#include <basic/options/keys/frags.OptionKeys.gen.hh>
30 #include <utility/exit.hh>
31 #include <utility/excn/EXCN_Base.hh>
32 //#include <utility/vector1.hh>
33 
34 #include <basic/Tracer.hh>
35 
36 // C/C++ headers
37 #include <iostream>
38 //#include <string>
39 
40 namespace protocols {
41 namespace frag_picker {
42 namespace nonlocal {
43 
44 static basic::Tracer TR("protocols.frag_picker.nonlocal.NonlocalFragsMain");
45 
46 using namespace std;
47 
49  //using namespace basic::options;
50  //using namespace basic::options::OptionKeys;
52  using utility::excn::EXCN_Base;
53 
54  // necessary for outputting intermediate structures
55  //option[ OptionKeys::run::intermediate_structures ].value(true);
56 
57  NonlocalFragsOP mover;
58 
59  mover = new NonlocalFrags();
60 
61  try {
62  JobDistributor::get_instance()->go(mover);
63  } catch (EXCN_Base& e) {
64  cerr << "Exception: " << endl;
65  e.show(cerr);
66  }
67 
68 }
69 
70 } // namespace nonlocal
71 } // namespace frag_picker
72 } // namespace protocols