Skip to content

Commit

Permalink
Release v0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Sep 5, 2021
1 parent 8eab2ce commit 4680f5c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.


## [Unreleased]
[Unreleased]: https://github.com/althonos/pyrodigal/compare/v0.5.0...HEAD
[Unreleased]: https://github.com/althonos/pyrodigal/compare/v0.5.1...HEAD


## [v0.5.1] - 2021-09-04
[v0.5.1]: https://github.com/althonos/pyrodigal/compare/v0.5.0...v0.5.1

### Added
- Additional `Gene` properties to access the score

### Changed
- Use more efficient `PyUnicode` macros when reading or creating a string containing a nucleotide or a protein sequence.
- Release the GIL when creating a bitmap for an `str` given as input to `Pyrodigal.find_genes`.
- Release the GIL when creating the protein sequence returned by `Gene.translate`.

### Fixed
- `Pyrodigal.find_genes` and `Gene.translate` not behaving like Prodigal when handling sequences with unknown nucleotides.


## [v0.5.0] - 2021-06-15
Expand Down
2 changes: 1 addition & 1 deletion pyrodigal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

__author__ = "Martin Larralde <[email protected]>"
__license__ = "GPLv3"
__version__ = "0.5.0"
__version__ = "0.5.1"

_Sequence.register(Genes)
12 changes: 12 additions & 0 deletions pyrodigal/__init__.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,9 @@ cdef class Gene:
@property
def cscore(self):
"""`float`: The coding score for the start node, based on 6-mer usage.
.. versionadded:: 0.5.1
"""
assert self.gene != NULL
assert self.nodes != NULL
Expand All @@ -604,6 +607,9 @@ cdef class Gene:
@property
def sscore(self):
"""`float`: The score for the strength of the start codon.
.. versionadded:: 0.5.1
"""
assert self.gene != NULL
assert self.nodes != NULL
Expand All @@ -612,6 +618,9 @@ cdef class Gene:
@property
def tscore(self):
"""`float`: The score for the codon kind (ATG/GTG/TTG).
.. versionadded:: 0.5.1
"""
assert self.gene != NULL
assert self.nodes != NULL
Expand All @@ -620,6 +629,9 @@ cdef class Gene:
@property
def uscore(self):
"""`float`: The score for the upstream regions.
.. versionadded:: 0.5.1
"""
assert self.gene != NULL
assert self.nodes != NULL
Expand Down

0 comments on commit 4680f5c

Please sign in to comment.