git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPCR/branches/refactoring@70 60f365c0-8329-0410-b2a4-ec073aeeaa1d
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user