git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPCR/branches/refactoring@39 60f365c0-8329-0410-b2a4-ec073aeeaa1d
This commit is contained in:
@ -1,9 +1,5 @@
|
|||||||
#include "libecoPCR/ecoPCR.h"
|
#include "libecoPCR/ecoPCR.h"
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char **argv){
|
int main(int argc, char **argv){
|
||||||
int32_t carg = 0;
|
int32_t carg = 0;
|
||||||
@ -29,9 +25,9 @@ int main(int argc, char **argv){
|
|||||||
son = eco_findtaxonbytaxid(taxonomy, taxid_1);
|
son = eco_findtaxonbytaxid(taxonomy, taxid_1);
|
||||||
|
|
||||||
if (eco_isundertaxon(son, taxid_2))
|
if (eco_isundertaxon(son, taxid_2))
|
||||||
printf("taxid_1 (%d) is son of taxid_2 (%d)\n",taxid_1, taxid_2);
|
printf("# taxid_1 (%d) is son of taxid_2 (%d)\n",taxid_1, taxid_2);
|
||||||
else
|
else
|
||||||
printf("taxid_1 (%d) is NOT son of taxid_2 (%d)\n",taxid_1, taxid_2);
|
printf("# taxid_1 (%d) is NOT son of taxid_2 (%d)\n",taxid_1, taxid_2);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Reference in New Issue
Block a user