/*
 * $Id$
 * 
 * $Log$
 * Revision 1.2  2005/10/25 19:06:39  nadya
 * rm old macro for Header, all info is taken care of by Id and Log.
 *
 * Revision 1.1.1.1  2005/07/29 17:15:49  nadya
 * Importing from meme-3.0.14, and adding configure/make
 *
 */

/***********************************************************************
*                                                                      *
*       MEME++                                                         *
*       Copyright 1994, The Regents of the University of California    *
*       Author: Timothy L. Bailey                                      *
*                                                                      *
***********************************************************************/
/*
        Print name, version, date, reference.
*/

#include "meme.h"
#include "projrel.h"

void banner(
  char *program, /* name of program */
  FILE *outfile  /* destination for output */
) 
{

  /* announce the program */
  PSTARS(outfile); 
  fprintf(outfile, "MEME - Motif discovery tool\n"); 
  PSTARS(outfile);
  fprintf(outfile,
    "MEME version " VERSION " (Release date: " ARCHIVE_DATE ")\n\n"
    "For further information on how to interpret please access " SITE_URL ".\n"
    "To get a copy of the MEME software please access " SOURCE_URL ".\n"
    "\n");
  PSTARS(outfile);

  /* print reference citation */
  fprintf(outfile, "\n\n");
  PSTARS(outfile); 
  fprintf(outfile, "REFERENCE\n"); 
  PSTARS(outfile);
  fprintf(
    outfile,
    "If you use this program in your research, please cite:\n"
    "\n"
    "Timothy L. Bailey and Charles Elkan,\n"
    "\"Fitting a mixture model by expectation maximization to discover\n"
    "motifs in biopolymers\", Proceedings of the Second International\n"
    "Conference on Intelligent Systems for Molecular Biology, pp. 28-36,\n"
    "AAAI Press, Menlo Park, California, 1994.\n"
  );
  PSTARS(outfile);
}
