~ubuntu-branches/debian/experimental/ncbi-tools6/experimental

« back to all changes in this revision

Viewing changes to demo/bl2seq.c

  • Committer: Bazaar Package Importer
  • Author(s): Aaron M. Ucko
  • Date: 2008-07-14 19:43:15 UTC
  • mfrom: (2.1.12 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080714194315-ed44u9ek7txva2rz
Tags: 6.1.20080302-3
tools/readdb.c: enable madvise()-based code on all glibc (hence all
Debian) systems, not just Linux.  (Closes: #490437.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
static char const rcsid[] = "$Id: bl2seq.c,v 6.86 2006/08/28 14:11:37 coulouri Exp $";
 
1
static char const rcsid[] = "$Id: bl2seq.c,v 6.88 2007/05/07 13:29:11 kans Exp $";
2
2
 
3
3
/**************************************************************************
4
4
*                                                                         *
27
27
***************************************************************************
28
28
*
29
29
* $Log: bl2seq.c,v $
 
30
* Revision 6.88  2007/05/07 13:29:11  kans
 
31
* added casts for Seq-data.gap (SeqDataPtr, SeqGapPtr, ByteStorePtr)
 
32
*
 
33
* Revision 6.87  2007/03/20 14:56:58  camacho
 
34
* Call GeneticCodeSingletonInit/GeneticCodeSingletonFini
 
35
*
30
36
* Revision 6.86  2006/08/28 14:11:37  coulouri
31
37
* correct seqids in asn.1 output when input sequences are specified as accessions; fixes rt#15192840
32
38
*
303
309
#include <algo/blast/api/blast_seq.h>
304
310
#include <algo/blast/api/repeats_filter.h>
305
311
#include <algo/blast/core/blast_util.h>
 
312
#include <algo/blast/api/blast_api.h>
306
313
 
307
314
#define LOCAL_BUFLEN 255
308
315
static BioseqPtr
799
806
        Uint1 strand_option = 0; /* FIXME */
800
807
        SBlastOptions* search_options = NULL; /* Needed for formatting. */
801
808
        SBlastSeqalignArray* seqalign_arr = NULL;
 
809
        GeneticCodeSingletonInit();
802
810
        
803
811
        strand_option = (Uint1) myargs[ARG_STRAND].intvalue;
804
812
 
948
956
        slp2 = SeqLocSetFree(slp2);
949
957
 
950
958
        fake_bsp = BlastDeleteFakeBioseq(fake_bsp);
 
959
        GeneticCodeSingletonFini();
951
960
 
952
961
        return 0;
953
962