Releases: CVUA-RRW/taxidtools
Releases · CVUA-RRW/taxidtools
3.1.1
3.1.0
3.0.0
2.5.2
2.5.1
2.5.0
New features
- It is now possible to provide merged nodes, either form the taxdump file
merged.dmp
or directly via instances of the classMergedNode
- Attempting to retrieve a MergedNode from a Taxonomy instance will return the node it was merged with.
Bug Fix
- Instanciating a Lineage from a DummyNode doesn't raise an Error anymore
2.4.0
New features
- Added a
Taxonomy.copy()
method as a shorthand forcopy.deepcopy(Taxonomy)
- Added an
inplace
argument toTaxonomy
methodsfilterRanks()
andprune()
, allowing chose whether to return a modified deepcopy of the instance od modifiy it in place
Improvements
- Unit tests now use temporary directories to test IO methods
- The
Taxonomy.filter()
method will now return aValueError
when attempting to useroot
rank in the filtering instead of creating new root Nodes
Pending deprecation
Taxonomy.from_json
will be removed in 3.0.0, it is replaced byread_json
, a module level constructor.load
will be removed in 3.0.0, it is replaced byread_json
, a module level constructor.Taxonomy.from_taxdump
will be removed in 3.0.0, it is replaced byread_taxdump
, a module level constructor.load_ncbi
will be removed in 3.0.0, it is replaced byread_ncbi
, a better-named module level constructor.
Bug Fix
Taxonomy.listDescendant
now does filter output based on the ranks parameter- Repaired
Node.node_info
output to actually use newlines instead of printing '\n'