Comments (2)
Hi @LunaSare!
It looks like it's a bug that comes from OpenTree of life rather than from rotl
. If I call the API directly with your example, I get the same results:
$ curl -X POST https://api.opentreeoflife.org/v3/tnrs/match_names \
-H "content-type:application/json" -d \
'{"names":["Amphibians","Canis"], "do_approximate_matching":true}'
Output
{
"context": "Mammals",
"governing_code": "ICZN",
"includes_approximate_matches": true,
"includes_deprecated_taxa": false,
"includes_suppressed_names": false,
"matched_names": [
"Canis"
],
"results": [
{
"matches": [],
"name": "Amphibians"
},
{
"matches": [
{
"is_approximate_match": false,
"is_synonym": false,
"matched_name": "Canis",
"nomenclature_code": "ICZN",
"score": 1.0,
"search_string": "canis",
"taxon": {
"flags": [],
"is_suppressed": false,
"is_suppressed_from_synth": false,
"name": "Canis",
"ott_id": 372706,
"rank": "genus",
"source": "ott3.3draft1",
"synonyms": [
"Aenocyon",
"Alopedon",
"Alopsis",
"Canix",
"Chaon",
"Dasycyon",
"Dieba",
"Dimenia",
"Jacalius",
"Lupulella",
"Lupulus",
"Lupus",
"Lyciscus",
"Mamcanisus",
"Neocyon",
"Oreocyon",
"Oxygonus",
"Oxygous",
"Sacalius",
"Schaeffia",
"Simenia",
"Thos",
"Vulpicanis"
],
"tax_sources": [
"ncbi:9611",
"gbif:5219142",
"irmng:1282727"
],
"unique_name": "Canis"
}
},
{
"is_approximate_match": false,
"is_synonym": true,
"matched_name": "Canis",
"nomenclature_code": "ICZN",
"score": 1.0,
"search_string": "canis",
"taxon": {
"flags": [],
"is_suppressed": false,
"is_suppressed_from_synth": false,
"name": "Atelocynus",
"ott_id": 621180,
"rank": "genus",
"source": "ott3.3draft1",
"synonyms": [
"Canis"
],
"tax_sources": [
"ncbi:68721",
"gbif:2434453",
"irmng:1025378"
],
"unique_name": "Atelocynus"
}
}
],
"name": "Canis"
}
],
"taxonomy": {
"author": "open tree of life project",
"name": "ott",
"source": "ott3.3draft1",
"version": "3.3",
"weburl": "https://tree.opentreeoflife.org/about/taxonomy-version/ott3.3"
},
"unambiguous_names": [
"Canis"
],
"unmatched_names": [
"Amphibians"
]
}
Maybe try to report the issue in their tracker: https://github.com/OpenTreeOfLife/feedback
Thanks!
from rotl.
Thanks so much for looking into this @fmichonneau!
I reported it to Open Tree here OpenTreeOfLife/feedback#528
from rotl.
Related Issues (20)
- tnrs_match_names and tol_induced_subtree only pull 250 species HOT 5
- Unable to recognise the tree labels/species name in the phylogenetic tree ??
- Adding annotation to trees is not possible because of the lack of edge lengths HOT 4
- tol_induced_subtree drops supporting studies information
- Tips not ordered alphabetically for polytomies HOT 2
- tnrs_match_names bug HOT 8
- use score from tnrs match names
- Error when a species not matched with `tnrs_match_names()` HOT 1
- Error in tnrs_match_names() for unmatched names HOT 3
- Linux install HOT 2
- SSL certificate error HOT 2
- studies_find_trees returning NULL match_tree_ids HOT 1
- "The requested subtree is too large" -- possible to read in downloaded xml? HOT 2
- error with tnrs_match_names names list
- HTTP failure to connect to localhost HOT 1
- SSL certificate problem: certificate has expired HOT 1
- optimize dependencies
- `tnrs_match_names` does not return the best match in some cases HOT 4
- New bulk node_info and taxon_info api call options HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rotl.