34 #include <basic/options/option.hh>
40 #include <utility/io/ozstream.hh>
49 #include <basic/options/keys/out.OptionKeys.gen.hh>
50 #include <basic/options/keys/james.OptionKeys.gen.hh>
52 #include <basic/options/keys/in.OptionKeys.gen.hh>
55 #include <utility/vector1.hh>
56 #include <numeric/random/random.fwd.hh>
60 using namespace basic::options;
61 using namespace basic::options::OptionKeys;
62 using namespace ObjexxFCL::fmt;
75 option[ in::file::fasta ]()[1]
87 utility::io::ozstream log(
"debug_log.txt" );
95 movemap->set_bb(
true );
98 core::Size iterations = option[ out::nstruct ]();
101 using namespace protocols::moves;
109 using numeric::random::gaussian;
110 for ( core::Size i = 1; i <= iterations; ++i ) {
112 for ( core::Size pos = 1; pos <= fold_pose.
total_residue(); pos++ ) {
113 fold_pose.
set_phi ( pos, fold_pose.
phi( pos ) + gaussian() );
114 fold_pose.
set_psi ( pos, fold_pose.
psi( pos ) + gaussian() );
118 (*scorefxn)(fold_pose);
122 log <<
"iteration " << i << std::endl;
124 log <<
"initializing ProteinSilentStruct!" << std::endl;
126 log <<
"calling write_silent_struct!" << std::endl;
130 for ( core::Size i = 1; i <= iterations * 100; ++i ) {
131 log << F( 8, 3, 3.14159 ) << std::endl;