All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v0.5.4 - 2021-09-18
Prediction.confidence
method to compute the confidence for a prediction like reported in Prodigal's GFF output.Prediction.sequence
method get the nucleotide sequence of a predicted gene (#4).
- Replaced internal storage of input sequences to use a byte array instead of a bitmap.
- Extract
Prediction.gc_cont
number directly from the start node instead of the text representation to get full accuracy. - Prodigal bug causing nodes on the reverse strand to always receive a penalty instead of penalizing only small ORFs (hyattpd/Prodigal#88).
v0.5.3 - 2021-09-12
Prediction.translate
not translating the last unknown codon properly for genes on the direct strand.
v0.5.2 - 2021-09-11
- Make
Pyrodigal.train
return a reference to the newly createdTrainingInfo
for inspection if needed. - Reimplement
add_nodes
andadd_genes
to use a growable array instead of counting and pre-allocating the C arrays.
- Inconsistent handling of unknown nucleotides in input sequences and gene translations.
v0.5.1 - 2021-09-04
- Additional
Gene
properties to access the score
- 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 toPyrodigal.find_genes
. - Release the GIL when creating the protein sequence returned by
Gene.translate
.
Pyrodigal.find_genes
andGene.translate
not behaving like Prodigal when handling sequences with unknown nucleotides.
v0.5.0 - 2021-06-15
pyrodigal.TrainingInfo
class exposing variables obtained during training as an attribute toPyrodigal
,Gene
andGenes
instance.- Support for passing objects implementing the buffer protocol to
Pyrodigal.find_genes
andPyrodigal.train
instead of requiringstr
sequences.
- Potential data race on training info in case a
Gene.translate
with a non-default translation table was being translated at the same time as aPyrodigal.find_genes
call. - Spurious handling of Unicode strings causing potential issues on platform using a different base encoding.
v0.4.7 - 2021-04-09
Pyrodigal.find_genes
segfaulting on some sequences when called insingle
mode (#2).MemoryError
potentially not being properly raised on allocation issues for sequence bitmaps.
v0.4.6 - 2021-03-05
- Tests are now in the
pyrodigal.tests
module and can be run after a site install.
Pyrodigal.find_genes
stalling on sequences shorter than 3 nucleotides.
v0.4.5 - 2021-03-03
- Compilation of OSX and Windows wheels.
v0.4.4 - 2021-03-03
- Mark package as OS-independent.
- Support for Python 3.5.
- Compilation of PyPy wheels on OSX.
v0.4.3 - 2021-03-01
- Buffer overflow when running in
meta
mode on a sequence too small to have any dynamic programming nodes.
v0.4.2 - 2021-02-07
- Buffer overflow coming from the node array, caused by an incorrect estimation of the node count from the sequence length.
v0.4.1 - 2021-01-07
- Python 3.5 from the project metadata (the code was only compatible with Python 3.6+ already because of f-strings).
- Broken linking of static
libprodigal
against the_pyrodigal
extension on some OSX environments (bioconda/bioconda-recipes#25568).
v0.4.0 - 2021-01-06
trans_table
keyword argument toPyrodigal.train
has been renamed totranslation_table
.
- Option to change the translation table to any allowed number in
Gene.translate
(#1).
v0.3.2 - 2020-11-27
- Broken compilation of PyPy wheels in Travis-CI.
v0.3.1 - 2020-11-27
- Link to Zenodo record in
README.md
. Typing :: Typed
classifier to the PyPI metadata.- Explicit support for Python 3.9.
- Streamlined compilation process when building from source distribution.
v0.3.0 - 2020-09-07
- Thread-safety for all
Pyrodigal
methods
- Reduced total amount of memory used to allocated dynamic programming nodes for a given sequence.
v0.2.4 - 2020-09-04
- Precompiled wheels for Windows x86-64 platform.
- Compilation of large
Prodigal/training.c
file is now done in chunks and usesstatic const
to reduce build time.
v0.2.3 - 2020-08-09
- Buffer overflow issue with Pyrodigal in
closed=False
mode.
v0.2.2 - 2020-07-14
- Access to the translation table of a
Gene
object.
v0.2.1 - 2020-05-29
- Memory issues causing PyPy to crash when using
Pyrodigal
in single mode.
v0.2.0 - 2020-05-28
- Support for Prodigal's single mode.
v0.1.1 - 2020-04-30
- Distribution of CPython wheels for ManyLinux2010 and OSX platforms.
v0.1.0 - 2020-04-27
Initial release.