Mac binaries
[jabaws.git] / website / archive / binaries / mac / src / fasta34 / w_mw.h
diff --git a/website/archive/binaries/mac/src/fasta34/w_mw.h b/website/archive/binaries/mac/src/fasta34/w_mw.h
new file mode 100644 (file)
index 0000000..2c69305
--- /dev/null
@@ -0,0 +1,126 @@
+
+/* $Name: fa_34_26_5 $ - $Id: w_mw.h,v 1.17 2006/04/12 18:00:02 wrp Exp $ */
+
+/* 21-July-2000 - changes for p2_complib/p2_workcomp:
+   there are now two sequence numbers; the old (worker) seqnm,
+   and a new manager (master) sequence number, m_seqnm
+*/
+
+#ifndef BFR
+#define BFR    300
+#endif
+#ifndef BFR2
+#define BFR2   100
+#endif
+
+#define MAXSQL 125000
+#define MMAXSQL 2000000
+#ifndef MAXWRKR
+#define MAXWRKR        64
+#endif
+#define MAXLSEQ        50000
+#define DESLIN 60
+#define NDES   100
+
+struct qmng_str
+{
+  int n0;      /* query sequence length */
+  int nm0;     /* number of segments */
+  int escore_flg;      /* use escores */
+  int qshuffle;                /* query shuffle */
+  int pam_pssm;        /* flag for pssm/profile search */
+  int s_func;  /* for p_workcomp: func==0>simple comparison, ==1>alignments */
+  int slist;   /* number of alignments to do */
+  int seqnm;   /* query sequence number - used for identity searches */
+  char libstr[MAX_FN];
+};
+
+struct comstr
+{
+  int m_seqnm;         /* sequence number */
+  int seqnm;           /* sequence number */
+  int score[3];                /* score */
+  double escore;
+  float comp;
+  float H;
+  int segnum;
+  int seglen;
+  int frame;
+  int r_score, qr_score;
+  double r_escore, qr_escore;
+};
+
+struct comstr2
+{
+  int m_seqnm;         /* sequence number */
+  int seqnm;           /* sequence number */
+  int score[3];                /* score */
+  double escore;
+  int segnum;
+  int seglen;
+  int sw_score;
+
+  /* int a_len; */     /* consensus alignment length */
+  /* int min0, max0, min1, max1;
+  int nident, ngap_q, ngap_l; */ /* number of identities, gaps in q, l */
+  
+  struct a_struct aln_d;
+  float percent, gpercent;
+  int aln_code_n;
+};
+
+/* The message structure */
+
+struct wrkmsg
+{
+    char lname [80];   /* name of the library */
+    char libenv[80];   /* directory in which library resides */
+    int lb_off;                /* offset in the library */
+    int lb_stop;       /* stop position in library */
+    int lb_code;       /* continue code */
+    int lb_size;       /* library size */
+    int p_size;                /* parcel size */
+    int libfn;         /* current library being searched */
+    int stage;         /* current stage number */
+};
+
+struct sql
+{
+  int n1;
+  int *n1tot_p;
+  int sfnum[10];       /* superfamily number */
+  int nsfnum;
+#ifndef USE_FSEEKO
+  long lseek;          /* location of sequence in file */
+#else
+  off_t lseek;
+#endif
+  long loffset;                /* offset from the beginning of the sequence */
+  int wrkr;            /* worker that has sequence */
+  int cont;
+  char *bline; /* descriptive line */
+};
+
+struct sqs
+{
+  int n1;              /* size of library sequence */
+  unsigned char *aa1;  /* sequence data */
+};
+
+#include "aln_structs.h"
+
+struct sqs2
+{
+  int n1;              /* size of library sequence */
+  int m_seqnm;         /* location in master list */
+  unsigned char *aa1;
+  int walign_dflg[2];
+  int sw_score[2];
+  struct a_res_str a_res[2];   /* need a_res for each frame */
+};
+
+struct stage2_str {
+  int m_seqnm; /* manager sequence number */
+  int seqnm;   /* worker sequence number */
+  int frame;   /* query frame */
+};