~ubuntu-branches/ubuntu/feisty/ncbi-tools6/feisty

« back to all changes in this revision

Viewing changes to demo/seedtop.c

  • Committer: Bazaar Package Importer
  • Author(s): Barry deFreese
  • Date: 2006-07-19 23:28:07 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060719232807-et3cdmcjgmnyleyx
Tags: 6.1.20060507-3ubuntu1
Re-merge with Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
static char const rcsid[] = "$Id: seedtop.c,v 6.11 2005/07/28 14:52:22 coulouri Exp $";
 
1
static char const rcsid[] = "$Id: seedtop.c,v 6.12 2006/03/01 13:43:45 coulouri Exp $";
2
2
 
3
 
/* $Id: seedtop.c,v 6.11 2005/07/28 14:52:22 coulouri Exp $ */
 
3
/* $Id: seedtop.c,v 6.12 2006/03/01 13:43:45 coulouri Exp $ */
4
4
/**************************************************************************
5
5
*                                                                         *
6
6
*                             COPYRIGHT NOTICE                            *
35
35
 
36
36
Contents: main routine for pseed3, stand-alone counterpart to PHI-BLAST.
37
37
 
38
 
$Revision: 6.11 $
 
38
$Revision: 6.12 $
39
39
 
40
40
$Log: seedtop.c,v $
 
41
Revision 6.12  2006/03/01 13:43:45  coulouri
 
42
From Alejandro Schaffer: do not dereference null pointer
 
43
 
41
44
Revision 6.11  2005/07/28 14:52:22  coulouri
42
45
remove dead code
43
46
 
293
296
          init_order(NULL, program_flag, is_dna, seedSearch);
294
297
        }
295
298
        rdpt = readdb_new(database, !is_dna);
 
299
        if (NULL == rdpt) {
 
300
          ErrPostEx(SEV_FATAL, 1, 0, "seed: Unable to find or open database %s\n", database);
 
301
          return (1);
 
302
        }
296
303
        if (program_flag == PATTERN_FLAG) {
297
304
            search_pat(rdpt, patfile, is_dna, seedSearch, patternSearch, &error_returns, &info_vnp);
298
305
            PGPOutTextMessages(info_vnp, outfp);