X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=sources%2Fmulticoil%2Fscscore.h;fp=sources%2Fmulticoil%2Fscscore.h;h=b55edce2aa387a10e718b8a33c8b766ee337afb9;hb=1431c641556befdbff5922788061394f2c870a80;hp=0000000000000000000000000000000000000000;hpb=4e8f16a99a41f25bcaf0772796d4d3b8f63aa38f;p=jpred.git diff --git a/sources/multicoil/scscore.h b/sources/multicoil/scscore.h new file mode 100644 index 0000000..b55edce --- /dev/null +++ b/sources/multicoil/scscore.h @@ -0,0 +1,53 @@ +/* Bonnie Berger, David Wilson and Theodore Tonchev 1992 */ +/* C Header File. modified Ethan Wolf 1995 */ +/* Defines the names of functions used in scscore.c. */ + +#ifndef __scscore_h__ +#define __scscore_h__ 1 + +#include "scconst.h" + + +/* Procedure Prototypes */ + +double getdlog(double num); + +int calcgprobs(long freqs[AANUM], long totals, + double probs[NUM_RES_TYPE]); + +int calcgprobp(long freqp[AANUM][AANUM][POSNUM], + long totalp[POSNUM], + double probp[NUM_RES_TYPE][NUM_RES_TYPE][POSNUM]); + +int calcpprobs(long freqs[AANUM][POSNUM], long totals[POSNUM], + double probs[NUM_RES_TYPE][POSNUM], + int ProlineFreeWin); + + +int calcpprobp(long freqp[AANUM][AANUM][POSNUM][POSNUM], + long totalp[POSNUM][POSNUM], + double probs[NUM_RES_TYPE][POSNUM], + double probp[NUM_RES_TYPE][NUM_RES_TYPE][POSNUM][POSNUM], + int ProlineFreeWin); + + +int scorestock(char seq[MAXSEQLEN], int seqlen, + double scores[MAXSEQLEN][POSNUM], + char offsets[MAXSEQLEN], + double *maxscore, int ProlineFreeWin, int stockstock); + +int scoreseq(char seq[MAXSEQLEN], int seqlen, + double scores[MAXSEQLEN], + char offsets[MAXSEQLEN], + double *maxscore); + + +int scseqadj(char lib[MAXFUNCTNUM], + char seq[MAXSEQLEN], int seqlen, + double gscores[MAXSEQLEN][POSNUM], + char goffsets[MAXSEQLEN], + double *maxscore, int mode, int differentiator); + +#endif /* __scscore_h__ */ + +/* End of Code */