source: tags/initial/GDE/MOLPHY/protst.h

Last change on this file was 2, checked in by oldcode, 24 years ago

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1/*
2 * protst.h   Adachi, J.   1996.03.12
3 * Copyright (C) 1993-1996 J. Adachi & M. Hasegawa, All rights reserved.
4 */
5
6#include "molphy.h"
7#include "matrixut.h"
8
9#define NUMAMI     20
10#define NUMNUC     4
11
12#ifndef NUC
13#define TPMRADIX    NUMAMI
14#define INFOMOL     "Amino"
15#define LOGFILE     "Protst.log"
16#else  /* NUC*/
17#define TPMRADIX    NUMNUC
18#define INFOMOL     "Nucleic"
19#define LOGFILE     "Nucst.log"
20#endif /* NUC*/
21
22#define MAXCOLUMN  80
23#define LINESITES  60
24#define MAXELEMENT 17
25#define BUFLINE    512
26#define MAXWORD    32
27#define MAXOVER    50
28#define MAXLENG    30
29#define NMLNGTH    10 /* max. num. of characters in species name with S or I */
30#define SWITCHES   "ac:hHiILSvwzZ"
31#define VERSION    "1.2.1"
32#define DATE       "Mar 12 1996"
33
34typedef int       ivectpmty[TPMRADIX];
35typedef double    dvectpmty[TPMRADIX];
36typedef dvectpmty dmattpmty[TPMRADIX];
37
38extern char *Cacid1[];
39extern char *Cacid3[];
40
41
42#ifdef MAIN_MODULE
43
44#define EXTERN
45int Tpmradix = TPMRADIX;
46char *Infomol = INFOMOL;
47
48#else
49
50#define EXTERN extern
51EXTERN int Tpmradix;
52EXTERN char *Infomol;
53
54#endif
55
56EXTERN FILE *Logfp;
57EXTERN time_t Ct0;
58
59EXTERN boolean Align_optn;    /* a option  Alignment viewer */
60EXTERN boolean Colmn_optn;    /* c option  Column */
61EXTERN boolean Ctacit_optn;   /* C option  taCiturnity */
62EXTERN boolean Inlvd_optn;    /* I option  interleaved input format */
63EXTERN boolean Info_optn;     /* i option  */
64EXTERN boolean Logfl_optn;    /* L option  */
65EXTERN boolean Multi_optn;    /* m option  multiple data sets */
66EXTERN boolean Seque_optn;    /* S option  PHYLIP Sequential input format */
67EXTERN boolean Tstv_optn;     /* t option  with decimal number */
68EXTERN boolean Toptim_optn;   /* t option  without decimal number */
69EXTERN boolean Verbs_optn;    /* v option  Verbose to stderr */
70EXTERN boolean Write_optn;    /* w option  output sequence infomation */
71EXTERN boolean Debug_optn;    /* z option  */
72EXTERN boolean Debug;         /* Z option  */
73
74EXTERN char *Prog_name;
75EXTERN int Maxspc;
76EXTERN int Numspc;
77EXTERN int Maxpair;
78EXTERN int Numpair;
79EXTERN int Maxsite;
80EXTERN int Numsite;
81EXTERN int Numptrn;
82EXTERN int Linesites;
83EXTERN int Maxcolumn;
84EXTERN int Maxelement;
85
86EXTERN char **Identif;
87EXTERN char **Sciname;
88EXTERN char **Engname;
89EXTERN cmatrix Seqchar;
90EXTERN imatrix Seqconint;
91EXTERN ivector Weight;
92EXTERN dvectpmty Freqemp;
93
94
95EXTERN int Numnoindel; /* ST */
96EXTERN ivector Insdel; /* ST */
Note: See TracBrowser for help on using the repository browser.