Taxonomic Identifiers Class¶
-
class
pytaxize.
Ids
(name)[source]¶ ids: A class for taxonomic identifiers
Usage:
from pytaxize import Ids x = Ids('Poa annua') x x.name x.ncbi() x.ids x.db_ids # more than one result x = Ids(name="Echinacea") x.ncbi() x.ids x.ids["Echinacea"] # more than one name supplied x = Ids(name=['Helianthus annuus', 'Poa annua', 'Echinacea']) x x.ncbi() x x.ids x.ids["Helianthus annuus"] x.ids["Poa annua"] x.ids["Echinacea"] # extract just ids out = x.extract_ids() out["Echinacea"] # ITIS x = Ids("Helianthus annuus") x.itis(type="scientific") x.extract_ids() # EOL z = Ids("Helianthus annuus") z.eol() z.extract_ids() z.ids