Biom-format

Latest version: v2.1.15

Safety actively analyzes 613603 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

2.1.15

-----------

Maintenance and bug fix release, May 4th 2023.

Bug fixes:

* Allow `Table.to_json` to properly handle numpy types in metadata, see issue [886](https://github.com/biocore/biom-format/issues/886)
* Do not modify IDs in place in the presence of duplicate relabels, see issue [892](https://github.com/biocore/biom-format/issues/892)
* Catch an edge case where a failured ID update in place would actually change IDs, see issue [892](https://github.com/biocore/biom-format/issues/892)

New features:

* `biom.parse.save_table` makes saving less tedious, see issue [897](https://github.com/biocore/biom-format/issues/897)
* `biom.util.biom_open` now supports pathlib.Path, see issue [894](https://github.com/biocore/biom-format/issues/894)
* You can now set a random seed at the call to `Table.subsample`, see issue [914](https://github.com/biocore/biom-format/issues/914).

General maintenance:

* Allow specifying a creation time on write, see issue [895](https://github.com/biocore/biom-format/issues/895)
* h5py optional code blocks have been removed, see issue [896](https://github.com/biocore/biom-format/issues/896)
* Many warnings from the test suite have been resolved, see issue [912](https://github.com/biocore/biom-format/issues/912)
* Politely error when validating non biom-format files, see issue [901](https://github.com/biocore/biom-format/issues/901)
* Disallow `head` with `-n <= 0` and `-m <= 0`, see issue [899](https://github.com/biocore/biom-format/issues/899)

2.1.14

-----------

Bug fix, released on 3 January 2023.

Bug:

* `Table.collapse(..., one_to_many=True)` had a lingering dense conversion being performed. Avoiding this conversion yields nearly a 100x performance gain [PR 888](https://github.com/biocore/biom-format/pull/888).

2.1.13

-----------

Substantial performance improvement and bug fix, released on 9 December 2022.

Important:

* Python 3.6 testing support has been removed.

New features:

* `Table.collapse(..., one_to_many=True)` now uses a sparse matrix on construction, substantially reducing memory overhead [PR 884](https://github.com/biocore/biom-format/pull/884).

Bug fixes:

* `Table.metadata_to_dataframe()` now considers all rows for column names, see [PR 881](https://github.com/biocore/biom-format/pull/881)

2.1.11

-----------

General maintenance and feature expansion, released on 25 March 2022.

Bug fixes:

* `Table.from_json` now respects the creation date [issue 770](https://github.com/biocore/biom-format/issues/770) in Python 3.7 and higher

New Features

* Python 3.10 support, see [PR 865](https://github.com/biocore/biom-format/pull/865)
* 10x improvement on `Table.collapse` when operating over many partitions, see [PR 866](https://github.com/biocore/biom-format/pull/866)
* Minor performance improvement, see [PR 871](https://github.com/biocore/biom-format/pull/871)
* Coerce consistent, and fixed width, types for IDs, see [PR 872](https://github.com/biocore/biom-format/pull/872)
* Table / metadata alignment support, see [PR 859](https://github.com/biocore/biom-format/pull/859)

2.1.10

-----------

Bug fix, released on 16 November 2020.

Bug fixes:

* During deployment testing for QIIME 2 2020.11, it was observed that certain combinations of hdf5 or h5py dependencies can result in metadata strings parsing as ASCII rather than UTF-8. Parse of BIOM-Format 2.1.0 files now normalize metadata strings as UTF-8, see [PR 853](https://github.com/biocore/biom-format/pull/853).

New Features

* Added support for aligning dataframes and trees against biom tables with `Table.align_to_dataframe` and `Table.align_tree`. see [PR 859](https://github.com/biocore/biom-format/pull/859)

2.1.9

----------

New features and support for Pandas >= 1.0, released on 5 November 2020.

Important:

* Cython and numpy are no more required to be present before building, see [PR 840](https://github.com/biocore/biom-format/pull/840)

New Features:

* Added support for the AnnData format, see [PR 845](https://github.com/biocore/biom-format/pull/845)
* Performance boost to `Table.remove_empty`. For large tables this cuts the running time from 20 seconds to ~1.1 seconds, see [PR 847](https://github.com/biocore/biom-format/pull/847)
* A much faster way to merge tables (without metadata) has been added. For large tables, this was a few minutes rather than a few hours. This method is implicitly invoked when calling `Table.merge` if unioning both axes, and the tables lack metadata. `Table.concat` is still much faster, but assumes one axis is disjoint. See [PR 848](https://github.com/biocore/biom-format/pull/848).

* Simplify interaction with the concatenation method, allowing for passing in an individual table and support for a general `biom.concat(tables)` wrapper. See [PR 851](https://github.com/biocore/biom-format/pull/851).
* Added support for parsing adjacency table structures, see [issue 823](https://github.com/biocore/biom-format/issues/823).

Bug fixes:

* Support for pandas >= 1.0, see the comment and commits [here](https://github.com/biocore/biom-format/issues/837#issuecomment-721241751)

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.