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. */
6 #define __scscore_h__ 1
11 /* Procedure Prototypes */
13 double getdlog(double num);
15 int calcgprobs(long freqs[AANUM], long totals,
16 double probs[NUM_RES_TYPE]);
18 int calcgprobp(long freqp[AANUM][AANUM][POSNUM],
20 double probp[NUM_RES_TYPE][NUM_RES_TYPE][POSNUM]);
22 int calcpprobs(long freqs[AANUM][POSNUM], long totals[POSNUM],
23 double probs[NUM_RES_TYPE][POSNUM],
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],
34 int scorestock(char seq[MAXSEQLEN], int seqlen,
35 double scores[MAXSEQLEN][POSNUM],
36 char offsets[MAXSEQLEN],
37 double *maxscore, int ProlineFreeWin, int stockstock);
39 int scoreseq(char seq[MAXSEQLEN], int seqlen,
40 double scores[MAXSEQLEN],
41 char offsets[MAXSEQLEN],
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);
51 #endif /* __scscore_h__ */