Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
maxsub.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 numeric/model_quality/maxsub.cc
11 /// @brief ab-initio fragment assembly protocol for proteins
12 /// @details Routines for calculating maxsub-based structural quality scores. Based on code originally
13 /// written by Charlie Strauss for rosetta++, ported over by James Thompson.
14 ///
15 /// @author James Thompson
16 
17 #ifndef INCLUDED_numeric_model_quality_maxsub_hh
18 #define INCLUDED_numeric_model_quality_maxsub_hh
19 
20 
21 // ObjexxFCL Headers
24 
25 #include <utility/vector1.hh>
26 
27 namespace numeric {
28 namespace model_quality {
29 
30 
31 /* void
32 maxsub_native(
33 FArray3_float const & x,
34 int & nali,
35 float & rms,
36 float & logeval
37 ); */
38 
39 /*
40 void
41 maxsub_partial(
42 const int nres,
43 FArray3A_float x1,
44 FArray3A_float x2,
45 FArray1A_bool occ1,
46 FArray1A_bool occ2,
47 int & nali,
48 float & rms,
49 float & logeval
50 ); */
51 
52 
53 void
54 maxsub(
55  int & nsup,
58  double & rms,
59  double & psi,
60  int & nali,
61  double & zscore,
62  double & evalue,
63  double & score,
64  double rsmtol = 4.0,
65  double distance_tolerance = 7.0
66 );
67 
68 
69 double
70 erfcc( double x );
71 
72 
73 ////////////////////////////////////////////////////////////////////////////////
74 ///
75 /// @brief
76 // Calculate the center of geometry for the selected atoms ---
77 ///
78 /// @details
79 ///
80 /// @param C - [in/out]? -
81 /// @param WT - [in/out]? -
82 /// @param NAT - [in/out]? -
83 /// @param XC - [in/out]? -
84 /// @param YC - [in/out]? -
85 /// @param ZC - [in/out]? -
86 ///
87 /// @global_read
88 ///
89 /// @global_write
90 ///
91 /// @remarks
92 ///
93 /// @references
94 ///
95 /// @author
96 ///
97 /////////////////////////////////////////////////////////////////////////////////
98 
99 void
100 COMAS(
103  int NAT,
104  double & XC,
105  double & YC,
106  double & ZC
107 );
108 
109 } // namespace model_quality
110 } // namespace numeric
111 
112 #endif
RMS functions imported from rosetta++.
def x
FArray1A: Fortran-Compatible 1D Argument Array.
Definition: FArray1.hh:32
#define C(a, b)
Definition: functions.cc:27
tuple rms
Definition: loops_kic.py:130
vector1: std::vector with 1-based indexing
double erfcc(double x)
Definition: maxsub.cc:465
void maxsub(int &nsup, ObjexxFCL::FArray1A_double xe, ObjexxFCL::FArray1A_double xp, double &rms, double &psi, int &nali, double &zscore, double &evalue, double &score, double rmstol, double distance_tolerance)
identify the largest subset of CA atoms of a model that superimposes "well" (under certain rms cutoff...
Definition: maxsub.cc:163
void COMAS(ObjexxFCL::FArray1A_double C, ObjexxFCL::FArray1A_double WT, int NAT, double &XC, double &YC, double &ZC)
Definition: maxsub.cc:504