Skip to content

Releases: althonos/pyrodigal

0.5.2

11 Sep 12:27
Compare
Choose a tag to compare

Changed

  • Make Pyrodigal.train return a reference to the newly created TrainingInfo for inspection if needed.
  • Reimplement add_nodes and add_genes to use a growable array instead of counting and pre-allocating the C arrays.

Fixed

  • Inconsistent handling of unknown nucleotides in input sequences and gene translations.

0.5.1

04 Sep 11:35
Compare
Choose a tag to compare

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.

0.5.0

15 Jun 20:12
Compare
Choose a tag to compare

Added

  • pyrodigal.TrainingInfo class exposing variables obtained during training as an attribute to Pyrodigal, Gene and Genes instance.
  • Support for passing objects implementing the buffer protocol to Pyrodigal.find_genes and Pyrodigal.train instead of requiring str sequences.

Fixed

  • 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 a Pyrodigal.find_genes call.
  • Spurious handling of Unicode strings causing potential issues on platform using a different base encoding.

0.4.7

09 Apr 01:53
Compare
Choose a tag to compare

Fixed

  • Pyrodigal.find_genes segfaulting on some sequences when called in single mode (#2).
  • MemoryError potentially not being properly raised on allocation issues for sequence bitmaps.

0.4.6

05 Mar 14:07
Compare
Choose a tag to compare

Changed

  • Tests are now in the pyrodigal.tests module and can be run after a site install.

Fixed

  • Pyrodigal.find_genes stalling on sequences shorter than 3 nucleotides.

0.4.5

03 Mar 19:04
Compare
Choose a tag to compare

Fixed

  • Compilation of OSX and Windows wheels.

0.4.4

03 Mar 16:02
Compare
Choose a tag to compare

Fixed

  • Mark package as OS-independent.

Added

  • Support for Python 3.5.
  • Compilation of PyPy wheels on OSX.

0.4.3

01 Mar 15:05
Compare
Choose a tag to compare

Fixed

  • Buffer overflow when running in meta mode on a sequence too small to have any dynamic programming nodes.

0.4.2

07 Feb 17:03
Compare
Choose a tag to compare

Fixed

  • Buffer overflow coming from the node array, caused by an incorrect
    estimation of the node count from the sequence length.

0.4.1

07 Jan 13:35
v0.4.1
Compare
Choose a tag to compare

Removed

  • Python 3.5 from the project metadata (the code was only compatible with
    Python 3.6+ already because of f-strings).

Fixed