- 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)
0.5.5.1
- Added better exceptions for files that do not contain any valid sequences (144)
0.5.5
- Added proper BGZF support, fixing 131. Note: this fix requires code present in Biopython 1.73, which is not yet released. If you need this functionality in the mean time, install the biopython development version - Enhancement to `faidx` script: allow -v to be specified alongside -g (142). Thanks daler!