Efficient pythonic random access to fasta subsequences
FastaVariant
raises an exception when the requested sequence is not present in both the FASTA and VCF file (#180) (Thanks @lldelisle!)This is a small bug fix for #172, and allows proper counting of all IUPAC bases when using faidx --transform nucleotide
.
This release fixes a bug encountered when retrieving sequence from FASTA files with "Windows" line endings ("/r/n") #141. Thanks @andrewhill157. There is no need to re-index files.
Fasta
objects in #163 (thanks @C-nit)Fasta.__len__
(#157)Sequence
instances can now be compared against strings (#158 thanks @Maarten-vd-Sande)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)