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

add support for TSN: taxonomic identifier prefixes #915

Closed
jhpoelen opened this issue Aug 18, 2023 · 1 comment
Closed

add support for TSN: taxonomic identifier prefixes #915

jhpoelen opened this issue Aug 18, 2023 · 1 comment

Comments

@jhpoelen
Copy link
Member

in https://github.com/mammalbase/database, @karilint uses TSN prefixes to reference taxonomic serial numbers issued by ITIS .

e.g., the TSN for Enhydra lutris is 180547 and an html landing page about this taxon can be found at:

https://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=180547#null

and attached screenshot below.

currently, GloBI uses ITIS: prefixes to reference ITIS taxonomic serial numbers.

desired is to make GloBI also support using a more intuitive TSN: (or tsn:) prefix to reference ITIS taxonomic serial numbers.

image

@jhpoelen
Copy link
Member Author

jhpoelen commented Aug 29, 2023

via Nomer v0.5.2, the tsn: prefix is supported.

For example,

echo "tsn:946010"\
 | nomer append --include-header itis\
| mlr --itsvlite --oxtab cat

yields

providedExternalId      tsn:946010
relationName            HAS_ACCEPTED_NAME
resolvedExternalId      ITIS:946010
resolvedName            Rhinolophus sinicus
resolvedAuthorship      K. Andersen, 1905
resolvedRank            species
resolvedCommonNames     
resolvedPath            Animalia | Bilateria | Deuterostomia | Chordata | Vertebrata | Gnathostomata | Tetrapoda | Mammalia | Theria | Eutheria | Chiroptera | Yinpterochiroptera | Rhinolophoidea | Rhinolophidae | Rhinolophus | Rhinolophus sinicus
resolvedPathIds         ITIS:202423 | ITIS:914154 | ITIS:914156 | ITIS:158852 | ITIS:331030 | ITIS:914179 | ITIS:914181 | ITIS:179913 | ITIS:179916 | ITIS:179925 | ITIS:179985 | ITIS:945840 | ITIS:945842 | ITIS:631242 | ITIS:631260 | ITIS:946010
resolvedPathNames       kingdom | subkingdom | infrakingdom | phylum | subphylum | infraphylum | superclass | class | subclass | infraclass | order | suborder | superfamily | family | genus | species
resolvedPathAuthorships 
resolvedExternalUrl     http://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=946010

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

1 participant