def index_fasta(filename): """Create a fasta dict, with clean descriptions, key=id, value=seqrecord""" index = SeqIO.index( filename=filename, format="fasta" ) return _clean_index(index)