- Refactored FAI writing to account for system locale setting (166) folded
0.5.9
- more efficient iterator method for `Fasta` objects in 163 (thanks C-nit)
0.5.8
- Implemented `Fasta.__len__` (157) - `Sequence` instances can now be compared against strings (158 thanks Maarten-vd-Sande)
0.5.7
- `Fasta` instances now have dictionary methods: `Fasta.keys` returns sequence names, `Fasta.values` returns `FastaRecord` instances, and `Fasta.items` returns a tuple of (key, value) pairs. 156 (thanks Maarten-vd-Sande)
0.5.6
- Support for returning zero-length sequences (155 and 93 see example below) (thanks prihoda!)
>>> from pyfaidx import Fasta >>> fasta = Fasta('data/genes.fasta', strict_bounds=True) >>> len(fasta['gi|557361099|gb|KF435150.1|'][100:100] == 0 True
0.5.5.2
- minor bug fix release adding support for python 3.7 (145)