qiime2 q2-picrust2 报错问题

qiime2 q2-picrust2 报错问题


Traceback (most recent call last):

  File "/share/work/biosoft/python/Python3/bin/picrust2_pipeline.py", line 4, in <module>

    __import__('pkg_resources').run_script('PICRUSt2==2.5.2', 'picrust2_pipeline.py')

  File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/pkg_resources/__init__.py", line 651, in run_script

    self.require(requires)[0].run_script(script_name, ns)

  File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/pkg_resources/__init__.py", line 1448, in run_script

    exec(code, namespace, namespace)

  File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/PICRUSt2-2.5.2-py3.9.egg-info/scripts/picrust2_pipeline.py", line 277, in <module>

    main()

  File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/PICRUSt2-2.5.2-py3.9.egg-info/scripts/picrust2_pipeline.py", line 239, in main

    func_outfiles, pathway_outfiles = full_pipeline(study_fasta=args.study_fasta,

  File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/picrust2/pipeline.py", line 202, in full_pipeline

    system_call_check(hsp_cmd, print_command=verbose,

  File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/picrust2/util.py", line 265, in system_call_check

    print(stderr_log, file=sys.stderr)

  File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/picrust2/util.py", line 842, in __exit__

    self.cleanup()

  File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/site-packages/picrust2/util.py", line 851, in cleanup

    _shutil.rmtree(self.name)

  File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/shutil.py", line 740, in rmtree

    onerror(os.rmdir, path, sys.exc_info())

  File "/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/shutil.py", line 738, in rmtree

    os.rmdir(path)

OSError: [Errno 39] Directory not empty: '/work/my_ampliseq/tmp/tmpw4bhe56h'




修改:/share/work/biosoft/python/Python-v3.9.16/lib/python3.9/shutil.py 第851行 如下:解决问题

attachments-2023-10-cOvuc1rn653f3c23751d3.png




  • 发表于 2023-10-30 13:21
  • 阅读 ( 937 )
  • 分类:宏基因组

0 条评论

请先 登录 后评论
omicsgene
omicsgene

生物信息

702 篇文章

作家榜 »

  1. omicsgene 702 文章
  2. 安生水 351 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. xun 82 文章
  6. rzx 78 文章
  7. 红橙子 78 文章
  8. CORNERSTONE 72 文章