File: select.h

package info (click to toggle)
king-probe 2.13.110909-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 700 kB
  • ctags: 771
  • sloc: ansic: 10,687; makefile: 40; python: 18
file content (35 lines) | stat: -rw-r--r-- 1,421 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* name: select.h                                */
/* author: J. Michael Word                       */
/* date written: 2/20/96                         */
/* purpose: parse atom selections                */

/*****************************************************************/
/* NOTICE: This is free software and the source code is freely   */
/* available. You are free to redistribute or modify under the   */
/* conditions that (1) this notice is not removed or modified    */
/* in any way and (2) any modified versions of the program are   */
/* also available for free.                                      */
/*               ** Absolutely no Warranty **                    */
/* Copyright (C) 1999 J. Michael Word                            */
/*****************************************************************/

#ifndef SELECT_H
#define SELECT_H 1

#include "abin.h"
#include "parse.h"

typedef struct {char * rlist; char * alist; int bits;} ResidueAndAtomPair;

pattern* getPat(char *line, char *which, int verbose);
void setProperties(atom *a, int hetflag, int hb2aromaticFace, int chohb);
int matchPat(atom *a, pattern *pat);
void setAromaticProp(atom *a);
void setMethylProp(atom *a);
int isCarbonylAtom(atom *a);
int atomWithinDistance(atom *a, float *fvec);
char * setHydrogenParentName(char *rname, char *aname);
char * setMainchainBonding(char *rname, char *aname);

int naBaseCategory(atom *a);
#endif