The outage for Sunday 24th November has been cancelled.
Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
access.h
Go to the documentation of this file.
1 /************************************************************************/
2 /**
3 
4  \file access.h
5 
6  \version V1.2
7  \date 17.06.16
8  \brief Accessibility calculation code
9 
10  \copyright (c) UCL, Dr. Andrew C.R. Martin, 1999-2015
11  \author Dr. Andrew C.R. Martin
12  \par
13  Institute of Structural & Molecular Biology,
14  University College London,
15  Gower Street,
16  London.
17  WC1E 6BT.
18  \par
19  andrew@bioinf.org.uk
20  andrew.martin@ucl.ac.uk
21 
22 **************************************************************************
23 
24  This code is NOT IN THE PUBLIC DOMAIN, but it may be copied
25  according to the conditions laid out in the accompanying file
26  COPYING.DOC.
27 
28  The code may be modified as required, but any modifications must be
29  documented so that the person responsible can be identified.
30 
31  The code may not be sold commercially or included as part of a
32  commercial product except as described in the file COPYING.DOC.
33 
34 **************************************************************************
35 
36  Description:
37  ============
38 
39 **************************************************************************
40 
41  Usage:
42  ======
43 
44 **************************************************************************
45 
46  Revision History:
47  =================
48 - V1.0 21.04.99 Original By: ACRM
49 - V1.1 17.07.14 Extracted from XMAS code
50 - V1.2 17.06.15 Added scAccess and scRelAccess to RESACCESS structure
51  Added stdaccessSc to RESRAD structure
52 
53 *************************************************************************/
54 #ifndef _ACCESS_H_
55 #define _ACCESS_H_ 1
56 
57 #define ACCESS_MAX_ATOMS_PER_RESIDUE 50
58 #define ACCESS_DEF_INTACC 0.05
59 
60 #ifndef VERY_SMALL
61 #define VERY_SMALL (REAL)1e-6
62 #endif
63 
64 /* Used to store the atom radii and standard accessibility data */
65 typedef struct _resrad
66 {
67  struct _resrad *next;
71  int natoms;
72  char resnam[8],
74 } RESRAD;
75 
76 /* Used to store residue accessibility values */
77 typedef struct _resaccess
78 {
79  struct _resaccess *next;
81  relAccess,
82  scAccess,
84  int resnum;
85  char chain[8],
86  resnam[8],
87  insert[8];
88 } RESACCESS;
89 
90 /* Prototypes */
91 RESRAD *blSetAtomRadii(PDB *pdb, FILE *fpRad);
92 BOOL blCalcAccess(PDB *pdb, int natoms,
93  REAL integrationAccuracy, REAL probeRadius,
94  BOOL doAccessibility);
95 RESACCESS *blCalcResAccess(PDB *pdb, RESRAD *resrad);
96 
97 #endif
98 
99 
int resnum
Definition: access.h:84
Definition: access.h:65
REAL scAccess
Definition: access.h:80
REAL scRelAccess
Definition: access.h:80
short BOOL
Definition: SysDefs.h:64
char resnam[8]
Definition: access.h:72
struct _resaccess RESACCESS
Definition: pdb.h:298
struct _resaccess * next
Definition: access.h:79
REAL stdAccessSC
Definition: access.h:68
REAL resAccess
Definition: access.h:80
char resnam[8]
Definition: access.h:85
double REAL
Definition: MathType.h:67
RESACCESS * blCalcResAccess(PDB *pdb, RESRAD *resrad)
Definition: access.c:673
RESRAD * blSetAtomRadii(PDB *pdb, FILE *fpRad)
Definition: access.c:259
char chain[8]
Definition: access.h:85
BOOL blCalcAccess(PDB *pdb, int natoms, REAL integrationAccuracy, REAL probeRadius, BOOL doAccessibility)
Definition: access.c:331
REAL relAccess
Definition: access.h:80
REAL radius[ACCESS_MAX_ATOMS_PER_RESIDUE]
Definition: access.h:68
struct _resrad * next
Definition: access.h:67
REAL stdAccess
Definition: access.h:68
int natoms
Definition: access.h:71
struct _resrad RESRAD
#define ACCESS_MAX_ATOMS_PER_RESIDUE
Definition: access.h:57
char atnam[ACCESS_MAX_ATOMS_PER_RESIDUE][8]
Definition: access.h:72
char insert[8]
Definition: access.h:85