I wish to index a multi-fasta file I have but I'm having problems getting the BioPython manual example to work.
From section 5.4.2 (pg 59). I have the required fasta file in my Python folder
The first few lines work just as they do in the manual:
>>> from Bio import SeqIO
>>> orchid_dict = SeqIO.index("ls_orchid.fasta", "fasta")
>>> len(orchid_dict)
94
But the next line does not. Here's what it returns
>>> orchid_dict.keys()
<dict_keyiterator object at 0x0000000002245F98>
Would someone be able to explain what might be going on and why the output isn't the same as in the manual?
Thanks for reporting this, I have just updated the Biopython documentation which will be included with our next release: https://github.com/biopython/biopython/commit/f9b81d6d06a2259779404f1674ac0dde3747d52e