globalbioticinteractions / nomer

maps identifiers and names to other identifiers and names
GNU General Public License v3.0
19 stars 3 forks source link

nomer itis incorrectly claims that Mormoops blainvillei is a synonym of Mormoops blainvillii - according to itis, it is the other way around #131

Closed jhpoelen closed 1 year ago

jhpoelen commented 1 year ago

when:

echo -e "\tMormoops blainvillei" | nomer append itis

however, https://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=180050#null reports the opposite is true.

image

Mormoops blainvillei Leach, 1821               SYNONYM_OF ITIS:180050 Mormoops blainvillii
jhpoelen commented 1 year ago

$ preston cat --remote https://zenodo.org/record/7343032/files 'gz:https://zenodo.org/record/3833105/files/synonym_links.gz!/synonym_links' | grep 180050 946074|180050|08/27/2014

whereas,

$ preston cat --remote https://zenodo.org/record/7343032/files 'gz:https://zenodo.org/record/3833105/files/synonym_links.gz!/synonym_links' | grep -E "^51|50|" 51|50|03/02/2015

where 51 is a outdated name of 50

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

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

image

image

jhpoelen commented 1 year ago

and from a recent 2022 version of itis -

$ cat synonym_links | grep 180050 180050|946074|04/26/2021

showing that Nomer is correctly parsing the synonym table, and suggests that ITIS reversed the synonymous relation between Mormoops blainvillei and Mormoops blainvillii in 2021.

jhpoelen commented 1 year ago

or more specifically -

$ preston alias 'https://www.itis.gov/downloads/itisMSSql.zip' https://www.itis.gov/downloads/itisMSSql.zip http://purl.org/pav/hasVersion hash://sha256/b56ab3c69cc2721150ac4683646aa2c79bcb1cc273c38a02f4fef5bdccbff185 .

$ preston cat 'zip:https://www.itis.gov/downloads/itisMSSql.zip!/itisMS.102822/synonym_links' | grep 180050 180050|946074|04/26/2021

jhpoelen commented 1 year ago

with Nomer v0.4.6 , the ITIS makes the following claims:

echo -e "\tMormoops blainvillei" | nomer append itis --include-header
providedExternalId providedName relationName resolvedExternalId resolvedName resolvedAuthorship resolvedRank resolvedCommonNames resolvedPath resolvedPathIds resolvedPathNames resolvedPathAuthorships resolvedExternalUrl
Mormoops blainvillei HAS_ACCEPTED_NAME ITIS:946074 Mormoops blainvillei Leach, 1821 species Animalia | Bilateria | Deuterostomia | Chordata | Vertebrata | Gnathostomata | Tetrapoda | Mammalia | Theria | Eutheria | Chiroptera | Yangochiroptera | Noctilionoidea | Mormoopidae | Mormoops | Mormoops blainvillei ITIS:202423 | ITIS:914154 | ITIS:914156 | ITIS:158852 | ITIS:331030 | ITIS:914179 | ITIS:914181 | ITIS:179913 | ITIS:179916 | ITIS:179925 | ITIS:179985 | ITIS:945841 | ITIS:945843 | ITIS:180048 | ITIS:180049 | ITIS:946074 kingdom | subkingdom | infrakingdom | phylum | subphylum | infraphylum | superclass | class | subclass | infraclass | order | suborder | superfamily | family | genus | species http://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=946074
echo -e "\tMormoops blainvillii" | nomer append itis --include-header
providedExternalId providedName relationName resolvedExternalId resolvedName resolvedAuthorship resolvedRank resolvedCommonNames resolvedPath resolvedPathIds resolvedPathNames resolvedPathAuthorships resolvedExternalUrl
Mormoops blainvillii SYNONYM_OF ITIS:946074 Mormoops blainvillei Leach, 1821 species Animalia | Bilateria | Deuterostomia | Chordata | Vertebrata | Gnathostomata | Tetrapoda | Mammalia | Theria | Eutheria | Chiroptera | Yangochiroptera | Noctilionoidea | Mormoopidae | Mormoops | Mormoops blainvillei ITIS:202423 | ITIS:914154 | ITIS:914156 | ITIS:158852 | ITIS:331030 | ITIS:914179 | ITIS:914181 | ITIS:179913 | ITIS:179916 | ITIS:179925 | ITIS:179985 | ITIS:945841 | ITIS:945843 | ITIS:180048 | ITIS:180049 | ITIS:946074 kingdom | subkingdom | infrakingdom | phylum | subphylum | infraphylum | superclass | class | subclass | infraclass | order | suborder | superfamily | family | genus | species http://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=946074
jhpoelen commented 1 year ago

fyi @ajacsherman