xinehc / args_oap

ARGs-OAP: Online Analysis Pipeline for Antibiotic Resistance Genes Detection from Metagenomic Data Using an Integrated Structured ARG Database
MIT License
36 stars 11 forks source link

INFO: Building databases ... #18

Closed hubeilanl closed 1 year ago

hubeilanl commented 1 year ago

When I finished installing it with conda

I use the example

conda install wget

wget https://dl.dropboxusercontent.com/s/pqgftlo24rfc2rd/example.tar.gz tar -xvf example.tar.gz cd example

conda activate args_oap

args_oap stage_one -i input -o output -f fa -t 8

It prints INFO: Building databases ... and it's over

Is the database not configured properly ?

--database command also appears to be faulty

xinehc commented 1 year ago

Hi,

The following command seems working:

mamba create -c bioconda -c conda-forge -n args_oap args_oap
conda activate args_oap
wget https://dl.dropboxusercontent.com/s/pqgftlo24rfc2rd/example.tar.gz
tar -xvf example.tar.gz
cd example
args_oap stage_one -i input -o output -f fa -t 8
args_oap stage_two -i output -t 8
[2023-03-21 14:54:24] INFO: Building databases ...
[2023-03-21 14:54:30] INFO: Processing <input/STAS_1.fa> (1/4) ...
[2023-03-21 14:54:34] INFO: Processing <input/STAS_2.fa> (2/4) ...
[2023-03-21 14:54:37] INFO: Processing <input/SWHAS104_1.fa> (3/4) ...
[2023-03-21 14:54:39] INFO: Processing <input/SWHAS104_2.fa> (4/4) ...
[2023-03-21 14:54:42] INFO: Finished.

[2023-03-21 14:54:43] INFO: Processing <output/extracted.fa> ...
[2023-03-21 14:54:43] INFO: Extracting target sequences using BLAST ...
[2023-03-21 14:54:43] INFO: BLAST settings: 74100 bps, 741 reads, 8 threads, mt_mode 0.
[2023-03-21 14:54:46] INFO: Merging files ...
[2023-03-21 14:54:46] INFO: Finished.

I guess it's a dependency issue. Maybe try installing args_oap in a new conda environment?

hubeilanl commented 1 year ago

I've already solved the problem It seems to be a permission issue We deployed Conda to a public user in our HPC ,changing the env of args_oap to 777 can solve the problem

The upgraded tool is very easy to use!