Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Typedefs | Functions
ddg_monomer.cc File Reference
#include <core/types.hh>
#include <core/chemical/AA.hh>
#include <protocols/scoring/Interface.hh>
#include <core/conformation/Residue.hh>
#include <core/chemical/ResidueTypeSet.hh>
#include <core/scoring/ScoreFunction.hh>
#include <core/scoring/ScoreFunctionFactory.hh>
#include <core/pack/task/PackerTask.hh>
#include <core/pack/task/TaskFactory.hh>
#include <core/pose/Pose.hh>
#include <basic/options/util.hh>
#include <basic/options/after_opts.hh>
#include <basic/options/option_macros.hh>
#include <basic/options/keys/OptionKeys.hh>
#include <basic/options/keys/ddg.OptionKeys.gen.hh>
#include <basic/options/keys/in.OptionKeys.gen.hh>
#include <basic/options/keys/score.OptionKeys.gen.hh>
#include <basic/options/keys/packing.OptionKeys.gen.hh>
#include <basic/database/open.hh>
#include <devel/init.hh>
#include <numeric/xyzVector.hh>
#include <core/pack/task/ResfileReader.hh>
#include <fstream>
#include <iostream>
#include <sstream>
#include <ObjexxFCL/format.hh>
#include <cstdlib>
#include <string>
#include <protocols/ddg/ddGMover.hh>
#include <core/import_pose/import_pose.hh>
#include <utility/vector0.hh>
#include <utility/vector1.hh>
#include <utility/excn/Exceptions.hh>
#include <basic/Tracer.hh>

Go to the source code of this file.

Typedefs

typedef utility::vector1
< core::chemical::AA > 
mutations
 
typedef utility::vector1< double > ddgs
 

Functions

static THREAD_LOCAL basic::Tracer TR ("apps.public.ddg.ddg_monomer")
 
void print_ddgs (std::string ddg_out, std::string label, ddgs delta_e_components, ddgs, double total_ddgs, protocols::ddg::ddGMover &mover, bool print_header, bool min_cst)
 print ddGs More...
 
void read_in_mutations (utility::vector1< mutations > &res_to_mut, std::string filename, pose::Pose &pose)
 The input file is a list of mutation blocks. Usually, this will be a set of point mutations. where each "block" lists a single mutation. However, it is possible to specify multiple mutations together in a single block. More...
 
int main (int argc, char *argv[])
 

Detailed Description

Author
Liz Kellogg ekell.nosp@m.ogg@.nosp@m.u.was.nosp@m.hing.nosp@m.ton.e.nosp@m.du comments by JKLeman (julia.nosp@m..koe.nosp@m.hler1.nosp@m.982@.nosp@m.gmail.nosp@m..com)

Definition in file ddg_monomer.cc.

Typedef Documentation

Definition at line 73 of file ddg_monomer.cc.

typedef utility::vector1< core::chemical::AA > mutations

Definition at line 72 of file ddg_monomer.cc.

Function Documentation

int main ( int  argc,
char *  argv[] 
)
void print_ddgs ( std::string  ddg_out,
std::string  label,
ddgs  delta_e_components,
ddgs  ,
double  total_ddgs,
protocols::ddg::ddGMover &  mover,
bool  print_header,
bool  min_cst 
)

print ddGs

Definition at line 78 of file ddg_monomer.cc.

References utility::exit(), ObjexxFCL::format::F(), and TR().

Referenced by main().

void read_in_mutations ( utility::vector1< mutations > &  res_to_mut,
std::string  filename,
pose::Pose pose 
)

The input file is a list of mutation blocks. Usually, this will be a set of point mutations. where each "block" lists a single mutation. However, it is possible to specify multiple mutations together in a single block.

The file format is: "total N" followed by N blocks, where each block is "M" specifying followed by M lines of wt/resid/mutaa triples "wtaa resid mutaa" N, M and resid are all supposed to be integers. wtaa, and mutaa are supposed to be 1-letter amino acid codes.

Definition at line 142 of file ddg_monomer.cc.

References basic::Tracer::Error, clean_pdb_keep_ligand::resnum, runtime_assert, TR(), and revert_app::wt.

Referenced by main().

static THREAD_LOCAL basic::Tracer TR ( "apps.public.ddg.ddg_monomer"  )
static

Referenced by main(), print_ddgs(), and read_in_mutations().