Releases: apcamargo/taxopy
Releases · apcamargo/taxopy
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