Q. BioPython: CodeML FileNotFoundError: [WinError 2]
0
0
Entering edit mode
5.2 years ago
mtbreeze • 0

I'm trying to run codeml in Biopython, following by Biopython cookbook. But it doesn't work with an FileNotFoundError: [WinError 2]. I found ctl file does not contain file's full path, like

seqfile = seq2.phy  
outfile = result.out  
treefile = template.tree

Files are on 'C:/Users/admin/Desktop'.

I set seqfile, outfile, treefile path with absolute path

''C:/Users/admin/Desktop/seq2.phy', 'C:/Users/admin/Desktop/result.out', 'C:/Users/admin/Desktop/template.tree'.

With fixed ctl file, cmd mode codeml run (not Biopython) works!

Now, I wonder why Biopython's codeml doesnt get file PATH. about four years ago, someone get same problem with me, but I cant get any clue to solve this problem. [solved] BioPython: CodeML FileNotFoundError: [WinError 2]

paml biopython • 1.3k views
ADD COMMENT
0
Entering edit mode

Hi,

It seems like a long time since you've asked that question! I am having the same problem now, and I was wondering if you found a way around to fix it.

Cheers, Hend

ADD REPLY

Login before adding your answer.

Traffic: 1737 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6