[BioPython] Error generated by Clustalw example in Tutorial

Y Tu ytu888 at hotmail.com
Thu Oct 4 12:24:18 UTC 2007


Hi,

I'm reading the Biopython tutorial and running the example of clustalw. But it generate the following error. What's wrong? Thanks.

>>> from Bio import Clustalw

>>> cline = Clustalw.MultipleAlignCL(os.path.join(os.curdir, "opuntia.fasta"))

>>> cline.set_output("result.aln")

>>> print cline
clustalw .\opuntia.fasta -OUTFILE=result.aln

>>> alignment = Clustalw.do_alignment(cline)
Traceback (most recent call last):  File "<interactive input>", line 1, in <module>  File "C:\Python25\Lib\site-packages\Bio\Clustalw\__init__.py", line 117, in do_alignment    % (out_file, command_line))IOError: Output .aln file result.aln not produced, commandline: clustalw .\opuntia.fasta -OUTFILE=result.aln

_________________________________________________________________
Windows Live Hotmail and Microsoft Office Outlook – together at last.  Get it now.
http://office.microsoft.com/en-us/outlook/HA102225181033.aspx?pid=CL100626971033



More information about the Biopython mailing list