Skip to content

Releases: globalbioticinteractions/nomer

0.5.15

19 Feb 15:10
Compare
Choose a tag to compare

Features

n/a

Improvements

Example of selecting Agathis montana the plant, but not Agathis montana the insect -

echo -e "\tAgathis montana\tPlantae"\
 | nomer append --properties nomer.properties --include-header col\
 | mlr --itsvlite --oxtab cat

with nomer.properties being

nomer.schema.input=[{"column":0,"type":"externalId"},{"column": 1,"type":"name"},{"column": 2,"type":"path"}]

produces a NONE match for the insect, and a HAS_ACCEPTED_NAME for the plant with same name Agathis montana

providedExternalId      
providedName            Agathis montana
providedPath            Plantae
relationName            HAS_ACCEPTED_NAME
resolvedExternalId      COL:662TS
resolvedName            Agathis montana
resolvedAuthorship      de Laub.
resolvedRank            species
resolvedCommonNames     
resolvedPath            Biota | Plantae | Tracheophyta | Pinopsida | Pinales | Araucariaceae | Agathis | Agathis montana
resolvedPathIds         COL:5T6MX | COL:P | COL:TP | COL:GG | COL:623FD | COL:6MH | COL:BDV7Y | COL:662TS
resolvedPathNames       unranked | kingdom | phylum | class | order | family | genus | species
resolvedPathAuthorships |  |  |  |  |  |  | de Laub.
resolvedExternalUrl     https://www.catalogueoflife.org/data/taxon/662TS

providedExternalId      
providedName            Agathis montana
providedPath            Plantae
relationName            NONE
resolvedExternalId      COL:6635S
resolvedName            Agathis montana
resolvedAuthorship      Shestakov, 1932
resolvedRank            species
resolvedCommonNames     
resolvedPath            Biota | Animalia | Arthropoda | Insecta | Hymenoptera | Ichneumonoidea | Braconidae | Agathis | Agathis montana
resolvedPathIds         COL:5T6MX | COL:N | COL:RT | COL:H6 | COL:HYM | COL:62255 | COL:7D4 | COL:BJ5YH | COL:6635S
resolvedPathNames       unranked | kingdom | phylum | class | order | superfamily | family | genus | species
resolvedPathAuthorships |  |  |  |  |  |  |  | Shestakov, 1932
resolvedExternalUrl     https://www.catalogueoflife.org/data/taxon/6635S

Poelen, J. H. (2025). Global Biotic Interactions: Taxon Graph hash://sha256/0b58753e4ff5519442689d866c0f1d19ffa7d97f917144df1d1cd56ea756921d hash://md5/b23bd0210c88ca10c3e3253091f4fdfa (0.5.4) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.14861926

Example of getting names associated with Enhydra lutris (sea otter)

echo -e "\tEnhydra lutris"\
 | nomer append --include-header globalnames\
 | head -3\
 | mlr --itsvlite --oxtab cat

as executed on 2025-02-19, resulted in:

providedExternalId      
providedName            Enhydra lutris
relationName            HAS_ACCEPTED_NAME
resolvedExternalId      COL:39TWB
resolvedName            Enhydra lutris
resolvedAuthorship      
resolvedRank            species
resolvedCommonNames     
resolvedPath            Animalia | Chordata | Vertebrata | Gnathostomata | Osteichthyes | Tetrapoda | Mammalia | Theria | Eutheria | Carnivora | Caniformia | Mustelidae | Lutrinae | Enhydra | Enhydra lutris
resolvedPathIds         COL:N | COL:CH2 | COL:8V4V3 | COL:8V4V5 | COL:8VVWB | COL:9CK8W | COL:BMGVD | COL:924GT | COL:LG | COL:B6L7F | COL:4CT | COL:CZT | COL:628LJ | COL:62RW6 | COL:39TWB
resolvedPathNames       kingdom | phylum | subphylum | infraphylum | parvphylum | megaclass | class | subclass | infraclass | order | suborder | family | subfamily | genus | species
resolvedPathAuthorships 
resolvedExternalUrl     https://www.catalogueoflife.org/data/taxon/39TWB

providedExternalId      
providedName            Enhydra lutris
relationName            HAS_ACCEPTED_NAME
resolvedExternalId      ITIS:180547
resolvedName            Enhydra lutris
resolvedAuthorship      
resolvedRank            species
resolvedCommonNames     
resolvedPath            Bilateria | Deuterostomia | Chordata | Vertebrata | Gnathostomata | Tetrapoda | Mammalia | Theria | Eutheria | Carnivora | Caniformia | Mustelidae | Lutrinae | Enhydra | Enhydra lutris
resolvedPathIds         ITIS:914154 | ITIS:914156 | ITIS:158852 | ITIS:331030 | ITIS:914179 | ITIS:914181 | ITIS:179913 | ITIS:179916 | ITIS:179925 | ITIS:180539 | ITIS:552303 | ITIS:180545 | ITIS:552326 | ITIS:180546 | ITIS:180547
resolvedPathNames       subkingdom | infrakingdom | phylum | subphylum | infraphylum | superclass | class | subclass | infraclass | order | suborder | family | subfamily | genus | species
resolvedPathAuthorships 
resolvedExternalUrl     http://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=180547

