开发者

How can I run clustalw using Biopython

I am using windows 7. I have installed python 2.7 and Biopython 1.57. I created the following script:

from Bio.Clustalw import MultipleAlignCL 
cl = MultipleAlignCL("myseqs.fasta") 
print("Command line: %s"%cl) 
clpath="C:\Program Files\C开发者_高级运维lustalW2\clustalw2.exe" 
cl = MultipleAlignCL("myseqs.fasta",command=clpath) 

from Bio.Clustalw import do_alignment align = do_alignment(cl) 

But I got an error message.


This is a poorly worded question - where are the details?

Have you been able to install and run ClustalW at the command line by hand? What version? What version of Biopython did you try? Which OS are you using (that can make a big difference)? What error messages did you get?

Have you tried the examples of running ClustalW in the Biopython Tutorial? http://biopython.org/DIST/docs/tutorial/Tutorial.html or http://biopython.org/DIST/docs/tutorial/Tutorial.pdf

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