biopython
madhuri vio
madhuri.vio at gmail.com
Mon Jun 14 08:59:59 EDT 2010
i cudnt run this!!!!!!
and this was the error occured
for seq_record in SeqIO.parse("ls_MTbH37Rv.fasta","fasta"):
... print seq_record.id
... print repr(seq_record.seq)
... print len(seq_record)
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/python-support/python2.6/Bio/SeqIO/__init__.py", line 342,
in parse
raise TypeError("Need a file handle, not a string (i.e. not a
filename)")
TypeError: Need a file handle, not a string (i.e. not a filename)
--
madhuri :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20100614/04567063/attachment.html>
More information about the Python-list
mailing list