Bug Fixes

Example of matching Agathis montana the plant, but not Agathis montana the insect by prefixing the name to be match with Plantae | , the desired higher order taxonomic name.

echo -e "\tPlantae | Agathis montana"\
 | nomer append --include-header col\
 | mlr --itsvlite --oxtab cat
providedExternalId      
providedName            Plantae | Agathis montana
relationName            HAS_ACCEPTED_NAME
resolvedExternalId      COL:662TS
resolvedName            Agathis montana
resolvedAuthorship      de Laub.
resolvedRank            species
resolvedCommonNames     
resolvedPath            Biota | Plantae | Tracheophyta | Pinopsida | Pinales | Araucariaceae | Agathis | Agathis montana
resolvedPathIds         COL:5T6MX | COL:P | COL:TP | COL:GG | COL:623FD | COL:6MH | COL:BDV7Y | COL:662TS
resolvedPathNames       unranked | kingdom | phylum | class | order | family | genus | species
resolvedPathAuthorships |  |  |  |  |  |  | de Laub.
resolvedExternalUrl     https://www.catalogueoflife.org/data/taxon/662TS

providedExternalId      
providedName            Plantae | Agathis montana
relationName            NONE
resolvedExternalId      COL:6635S
resolvedName            Agathis montana
resolvedAuthorship      Shestakov, 1932
resolvedRank            species
resolvedCommonNames     
resolvedPath            Biota | Animalia | Arthropoda | Insecta | Hymenoptera | Ichneumonoidea | Braconidae | Agathis | Agathis montana
resolvedPathIds         COL:5T6MX | COL:N | COL:RT | COL:H6 | COL:HYM | COL:62255 | COL:7D4 | COL:BJ5YH | COL:6635S
resolvedPathNames       unranked | kingdom | phylum | class | order | superfamily | family | genus | species
resolvedPathAuthorships |  |  |  |  |  |  |  | Shestakov, 1932
resolvedExternalUrl     https://www.catalogueoflife.org/data/taxon/6635S

0.5.14

0.5.13

09 Jul 00:02
Compare
Choose a tag to compare

Features

n/a

Improvements

Bug Fixes

n/a

0.5.12

03 Jul 19:10
Compare
Choose a tag to compare

Features

With this, Plecotus christii is recognized as a synonym of Plecotus christiei even though the matching taxonomy (in this case Wikidata) does not have an explicit mention of this synonym_of relation.

providedExternalId      https://www.mammaldiversity.org/taxon/1005665
providedName            Plecotus christii
relationName            SYNONYM_OF
resolvedExternalId      WD:Q2472925
resolvedName            Plecotus christiei
resolvedAuthorship      
resolvedRank            WD:Q7432
resolvedCommonNames     
resolvedPath            Boreoeutheria | Laurasiatheria | Scrotifera | Apo-Chiroptera | Chiroptera | Microchiroptera | Vespertilionidae | Vespertilioninae | Plecotus | Plecotus christiei
resolvedPathIds         WD:Q132666 | WD:Q27379 | WD:Q7439311 | WD:Q123986694 | WD:Q28425 | WD:Q971343 | WD:Q210358 | WD:Q642437 | WD:Q279869 | WD:Q2472925
resolvedPathNames       WD:Q6054237 | WD:Q5868144 |  | WD:Q713623 | WD:Q36602 | WD:Q5867959 | WD:Q35409 | WD:Q164280 | WD:Q34740 | WD:Q7432
resolvedPathAuthorships |  |  |  |  |  |  |  |  |
resolvedExternalUrl     https://www.wikidata.org/wiki/Q2472925

Improvements

  • workaround performance issue with StringUtils.capitalize() as described in #182 .

Bug Fixes

n/a

0.5.11

25 Jun 21:02
Compare
Choose a tag to compare

Features

  • add initial support for offline matching against Wikidata Taxon Items [1] by upgrading to a newer version of Nomer's Corpus of Taxonomic Resources [2] #181 fyi @Daniel-Mietchen

Example usage:

echo -e "\tElymus repens"\
 | nomer append\
 --include-header wikidata\
 | mlr --itsvlite --oxtab cat

yields

