This commit is contained in:
2007-06-20 07:37:33 +00:00
parent d8696f0566
commit d94fc0daa4

View File

@ -7,12 +7,6 @@
#include <sys/stat.h> #include <sys/stat.h>
typedef enum
{
FALSE = 0,
TRUE = 1
} BOOL;
#define VERSION "0.1" #define VERSION "0.1"
void getLineContent(char *stream, ecoseq_t *seq){ void getLineContent(char *stream, ecoseq_t *seq){
@ -50,7 +44,7 @@ void freememory(char **tab, int32_t num){
} }
/** /**
* Check if a pattern match a string using mamberall libapat function * Check if pattern match a string using mamberall libapat function
* @param line array containing sequence information * @param line array containing sequence information
* @param pattern array containing patterns to test on the sequence * @param pattern array containing patterns to test on the sequence
* @param numpattern number of pattern in pattern array * @param numpattern number of pattern in pattern array
@ -242,7 +236,7 @@ int main(int argc, char **argv){
/** /**
* Get the taxonomy back * Get the taxonomy back
**/ **/
taxonomy = read_taxonomy(database); taxonomy = read_taxonomy(database,0);
/** /**
* Parse the stream * Parse the stream
@ -312,10 +306,8 @@ int main(int argc, char **argv){
{ {
printf("%s",orig); printf("%s",orig);
matchingresult++; matchingresult++;
} }
} }
} }
if ( file != stdin ) if ( file != stdin )
fclose(file); fclose(file);