【发布时间】:2018-01-16 19:40:24
【问题描述】:
我刚学会使用python(和Biopython),所以这个问题可能说明我缺乏经验。
为了对文件(FileA.fasta)中的序列进行 MSA,我使用以下代码:
from Bio.Align.Applications import MuscleCommandline
inp = 'FileA.fasta'
outp = 'FileB.fasta'
cline = MuscleCommandline(input=inp, out=outp)
cline()
我收到以下错误:
ApplicationError
...
Non-zero return code 127 from 'muscle -in FileA.fasta -out FileB.fasta', message '/bin/sh: muscle: command not found'
我知道这与可执行文件不在我的工作路径中有关。 Biopython 教程建议我更新 PATH 以包含 Muscle Tools 的位置,它为 Windows 提供了一个示例,但我不知道如何为 MAC 执行此操作。
请帮忙。
谢谢。
【问题讨论】:
标签: python alignment bioinformatics biopython