Releases: althonos/pyrodigal
Releases · althonos/pyrodigal
v0.7.1
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 theunknown_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
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__
andNode.__repr__
methods to display some useful attributes.Sequence.__str__
method to get back a nucleotide string from aSequence
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 (usepyrodigal.OrfFinder
instead).pyrodigal.Predictions
class (functionality merged intopyrodigal.Genes
).
0.6.4
0.6.3
Added
pyrodigal
command line script exposing a CLI mimicking the originalprodigal
binary.write_gff
,write_genes
andwrite_translations
methods topyrodigal.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 topyrodigal.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
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
0.6.0
0.5.4
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
0.5.2
Changed
- 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.
Fixed
- Inconsistent handling of unknown nucleotides in input sequences and gene translations.