Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
secstr.h
Go to the documentation of this file.
1 /************************************************************************/
2 /**
3 
4  \file secstr.h
5 
6  \version V1.0
7  \date 10.07.15
8  \brief Header for secondary structure calculation
9 
10  \copyright (c) Dr. Andrew C. R. Martin, UCL, 1988-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 
42  Usage:
43  ======
44 
45 **************************************************************************
46 
47  Revision History:
48  =================
49 
50 *************************************************************************/
51 /* Includes
52 */
53 #include <math.h>
54 #include "SysDefs.h"
55 #include "pdb.h"
56 
57 /************************************************************************/
58 /* Defines and macros
59 */
60 
61 /* Character symbols for secondary structure types */
62 #define SECSTR_COIL '-'
63 
64 #define SECSTR_BEND_START '>'
65 #define SECSTR_BEND_END '<'
66 #define SECSTR_BEND_BOTH 'X'
67 
68 #define SECSTR_BEND 'S'
69 #define SECSTR_BRIDGE_FWD 'b'
70 #define SECSTR_BRIDGE_BACKWD 'B'
71 #define SECSTR_SHEET 'E'
72 #define SECSTR_SHEET_SMALL 'e'
73 #define SECSTR_TURN 'T'
74 #define SECSTR_BREAK '!'
75 #define SECSTR_BULGE '*'
76 #define SECSTR_HELIX 'H'
77 #define SECSTR_HELIX_SMALL 'h'
78 #define SECSTR_PI 'I'
79 #define SECSTR_PI_SMALL 'i'
80 #define SECSTR_3_10 'G'
81 #define SECSTR_3_10_SMALL 'g'
82 
83 #define SECSTR_ERR_NOERR 0
84 #define SECSTR_ERR_NOMEM (-1)
85 
86 /************************************************************************/
87 /* Globals
88 */
89 
90 /************************************************************************/
91 /* Prototypes
92 */
93 int blCalcSecStrucPDB(PDB *pdbStart, PDB *pdbStop, BOOL quiet);
Include file for PDB routines.
short BOOL
Definition: SysDefs.h:64
Definition: pdb.h:298
int blCalcSecStrucPDB(PDB *pdbStart, PDB *pdbStop, BOOL quiet)
Definition: secstr.c:315
System-type variable type definitions.