src/printDescription.c File Reference

#include "blast.h"

Include dependency graph for printDescription.c:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])


Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 11 of file printDescription.c.

References descriptions_close(), descriptions_getDescription(), and descriptions_open().

00012 {
00013         char* description;
00014         char file[1000];
00015 
00016     if (argc < 3)
00017         {
00018                 printf("Useage: printDescription <database> <dloc>\n");
00019                 exit(-1);
00020         }
00021 
00022         sprintf(file, "%s.descriptions", argv[1]);
00023 
00024         descriptions_open(file);
00025         description = descriptions_getDescription(atoi(argv[2]), 20);
00026         printf("%s\n", description);
00027     descriptions_close();
00028 }

Here is the call graph for this function:


Generated on Wed Dec 19 20:58:45 2007 for fsa-blast by  doxygen 1.5.2