~ubuntu-branches/ubuntu/edgy/ncbi-tools6/edgy

« back to all changes in this revision

Viewing changes to algo/blast/api/seqsrc_readdb.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
 
/*  $Id: seqsrc_readdb.c,v 1.51 2005/08/05 22:29:10 dondosha Exp $
 
1
/*  $Id: seqsrc_readdb.c,v 1.52 2006/05/04 15:53:12 camacho Exp $
2
2
* ===========================================================================
3
3
*
4
4
*                            PUBLIC DOMAIN NOTICE
28
28
 * Implementation of the BlastSeqSrc interface using readdb
29
29
 */
30
30
 
31
 
static char const rcsid[] = "$Id: seqsrc_readdb.c,v 1.51 2005/08/05 22:29:10 dondosha Exp $";
 
31
static char const rcsid[] = "$Id: seqsrc_readdb.c,v 1.52 2006/05/04 15:53:12 camacho Exp $";
32
32
 
33
33
#include <algo/blast/api/seqsrc_readdb.h>
34
34
#include <algo/blast/core/blast_seqsrc_impl.h>
166
166
        return BLAST_SEQSRC_ERROR;
167
167
    }
168
168
 
169
 
    BlastSetUp_SeqBlkNew(buf, len, 0, &readdb_args->seq, buffer_allocated);
 
169
    BlastSetUp_SeqBlkNew(buf, len, &readdb_args->seq, buffer_allocated);
170
170
    /* If there is no sentinel byte, and buffer is allocated, i.e. this is
171
171
       the traceback stage of a translated search, set "sequence" to the same 
172
172
       position as "sequence_start". */