~ubuntu-branches/ubuntu/maverick/ncbi-tools6/maverick

« back to all changes in this revision

Viewing changes to network/wwwblast/Src/wblast2.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
 
/* $Id: wblast2.c,v 1.39 2006/07/05 15:59:21 jianye Exp $
 
1
/* $Id: wblast2.c,v 1.40 2007/03/30 14:53:07 madden Exp $
2
2
* ===========================================================================
3
3
*
4
4
*                            PUBLIC DOMAIN NOTICE
27
27
*
28
28
* Initial Creation Date: 10/23/2000
29
29
*
30
 
* $Revision: 1.39 $
 
30
* $Revision: 1.40 $
31
31
*
32
32
* File Description:
33
33
*        BLAST 2 Sequences CGI program
34
34
*
35
35
* $Log: wblast2.c,v $
 
36
* Revision 1.40  2007/03/30 14:53:07  madden
 
37
* Select top strand by default
 
38
*
36
39
* Revision 1.39  2006/07/05 15:59:21  jianye
37
40
* limit the defline length to 512
38
41
*
352
355
   printf("             document.bl2.strand.options[0] = new Option('Both strands');\n");
353
356
   printf("             document.bl2.strand.options[0].text='Both strands';\n");
354
357
   printf("             document.bl2.strand.options[0].value=3;\n");
 
358
   printf("             document.bl2.strand.options[0].selected=true;\n");
355
359
   printf("             document.bl2.strand.options[1].text='Top strand';\n");
356
360
   printf("             document.bl2.strand.options[1].value=1;\n");
357
361
   printf("             document.bl2.strand.options[2].text='Reverse strand';\n");
773
777
                   ">Mega BLAST</a>&nbsp;&nbsp;&nbsp;");
774
778
            printf("Strand option <select name=\"strand\">\n");
775
779
            printf("<option value=3 SELECTED> Both strands\n");
776
 
            printf("<option value=1> Forward strand\n");
 
780
            printf("<option value=1> Top strand\n");
777
781
            printf("<option value=2> Reverse strand\n");
778
782
            printf("</select>&nbsp;&nbsp;&nbsp;");
779
783
#ifdef NCBI_INTERNAL_NEW_FORMATTER