def _fasta_to_dict(filename): """SeqIO.index wrapper for fasta files""" return SeqIO.index(filename=filename, format="fasta")