首页 > 解决方案 > 如何修复 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

发生了什么事,我该如何解决?谢谢!

标签: pythonpython-2.7bowtie

解决方案


推荐阅读