args_oap icon indicating copy to clipboard operation
args_oap copied to clipboard

Warning masseage when i run the example data

Open EugeniaMing opened this issue 1 year ago • 3 comments

Hello, i want to run args-oap v3.2.4 for mategenomic data. after installing the software, i first try it with example data using the code following: 截屏2024-08-26 11 55 51

i got output file like this 截屏2024-08-26 12 00 44

i just download example data from GitHub and checked these input files, i really don't know whats wrong 截屏2024-08-26 11 58 04 截屏2024-08-26 11 59 07

Looking forward to your reply Thanks!

EugeniaMing avatar Aug 26 '24 04:08 EugeniaMing

It is likely some of the dependencies are not properly installed.

I would suggest installing args-oap in a fresh environment:

conda install -c bioconda -c conda-forge args_oap

xinehc avatar Aug 28 '24 09:08 xinehc

这里是你代码的bug,应该是构建数据库的问题。需要手工构建完整的数据库。 bwa index /Work/pipeline/software/meta/ARGs-OAP/v3.2.4/lib/python3.12/site-packages/args_oap/db/gg85.fasta makeblastdb -in /Work/pipeline/software/meta/ARGs-OAP/v3.2.4/lib/python3.12/site-packages/args_oap/db/gg85.fasta -input_type fasta -dbtype nucl args_oap make_db --infile /Work/pipeline/software/meta/ARGs-OAP/v3.2.4/lib/python3.12/site-packages/args_oap/db/ko30.fasta

zxgsy520 avatar Sep 09 '24 06:09 zxgsy520

数据的索引需要单独构建。如果没有构建,就会出现这样的问题。主要是脚本stage_one.py的run部分使用了try函数。另外该软件不支持华大mgi平台的数据,需要修改一下代码才能运行。

zxgsy520 avatar Sep 09 '24 06:09 zxgsy520