Recent Releases of bioframe

bioframe - v0.8.0

Updates

  • bigtools engine for bigwig and bigbed
  • run length functions markruns and compressruns

Maintenance

  • Numpy 2+ support

- Python
Published by thomas-reimonn over 1 year ago

bioframe - v0.7.2

API changes

  • read_alignment function introduced in v0.7.0 has been pluralized to read_alignments

Maintenance

  • Skip read_alignments tests on big-endian architectures by @nvictus in https://github.com/open2c/bioframe/pull/216

Full Changelog: https://github.com/open2c/bioframe/compare/v0.7.1...v0.7.2

- Python
Published by nvictus about 2 years ago

bioframe - v0.7.1

Maintenance

  • Refactor join arrayops and intidx internals by @nvictus in https://github.com/open2c/bioframe/pull/204
  • NumPy 2.0 was released. Pin numpy < 2 until we migrate.

Full Changelog: https://github.com/open2c/bioframe/compare/v0.7.0...v0.7.1

- Python
Published by nvictus about 2 years ago

bioframe - v0.7.0

API changes

  • Add to_bed function to validate and write standard BED files @gamazeps in https://github.com/open2c/bioframe/pull/203
  • read_bam deprecated in favor of read_alignments @gamazeps in https://github.com/open2c/bioframe/pull/206

Documentation

  • Add "bioframe for bedtools users" guide to docs by @gamazeps in https://github.com/open2c/bioframe/pull/198

Bug fixes

  • Fix contig name and JSON issues in read_bam implementation by @gamazeps in https://github.com/open2c/bioframe/pull/206

New Contributors

  • @gamazeps made their first contribution in https://github.com/open2c/bioframe/pull/203

Full Changelog: https://github.com/open2c/bioframe/compare/v0.6.4...v0.7.0

- Python
Published by nvictus about 2 years ago

bioframe - v0.6.4

Maintenance

  • Migrate from setuptools pkg_resources to importlib.resources by @nvictus in https://github.com/open2c/bioframe/pull/194
  • Use importlib.metadata for versioning by @nvictus in https://github.com/open2c/bioframe/pull/195

Bug fixes

  • Overlap point segment patch #183 by @smitkadvani in https://github.com/open2c/bioframe/pull/184
  • #167: Replaced np.int with int as the attribute is deprecated by numpy by @harshit148 in https://github.com/open2c/bioframe/pull/192

New Contributors

  • @harshit148 made a first contribution in https://github.com/open2c/bioframe/pull/192

Full Changelog: https://github.com/open2c/bioframe/compare/v0.6.3...v0.6.4

- Python
Published by nvictus over 2 years ago

bioframe - v0.6.3

Bug fixes

  • Prevent dropout from closest in some cases of left intervals with no neighbors by @agalitsyna in https://github.com/open2c/bioframe/pull/185
  • Fix overlap returning float indexes causing failing tests (numpy v1.22.4, pandas v1.5.2) by @agalitsyna in https://github.com/open2c/bioframe/pull/185

Full Changelog: https://github.com/open2c/bioframe/compare/v0.6.2...v0.6.3

- Python
Published by nvictus over 2 years ago

bioframe - v0.6.2

What's Changed

  • cols and dfviewcol passed to downstream functions by @smitkadvani in https://github.com/open2c/bioframe/pull/182

Fixes

  • Update to new UCSC hgdownload url by @golobor and @nvictus in https://github.com/open2c/bioframe/pull/187

Full Changelog: https://github.com/open2c/bioframe/compare/v0.6.1...v0.6.2

- Python
Published by nvictus over 2 years ago

bioframe - v0.6.1

Default behavior of ensure_nullable option in overlap was modified to minimize the possibility of regressions in libraries that depend on legacy behavior.

  • The new option was renamed ensure_int and is True by default. It ensures that output coordinate columns are always returned with an integer dtype, as was the case in prior versions. This is achieved by converting columns having non-nullable NumPy dtypes to Pandas nullable ones in the specific case where the result of an outer join generates missing values; otherwise, column dtypes are preserved unchanged in the output.
  • Unlike previous minor versions of bioframe, the nullable dtype chosen will have the same underlying type as the corresponding column from the input (i.e, an input dataframe using np.uint32 start coordinates may yield a pd.UInt32 start column in the output).
  • This behavior can be turned off by setting ensure_int to False, in which case outer joins on dataframes using NumPy dtypes may produce floating point output columns when missing values are introduced (stored as NaN), following the native casting behavior of such columns.

- Python
Published by nvictus over 2 years ago

bioframe - v0.6.0