providedExternalId      
providedName            Elymus repens
relationName            HAS_ACCEPTED_NAME
resolvedExternalId      WD:Q276262
resolvedName            Elymus repens
resolvedAuthorship      
resolvedRank            WD:Q7432
resolvedCommonNames     Gewöhnliche Quecke @de | quackgrass @en | niittyjuola @fi | 偃麦草 @zh
resolvedPath            Spermatophytes | Magnoliophyta | Liliopsida | Commelinidae | Cyperales | Poaceae | Pooideae | Triticeae | Elymus | Elymus repens
resolvedPathIds         WD:Q25814 | WD:Q14562931 | WD:Q1147601 | WD:Q1115272 | WD:Q1860104 | WD:Q43238 | WD:Q4662262 | WD:Q148694 | WD:Q1072892 | WD:Q276262
resolvedPathNames       WD:Q3491997 | WD:Q38348 | WD:Q37517 | WD:Q5867051 | WD:Q36602 | WD:Q35409 | WD:Q164280 | WD:Q227936 | WD:Q34740 | WD:Q7432
resolvedPathAuthorships |  |  |  |  |  |  |  |  |
resolvedExternalUrl     https://www.wikidata.org/wiki/Q276262

or via a Wikidata supported taxonomic scheme like ITIS -

echo -e "ITIS:512839"\
  | nomer append --include-header wikidata\
 | mlr --itsvlite --oxtab cat
providedExternalId      ITIS:512839
relationName            SYNONYM_OF
resolvedExternalId      WD:Q276262
resolvedName            Elymus repens
resolvedAuthorship      
resolvedRank            WD:Q7432
resolvedCommonNames     Gewöhnliche Quecke @de | quackgrass @en | niittyjuola @fi | 偃麦草 @zh
resolvedPath            Spermatophytes | Magnoliophyta | Liliopsida | Commelinidae | Cyperales | Poaceae | Pooideae | Triticeae | Elymus | Elymus repens
resolvedPathIds         WD:Q25814 | WD:Q14562931 | WD:Q1147601 | WD:Q1115272 | WD:Q1860104 | WD:Q43238 | WD:Q4662262 | WD:Q148694 | WD:Q1072892 | WD:Q276262
resolvedPathNames       WD:Q3491997 | WD:Q38348 | WD:Q37517 | WD:Q5867051 | WD:Q36602 | WD:Q35409 | WD:Q164280 | WD:Q227936 | WD:Q34740 | WD:Q7432
resolvedPathAuthorships |  |  |  |  |  |  |  |  |
resolvedExternalUrl     https://www.wikidata.org/wiki/Q276262

Improvements

Bug Fixes

n/a

References

[1] Wikidata Community, & Poelen, J. H. (2024). Wikidata Taxon Items in JSON Lines Format hash://sha256/e76276c283090381fc4b3efe28fc61c28f5bf03db0f3743f7178b999ebccada2 hash://md5/967c79ea605fda781129273a9f229eac (0.1) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.12535891

[2] Poelen, J. H. (ed . ) . (2024). Nomer Corpus of Taxonomic Resources hash://sha256/b959e969ddf4114bd590ec1cdcf7ec572076bd46e2e28e2fee038a3f6d41b9fd hash://md5/8df50c05e1801b526c6cf43535b9ab0b [Data set]. Zenodo. https://doi.org/10.5281/zenodo.12536844

0.5.10

18 Jun 21:02
Compare
Choose a tag to compare

Features

  • add initial support for offline matching against World Register of Marine Species [1,2] #148 made possible by Checklist Bank @mdoering and WoRMS @bart-v and many many others like @ljwalker for suggesting Nomer's support for WoRMS.

Example usage:

 echo -e "\tAriopsis felis"\
 | nomer append worms

yields

	Ariopsis felis	HAS_ACCEPTED_NAME	WORMS:158709	Ariopsis felis	(Linnaeus, 1766)	species		Biota | Animalia | Chordata | Vertebrata | Gnathostomata | Osteichthyes | Actinopterygii | Actinopteri | Teleostei | Siluriformes | Ariidae | Ariopsis | Ariopsis felis	WORMS:1 | WORMS:2 | WORMS:1821 | WORMS:146419 | WORMS:1828 | WORMS:152352 | WORMS:10194 | WORMS:843664 | WORMS:293496 | WORMS:154157 | WORMS:154659 | WORMS:158708 | WORMS:158709	| kingdom | phylum | subphylum | infraphylum | parvphylum | gigaclass | superclass | class | order | family | genus | species	|  | Haeckel, 1874 |  | von Zittel, 1879 |  |  |  |  |  | Bleeker, 1858 | Gill, 1861 | (Linnaeus, 1766)	https://www.marinespecies.org/aphia.php?p=taxdetails&id=158709

or via

 echo -e "\tAriopsis felis"\
 | nomer append --include-header worms\
 | mlr --itsvlite --oxtab cat
