Python论坛  - 讨论区

标题:[python-chinese] 各位python的老大请帮忙

2005年09月14日 星期三 20:17

xuncheng wang wxuncheng at yahoo.com.cn
Wed Sep 14 20:17:18 HKT 2005

各位python的老大:
我是python新手,在windows(没有用c++compiler)下运行biopython, 运行一个叫AlignAce的modules, 其function定义如下:

AlignAce(infile, cmd='AlignACE', **keywds) 
   Runs AlignACE and returns data.
 
cmd == AlignACE executable
infile == sequence file to process
 
You may pass more parameters to **keywds to change the behavior of
the search.  Otherwise, optional values will be chosen by blastall.
 
 numcols            number of columns to align (10)
 expect             number of sites expected in model (10)
 gcback             background fractional GC content of input sequence (0.38)
 minpass            minimum number of non-improved passes in phase 1 (200)
 seed               set seed for random number generator (time)
 undersample        possible sites / (expect * numcols * seedings) (1)
 oversample         1/undersample (1)
我对test.seq的文件运行alignace,过程如下:

>>> from Bio.AlignAce.AlignAceStandalone import AlignAce
>>> from Bio.AlignAce.Parser import AlignAceParser
>>> AlignAce("test.seq", cmd='AlignACE', gcback=0.38)

 

出现的错误提示如下:

Traceback (most recent call last):
  File "", line 1, in -toplevel-
    AlignAce("test.seq", cmd='AlignACE', gcback=0.38)
  File "D:\Python24\Lib\site-packages\Bio\AlignAce\AlignAceStandalone.py", line 63, in AlignAce
    raise IOError, "Executable does not exist at %s" % cmd
IOError: Executable does not exist at AlignACE

 

本人实在事一个新手,课题逼的很紧,希望能得到各位老大的帮助

		
---------------------------------
DO YOU YAHOO!?
  雅虎免费G邮箱-No.1的防毒防垃圾超大邮箱  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20050914/2880802f/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号