Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ITIS lost classificationPaths, classificationRanks and classificationIdsfor keys some entries #134

Open
BenMerSci opened this issue Feb 12, 2025 · 3 comments

Comments

@BenMerSci
Copy link

ITIS lost some of the keys returned (classificationPath, classificationRanks and classificationIds) for what seems to be for taxons queried at the kingdom level for example:

Animalia (https://verifier.globalnames.org/api/v1/verifications/Animalia?capitalize=true&all_matches=true&data_sources=3)

Archaea (https://verifier.globalnames.org/api/v1/verifications/Archaea?capitalize=true&all_matches=true&data_sources=3)

Fungi (https://verifier.globalnames.org/api/v1/verifications/Fungi?capitalize=true&all_matches=true&data_sources=3)

When those keys were previously returned (they are still returned for example when querying Catalogue Of Life)

@dimus
Copy link
Member

dimus commented Feb 14, 2025

Thanks for reporting it @BenMerSci. Somehow I missed this! Ill add a test and fix it.

@dimus
Copy link
Member

dimus commented Feb 19, 2025

Looks like ITIS does not have parent ID for kingdoms. I got their SQLite dump and this is what it shows for

select tsn, complete_name, parent_tsn
  from taxonomic_units
  where complete_name = 'Fungi' 
    or complete_name = 'Archaea' 
    or complete_name = 'Animalia' 
    or complete_name = 'Pardosa moesta'
tsn complete_name parent_tsn
202423 Animalia 0
555705 Fungi 0
864483 Pardosa moesta 849078
935939 Archaea 0

No parents for kingdoms, but a parent exists for a species. So for the particular queries you provided ITIS does not give hierarchy data.

I think I need to figure out the difference between CoL and Itis to fix it.

@BenMerSci
Copy link
Author

Maybe ITIS changed something on their side, because those values used to be provided for the example I provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants