JPRED-2 Add sources of all binaries (except alscript) to Git
[jpred.git] / sources / multicoil / scscore.h
1 /*  Bonnie Berger, David Wilson and Theodore Tonchev 1992  */
2 /*      C Header File.  modified Ethan Wolf 1995     */
3 /*  Defines the names of functions used in scscore.c.     */
4
5 #ifndef __scscore_h__
6 #define __scscore_h__ 1
7
8 #include "scconst.h"
9
10
11 /* Procedure Prototypes */
12
13 double getdlog(double num);
14
15 int calcgprobs(long freqs[AANUM], long totals, 
16               double probs[NUM_RES_TYPE]);
17
18 int calcgprobp(long freqp[AANUM][AANUM][POSNUM], 
19               long totalp[POSNUM],
20               double probp[NUM_RES_TYPE][NUM_RES_TYPE][POSNUM]);
21
22 int calcpprobs(long freqs[AANUM][POSNUM], long totals[POSNUM], 
23               double probs[NUM_RES_TYPE][POSNUM],
24                int ProlineFreeWin);
25
26
27 int calcpprobp(long freqp[AANUM][AANUM][POSNUM][POSNUM], 
28               long totalp[POSNUM][POSNUM],
29               double probs[NUM_RES_TYPE][POSNUM],
30               double probp[NUM_RES_TYPE][NUM_RES_TYPE][POSNUM][POSNUM],
31               int ProlineFreeWin);
32
33
34 int scorestock(char seq[MAXSEQLEN], int seqlen,
35                double scores[MAXSEQLEN][POSNUM],
36                char offsets[MAXSEQLEN],
37                double *maxscore, int ProlineFreeWin, int stockstock);
38
39 int scoreseq(char seq[MAXSEQLEN], int seqlen,
40              double scores[MAXSEQLEN],
41              char offsets[MAXSEQLEN],
42              double *maxscore);
43
44
45 int scseqadj(char lib[MAXFUNCTNUM],
46              char seq[MAXSEQLEN], int seqlen,
47              double gscores[MAXSEQLEN][POSNUM],
48              char goffsets[MAXSEQLEN],
49              double *maxscore, int mode, int differentiator);
50
51 #endif   /* __scscore_h__ */
52
53 /*       End of Code       */