Skip to content

Releases: althonos/pyrodigal

v0.7.1

14 Mar 18:00
Compare
Choose a tag to compare

Changed

  • Rewrite internal Sequence code using inlined functions to increase performance when the strand is known.

Fixed

  • Nodes.copy potentially failing on empty collections after trying to allocate 0 bytes.
  • TestGenes.test_write_scores failing on some machines because of float rounding issues.
  • Gene.translate ignoring the unknown_residue argument value and always using "X".
  • Memory leak in Pyrodigal.train cause by memory not being freed after building the GC frame plot.

v0.7.0

12 Mar 23:45
Compare
Choose a tag to compare

Added

  • Support for setting a custom minimum gene length in pyrodigal.OrfFinder.
  • Genes.write_scores method to write the node scores to a file.
  • Gene.__repr__ and Node.__repr__ methods to display some useful attributes.
  • Sequence.__str__ method to get back a nucleotide string from a Sequence object.

Changed

  • Use a more compact data structure to store Gene data.

Fixed

  • Nodes._calc_orf_gc reading nucleotides after the sequence end when computing GC content for edge nodes.

Removed

  • pyrodigal.Pyrodigal class (use pyrodigal.OrfFinder instead).
  • pyrodigal.Predictions class (functionality merged into pyrodigal.Genes).

0.6.4

23 Dec 16:42
Compare
Choose a tag to compare

Added

  • load and dump methods to TrainingInfo for storing and loading a raw training info structure.
  • Support for creating an OrfFinder pre-configured with a training info.
  • -t and -n flags to the CLI.

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.