1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define AAs "A_CDEFGHI_KLMN_PQRST_VW_Y_"
#define PI 3.1415
/* Include file for Ncoils */
struct hept_pref {
float **m; /* 20 x 7 amino acid heptad weights */
float smallest; /* Smallest of the above */
int n; /* statistical fitting data (weighted) */
struct fit_dat *f;
};
struct fit_dat {
int win; /* Window length */
float m_cc, sd_cc; /* mean/sd for coiled-coils */
float m_g, sd_g; /* mean/sd for globular */
float sc; /* scaling factor */
int w; /* 1= weighted, 0=un-weighted */
};
struct hept_pref *read_matrix(FILE *MAT);
void exit_error();
void pred_coils(char *seq,char *ident,char *title,struct hept_pref *h,int win,int which,
int weighted,int fasta,float min_P, int *t, int *tc, int min_segs);
|