git-svn-id: https://www.grenoble.prabi.fr/svn/LECASofts/ecoPCR/branches/refactoring@32 60f365c0-8329-0410-b2a4-ec073aeeaa1d
This commit is contained in:
@ -26,16 +26,12 @@ int main(int argc, char **argv){
|
|||||||
|
|
||||||
taxonomy = read_taxonomy(argv[optind]);
|
taxonomy = read_taxonomy(argv[optind]);
|
||||||
|
|
||||||
son = eco_findtaxonbytaxid(taxonomy, taxid_2);
|
son = eco_findtaxonbytaxid(taxonomy, taxid_1);
|
||||||
|
|
||||||
//printf("# %s\n",son->parent->name);
|
if (eco_isundertaxon(son, taxid_2))
|
||||||
|
printf("taxid_1 (%d) is son of taxid_2 (%d)\n",taxid_1, taxid_2);
|
||||||
/*
|
|
||||||
if (eco_isundertaxon(son, tax_id_2))
|
|
||||||
printf("tax_id_1 is son of tax_id_2");
|
|
||||||
else
|
else
|
||||||
printf("tax_id_1 is NOT son of tax_id_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