X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=sources%2Fncoils%2Fncoils.h;fp=sources%2Fncoils%2Fncoils.h;h=362718a4984360fb3b4bbf404070442a9a59fa6a;hb=81362e35a140cd040e948b921053e74267f8a6e3;hp=0000000000000000000000000000000000000000;hpb=2cf032f4b987ba747c04159965aed78e3820d942;p=jpred.git diff --git a/sources/ncoils/ncoils.h b/sources/ncoils/ncoils.h new file mode 100644 index 0000000..362718a --- /dev/null +++ b/sources/ncoils/ncoils.h @@ -0,0 +1,29 @@ +#include +#include +#include + +#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);