Releases: althonos/pyrodigal
Releases · althonos/pyrodigal
v1.0.0
Stable version, to be published in the Journal of Open-Source Software.
Added
pickleprotocol implementation forNodes,TrainingInfo,OrfFinder,Sequence,MasksandGenesobjects.- Buffer protocol implementation for
Sequence, allowing access to raw digits. __eq__and__repr__magic methods toMaskobjects.
Changed
- Optimized code used for region masking to avoid searching for the same mask repeatedly.
TRANSLATION_TABLESandMETAGENOMIC_BINSare now exposed as constants in the toppyrodigalmodule.- Refactored connection scoring into different functions based on the type (start/stop) and strand (direct/reverse) of the node being scored.
- Changed the growth factor for dynamic arrays to be the same as the one used in CPython
listbuffers.
v0.7.3
v0.7.2
Changed
- Improve performance of
mer_ndxandscore_connectionusing dedicated implementations with better branch prediction. - Mark arguments as
constin C code where possible.
Fixed
- Signatures of Cython classes not displaying properly because of the
embedsignaturedirective. _sequence.hfunctions not being inlined as expected.
v0.7.1
Changed
- Rewrite internal
Sequencecode using inlined functions to increase performance when the strand is known.
Fixed
Nodes.copypotentially failing on empty collections after trying to allocate 0 bytes.TestGenes.test_write_scoresfailing on some machines because of float rounding issues.Gene.translateignoring theunknown_residueargument value and always using"X".- Memory leak in
Pyrodigal.traincause by memory not being freed after building the GC frame plot.
v0.7.0
Added
- Support for setting a custom minimum gene length in
pyrodigal.OrfFinder. Genes.write_scoresmethod to write the node scores to a file.Gene.__repr__andNode.__repr__methods to display some useful attributes.Sequence.__str__method to get back a nucleotide string from aSequenceobject.
Changed
- Use a more compact data structure to store
Genedata.
Fixed
Nodes._calc_orf_gcreading nucleotides after the sequence end when computing GC content for edge nodes.
Removed
pyrodigal.Pyrodigalclass (usepyrodigal.OrfFinderinstead).pyrodigal.Predictionsclass (functionality merged intopyrodigal.Genes).
0.6.4
0.6.3
Added
pyrodigalcommand line script exposing a CLI mimicking the originalprodigalbinary.write_gff,write_genesandwrite_translationsmethods topyrodigal.Predictionsto write the predictions results to a file in different formats.- Implementation for masking regions of unknown nucleotides in input sequences.
Changed
- Renamed
pyrodigal.Pyrodigalclass topyrodigal.OrfFinder.
Fixed
setup.pybuild different SIMD implementations with the same set of feature flags, causing compilers to re-optimize the SIMD implementations.
0.6.2
Added
- Sphinx documentation with small install guide and API reference.
Fixed
setup.pynot 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: 4bug on older CPUs.