python - 如何修复 Bowtie 和 Python 错误 (Errno2)?
问题描述
我正在尝试重复本教程的“索引参考基因组”步骤。
但是,当我运行命令时
../bowtie2-master/bowtie2-build ./bowtie2-master/example/reference/lambda_virus.fa lambda_virus
发生此错误:
File "../bowtie2-master/bowtie2-build", line 90, in <module>
main()
File "../bowtie2-master/bowtie2-build", line 87, in main
sys.exit(subprocess.call(list(argv)))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 172, in call
return Popen(*popenargs, **kwargs).wait()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
输出pwd
:
/Users/ltelles/Desktop/documents_desktop/bioinformatics/bowtie2_example_project
发生了什么事,我该如何解决?谢谢!
解决方案
推荐阅读
- c - rand() 的结果在各个系统之间的可预测性如何?
- python - “ManyRelatedManager”对象没有属性“用户”
- javascript - JavaScript:无法获取正方形中的 rgb 颜色
- javascript - 根据其他输入值将复选框设置为选中
- python - Pytest 未按预期运行,未找到模块或收集 0 个项目
- c++ - 我越来越多地使用内存,不明白为什么
- c# - 异常对象未在 JsonResult 构造函数中序列化
- excel - Me.ListBox1.Clear 产生运行时错误“- 2147467259(80004005)”:未指定的错误
- node.js - Mongodb - 应用聚合和匹配后查找不同项目的计数
- javascript - Angular - 在 eventlistener 函数中调用服务函数返回未定义的错误