From 4d4ebe26c435defe758d27b56954335b560098ef Mon Sep 17 00:00:00 2001 From: Martin Larralde Date: Sun, 19 May 2024 01:22:37 +0200 Subject: [PATCH] Release v3.4.0 --- .github/workflows/package.yml | 10 +++++----- CHANGELOG.md | 20 +++++++++++++++++++- pyrodigal/_version.py | 2 +- 3 files changed, 25 insertions(+), 7 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 3a835de..5c33052 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -34,7 +34,7 @@ jobs: with: platforms: all - name: Build manylinux wheels - uses: pypa/cibuildwheel@v2.16.2 + uses: pypa/cibuildwheel@v2.18.0 env: CIBW_ARCHS: aarch64 CIBW_BUILD: ${{ matrix.python-tag }} @@ -71,7 +71,7 @@ jobs: with: submodules: true - name: Build manylinux wheels - uses: pypa/cibuildwheel@v2.16.2 + uses: pypa/cibuildwheel@v2.18.0 env: CIBW_ARCHS: x86_64 CIBW_BUILD: ${{ matrix.python-tag }} @@ -108,7 +108,7 @@ jobs: with: submodules: true - name: Build manylinux wheels - uses: pypa/cibuildwheel@v2.16.2 + uses: pypa/cibuildwheel@v2.18.0 env: CIBW_ARCHS: x86_64 CIBW_BUILD: ${{ matrix.python-tag }} @@ -139,7 +139,7 @@ jobs: with: submodules: true - name: Build manylinux wheels - uses: pypa/cibuildwheel@v2.16.2 + uses: pypa/cibuildwheel@v2.18.0 env: CIBW_ARCHS: arm64 CIBW_BUILD: ${{ matrix.python-tag }} @@ -176,7 +176,7 @@ jobs: with: submodules: true - name: Build manylinux wheels - uses: pypa/cibuildwheel@v2.16.2 + uses: pypa/cibuildwheel@v2.18.0 env: CIBW_ARCHS: AMD64 CIBW_BUILD: ${{ matrix.python-tag }} diff --git a/CHANGELOG.md b/CHANGELOG.md index d5dd63d..5a4dc68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,25 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -[Unreleased]: https://github.com/althonos/pyrodigal/compare/v3.3.0...HEAD +[Unreleased]: https://github.com/althonos/pyrodigal/compare/v3.4.0...HEAD + + +## [v3.4.0] - 2024-05-19 +[v3.4.0]: https://github.com/althonos/pyrodigal/compare/v3.3.0...v3.4.0 + +### Added +- `strict` argument to `Gene.translate` to control translation of ambiguous codons with unambiguous translation ([#54](https://github.com/althonos/pyrodigal/issues/54)). +- `strict_translation` argument to `Genes.write_genbank` and `Genes.write_translation`. +- Support for translation tables 26 to 33 in `Gene.translate`. +- Support for translation tables 26, 29, 30, 32 and 33 in `GeneFinder.train`. +- `Genes.score` property to count the total score of all extracted genes. +- `full_id` parameter to `Genes.write_gff`, `Genes.write_translation` and `Genes.write_genes` to control the `ID` field written for each gene ([#53](https://github.com/althonos/pyrodigal/issues/53)). + +### Changed +- `Gene.translate` now raises a warning when called with a translation table incompatible with the training info. + +### Fixed +- Bug in code for masking trailing nucleotides ([#55](https://github.com/althonos/pyrodigal/issues/55)). ## [v3.3.0] - 2024-01-24 diff --git a/pyrodigal/_version.py b/pyrodigal/_version.py index 88c513e..903a158 100644 --- a/pyrodigal/_version.py +++ b/pyrodigal/_version.py @@ -1 +1 @@ -__version__ = "3.3.0" +__version__ = "3.4.0"