Releases: apcamargo/taxopy
Releases · apcamargo/taxopy
v0.13.0
- Allow download of a remote custom taxdump via the
taxdump_url
parameter of theTaxDb
class. - Allow fuzzy string matching in
taxid_from_name
through thefuzzy
parameter. The degree of similarity between the query and the matches can be controlled using thescore_cutoff
parameter.
v0.12.0
v0.11.0
v0.10.3
v0.10.2
v0.10.1
v0.10.0
- Migrated from
setup.py
toflit
. - Class attributes are now exposed using getters (via the
@property
decorator). - Added a
__str__
dunder method to theTaxon
class. - Modified
Taxon
's__repr__
dunder method to make it display a string that resembles GTDB's lineage strings:
taxon = taxopy.Taxon(9673, taxdb)
repr(taxon)
r__Riboviria;k__Orthornavirae;p__Lenarviricota;c__Leviviricetes;o__Timlovirales
- Added a
parent
method to theTaxon
class:
taxon = taxopy.Taxon(9673, taxdb)
parent_taxon = taxon.parent(taxdb)
print(taxon)
print(parent_taxon)
r__Riboviria;k__Orthornavirae;p__Lenarviricota;c__Leviviricetes;o__Timlovirales
r__Riboviria;k__Orthornavirae;p__Lenarviricota;c__Leviviricetes