for seq_record in SeqIO.parse(open("mm.fa"), "fasta") :
I am using the above code to read fasta files. But when the number of sequences record exceed about 30000, the python return this error:
Traceback (most recent call last):
File "C:\Python26\Neutral\AICMM.py", line 28, in <module>
if (seq_record.seq[count] == "A") :
File "C:\Python26\lib\site-packages\Bio\Seq.py", line 157, in __getitem__
return self._data[index]
IndexError: string index out of range
Anyone who can help me with this?
Thank you very much