API changes: * overlap: In previous versions, output coordinate columns were always converted to Pandas "nullable" Int64DType before returning. In the interest of flexibility, memory efficiency, and least surprise, the coordinate columns returned in the output dataframe now preserve dtype from the input dataframes, following native type casting rules if missing data are introduced. We introduce the ensure_nullable argument to force Pandas nullable dtypes in the output coordinates. See the docs for more details. (#178)

Bug fixes: * Fixed coverage with custom cols1 (#170)

Documentation: * Added contributing guidelines and NumFOCUS affiliation. * Updated README and added CITATION.cff file. * Updated performance benchmarks.

- Python
Published by nvictus over 2 years ago

bioframe - v0.5.1

Bug fixes

  • Series are treated like dict in make_chromarms

- Python
Published by nvictus over 2 years ago

bioframe - v0.5.0

API changes: * New builtin curated genome assembly database (metadata, chromsizes, cytobands): * bioframe.list_assemblies() * bioframe.assembly_info() * New UCSC RGB color converter utility #158 * Options added to pair_by_distance

Bug fixes: * Make expand throw an error if both pad and scale are passed (#148) * Fixes to bioframe.select query interval semantics (#147)

Maintenance: * Migrate to hatch build system and pyproject.toml * Various refactorings

- Python
Published by nvictus almost 3 years ago

bioframe - v0.4.1

Bug fixes: * Fix bug introduced in the last release in select and select_* query interval semantics. Results of select are now consistent with the query interval being interpreted as half-open, closed on the left.

- Python
Published by nvictus about 3 years ago

bioframe - v0.4.0

API changes: * New strand-aware directionality options for closest() via direction_col #129. * New index-based range query selectors on single bioframes to complement select() #128: * select_mask() returns boolean indices corresponding to intervals that overlap the query region * select_indices() returns integer indices corresponding to intervals that overlap the query region * select_labels() returns pandas label indices corresponding to intervals that overlap the query region

Bug fixes: * Import fixes in sandbox * Relax bioframe validator to permit using same column as start and end (e.g. point variants).

- Python
Published by nvictus over 3 years ago

bioframe - v0.3.3

Bug fixes * fixed a couple functions returning an error instance instead of raising * fetch_mrna link fixed

- Python
Published by nvictus over 4 years ago

bioframe - v0.3.2

  • fixes error in is_contained
  • tutorial updates

- Python
Published by gfudenberg over 4 years ago

bioframe - v0.3.1

API changes: - bioframe.sort_bedframe does not append columns or modify their dtypes.

- Python
Published by sergpolly over 4 years ago

bioframe - v0.3.0

Maintenance

  • Drop support for Python 3.6, add support for 3.9
  • Pandas dependency bumped to 1.3
  • Lots of new documentation

Conceptual changes

We formulated strict definitions for genomic intervals, dataframes, and their various properties. All bioframe functions are expected to adhere to these definitions.

API changes

Reorganize modules * ops - operations on genomic interval dataframes * extras - miscellaneous operations, most involving genomic sequences and gene annotations * vis - visualizations of genomic interval dataframes * core.arrops - operations on genomic interval arrays * core.checks - tests for definitions of genomic interval dataframes * core.construction - construction and sanitization of genomic interval dataframes * core.specs - specifications for the implementation of genomic intervals using pandas dataframes (i.e. column names, datatypes, etc) * core.stringops - operations on genomic interval strings * io.fileops - I/O on common file formats for genomic data * io.schemas - schemas for standard tabular formats for genomic data storage * io.resources - interfaces to popular online genomic data resources

New functions * extras.pairbydistance, ops.sortbedframe, ops.assignview, dataframe constructors

Existing functions * expand: take negative values and fractional values * overlap: change default suffixes, keeporder=True * subtract: add returnindex and keep_order

Enable pd.NA for missing values, typecasting

Data additions

  • add schemas for bedpe, gap, UCSCmRNA, pgsnp
  • add tables with curated detailed genome assembly information

Miscellaneous

  • frac_gc is faster now

- Python
Published by nvictus almost 5 years ago

bioframe - v0.2.0

API changes * read_chromsizes and fetch_chromsizes: add new as_bed parameter. * read_chromsizes and fetch_chromsizes: revert to filtering chromosome names by default, but clearly expose filter_chroms kwarg.

Bug fixes * Fixed bioframe.split * Restored frac_genome_coverage

- Python
Published by nvictus over 5 years ago

bioframe - v0.1.0

First beta release.

What's new

  • New extensive dataframe genomic interval arithmetic toolsuite.
  • Improved region handling and region querying functions.
  • Documentation!

Maintenance

  • Dropped Python 2 support
  • Refactoring of various genome operations and resources.
  • Improved testing and linting

- Python
Published by nvictus almost 6 years ago

bioframe - v0.1.0-rc1

Testing publishing to PyPI with Github Actions.

- Python
Published by nvictus almost 6 years ago

bioframe - v0.0.12-doi

Zenodo.

- Python
Published by nvictus about 6 years ago

bioframe - v0.0.12

Hot fix release

  • Restore working fetch_centromeres #31

- Python
Published by nvictus about 6 years ago

bioframe - v0.0.11

Hot fix release

  • Fixed bug in bisect_bedframe affecting cooltools eigendecomposition and saddle plots

- Python
Published by nvictus about 6 years ago

bioframe - v0.0.10

  • Dataframes can now be passed as bedtools arguments instead of using the tsv() context managers.
  • Explicitly set header=False on Series.to_csv because pandas default has changed to True.
  • Fixed parquet reader.

- Python
Published by nvictus over 6 years ago

bioframe - v0.0.9

Add read_parquet function with pandas-style iterator option.

- Python
Published by nvictus about 7 years ago

bioframe - v0.0.8

  • bug fixes
  • centromere functions
  • conditional imports of pysam and pyfaidx

- Python
Published by nvictus over 7 years ago

bioframe - v0.0.7

  • add requests to dependencies

- Python
Published by golobor almost 8 years ago

bioframe - v0.0.6

  • allow right open-ended intervals (e.g. (chr1, 0, None))

- Python
Published by golobor almost 8 years ago

bioframe - v0.0.5

  • New pairix dask API

- Python
Published by nvictus about 8 years ago

bioframe - v0.0.4

Features added

  • New parquet writer to write a potentially long (larger than memory) iterable of dataframe chunks to a single parquet file.

- Python
Published by nvictus about 8 years ago