JPRED-2 Add sources of all binaries (except alscript) to Git
[jpred.git] / sources / multicoil / scscore.h
diff --git a/sources/multicoil/scscore.h b/sources/multicoil/scscore.h
new file mode 100644 (file)
index 0000000..b55edce
--- /dev/null
@@ -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       */