Fetch informations from Open Tree of Life API and send it to standard output.
Usage: otlsearch "taxon name"
, inside quotation marks for composed names (i.e. "Canis lupus").
If you want to save the output just use terminal resources like : otlsearch "Canis lupus" > Canis_lupus.txt
. This will save a text file with the search results to the current directory.
Bellow an output example:
Open Tree of Life constructs a comprehensive, dynamic and digitally available tree of life by synthesizing published phylogenetic trees along with taxonomic data. https://tree.opentreeoflife.org
- Search: Canis familiaris | * Synonym: Yes
- Taxon: Canis lupus
- Rank: species
- Score: 1.0
- Ott: https://tree.opentreeoflife.org/taxonomy/browse?id=247341
- Newick: https://tree.opentreeoflife.org/opentree/default/download_subtree/ottol-id/247341
-
Synonyms:
Aenocyon milleri
Canis dingo
Canis familiaris
Canis furlongi
Canis lycaon
Canis milleri
Canis nubilus
Canis occidentalis
Canis pambasileus
Canis petrolei
Canis tundrarum
Canis variabilis
Lupus gigas
Lupus lupus