providedExternalId      
providedName            Ariopsis felis
relationName            HAS_ACCEPTED_NAME
resolvedExternalId      WORMS:158709
resolvedName            Ariopsis felis
resolvedAuthorship      (Linnaeus, 1766)
resolvedRank            species
resolvedCommonNames     
resolvedPath            Biota | Animalia | Chordata | Vertebrata | Gnathostomata | Osteichthyes | Actinopterygii | Actinopteri | Teleostei | Siluriformes | Ariidae | Ariopsis | Ariopsis felis
resolvedPathIds         WORMS:1 | WORMS:2 | WORMS:1821 | WORMS:146419 | WORMS:1828 | WORMS:152352 | WORMS:10194 | WORMS:843664 | WORMS:293496 | WORMS:154157 | WORMS:154659 | WORMS:158708 | WORMS:158709
resolvedPathNames       | kingdom | phylum | subphylum | infraphylum | parvphylum | gigaclass | superclass | class | order | family | genus | species
resolvedPathAuthorships |  | Haeckel, 1874 |  | von Zittel, 1879 |  |  |  |  |  | Bleeker, 1858 | Gill, 1861 | (Linnaeus, 1766)
resolvedExternalUrl     https://www.marinespecies.org/aphia.php?p=taxdetails&id=158709

Improvements

Bug Fixes

References

[1] WoRMS Editorial Board. (2024). World Register of Marine Species (S. Ahyong, C. Boyko, N. Bailly, J. Bernot, R. Bieler, S. Brandão, M. Daly, S. De Grave, S. Gofas, F. Hernandez, L. Hughes, T. A. Neubauer, & G. Paulay, Eds.; Version 2024-06-01). WoRMS Editorial Board, Belgium. https://doi.org/10.14284/170

[2] Poelen, J. H. (2024). World Register of Marine Species (WoRMS) Repackaged hash://sha256/4e969a1c8243b523b093d3a05fd5f7683479c2919e7d83e8b1383c5e5ef1d4e5 hash://md5/fb7559ce707d11f96a878d8a8a79a661 (0.1) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.12112610

[3] Poelen, J. H. (ed . ) . (2024). Nomer Corpus of Taxonomic Resources hash://sha256/3361f03229301a339b86779df0d74ed9ab564b1ef98dda4556ed0a0cafc28700 hash://md5/970d771ac2ff45e42a30b5cf88bf6a1b (0.25) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.12117955

0.5.9

02 May 18:06
Compare
Choose a tag to compare

Features

  • n/a

Improvements

  • upgrade to v0.24 of the Nomer Corpus of Taxonomic Resource [1].
  • DiscoverLife bee checklist name matching now includes subgenus (among other higher taxonomic names), as well as higher order name matching related to #161 #167 #176 in collaboration with @seltmann

Bug Fixes

  • n/a

References

[1] Poelen, J. H. (ed . ) . (2024). Nomer Corpus of Taxonomic Resources hash://sha256/83617875e84bb8ae7ac2a257ad50eb8e82d8935d975f465b8ee8f3a803f72b48 hash://md5/c639d7e3fcd5603f6c48e9d5e6c49672 (0.24) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.11105453

0.5.8

20 Apr 22:32
Compare
Choose a tag to compare

Features

  • n/a

Improvements

To specify output schema with authorship of specific rank (e.g., kingdom), you can say:

nomer.append.schema.output=[{"column":0,"type":"path.kingdom.id"},{"column": 1,"type":"path.kingdom.name"},{"column": 2,"type":"path.kingdom.authorship"}]

and run

echo -e "\tEnhydra lutris"\
 | nomer append --properties my.properties --include-header pbdb\
 | mlr --itsvlite --oxtab cat

to produce:

providedExternalId              
providedName                    Enhydra lutris
relationName                    HAS_ACCEPTED_NAME
resolvedPath.kingdom.id         PBDB:1
resolvedPath.kingdom.name       Eukaryota
resolvedPath.kingdom.authorship É. Chatton 1925

Bug Fixes

  • n/a

0.5.7

12 Mar 21:34
Compare
Choose a tag to compare

Features

  • n/a

Improvements

Bug Fixes

  • n/a

0.5.6

24 Oct 17:19
Compare
Choose a tag to compare

Features

  • n/a

Improvements

  • upgrade to Poelen, J. H. (ed . ) . (2023). Nomer Corpus of Taxonomic Resources hash://sha256/05d79ed0c00e07032d053663a8cfdcf24ba7b5aed651721d5e99659e4db94131 hash://md5/ad1d8ce1800e536f4a205ec47167c6ad (0.19) [Data set]. Zenodo. https://doi.org/10.5281/zenodo.10037817

Bug Fixes

  • n/a