Skip to content

Releases: althonos/pyrodigal

0.6.3

23 Dec 00:38
Compare
Choose a tag to compare

Added

  • pyrodigal command line script exposing a CLI mimicking the original prodigal binary.
  • write_gff, write_genes and write_translations methods to pyrodigal.Predictions to write the predictions results to a file in different formats.
  • Implementation for masking regions of unknown nucleotides in input sequences.

Changed

  • Renamed pyrodigal.Pyrodigal class to pyrodigal.OrfFinder.

Fixed

  • setup.py build different SIMD implementations with the same set of feature flags, causing compilers to re-optimize the SIMD implementations.

0.6.2

25 Sep 15:47
Compare
Choose a tag to compare

Added

  • Sphinx documentation with small install guide and API reference.

Fixed

  • setup.py not detecting SSE2 and AVX2 build support because of a linker error.

Changed

  • Build OSX extension without AVX2 support since runtime detection of AVX2 to avoid the Illegal Instruction: 4 bug on older CPUs.

0.6.1

24 Sep 00:51
Compare
Choose a tag to compare

Fixed

  • Source distribution lacking C files necessary for building cpu_features.

0.6.0

23 Sep 18:13
Compare
Choose a tag to compare

Added

  • SIMD code to build an index of which connections can be skipped when scoring node connections in the dynamic programming routine (#6).

0.5.4

18 Sep 11:39
Compare
Choose a tag to compare

Added

  • 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).

Changed

  • Replaced internal storage of input sequences to use a byte array instead of a bitmap.

Fixed

  • 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).

0.5.3

11 Sep 23:29
Compare
Choose a tag to compare

Fixed

  • Prediction.translate not translating the last unknown codon properly for genes on the direct strand.

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.