/*
 * $Id: align.h 1048 2006-07-06 20:07:44Z cegrant $
 * 
 * $Log$
 * Revision 1.1  2005/07/29 18:34:59  nadya
 * Initial revision
 *
 */


#ifndef ALIGN_H
#  define ALIGN_H 

#include <macros.h>
#include <user.h>
#include <logodds.h>

extern int align(
  int imotif,                           /* motif number */
  LOGODDS logodds,			/* log-odds array */
  int seqno,				/* sequence number (from 1) 
					   if <= 0, print alignment, 
					   otherwise, print .motif file */
  double threshold,			/* align sites above this */
  char *sample_name,			/* name of sample */
  char *eseq,				/* integer-coded sequence */
  bool d[4],				/* strand directions to use */
  int lseq,				/* length of sequence */
  int w,				/* length of site */
  double *scores,			/* array to put scores in */
  FILE *outfile				/* stream for output */
);

#endif
