hAMRonization_workflow icon indicating copy to clipboard operation
hAMRonization_workflow copied to clipboard

Error in ./run_test.sh for resfinder db

Open ideshigenomics opened this issue 7 months ago • 0 comments

Activating conda environment: .snakemake/conda/5d8473ea092af8eb4c5ecabee5c39052_ Select jobs to execute... RuleException: CalledProcessError in file "/home/ideshi/hAMRonization_workflow/rules/resfinder.smk", line 45: Command 'source /home/ideshi/anaconda3/bin/activate '/home/ideshi/hAMRonization_workflow/.snakemake/conda/5d8473ea092af8eb4c5ecabee5c39052_'; set -euo pipefail;
mkdir -p results/NDM_biosample/resfinder-fna run_resfinder.py --acquired --point --disinfectant --species 'NDM' --ignore_missing_species -db_res 'data/dbs/resfinder_db' -db_point 'data/dbs/pointfinder_db' -db_disinf 'data/dbs/disinfinder_db' -ifa 'test/simple/test_contig.fna' -j results/NDM_biosample/resfinder-fna/data_resfinder.json -o results/NDM_biosample/resfinder-fna >logs/resfinder-fna_NDM_biosample.log 2>&1' returned non-zero exit status 1. [Tue Jun 17 16:13:05 2025] Error in rule run_resfinder_fna: message: None jobid: 32 input: test/simple/test_contig.fna, data/dbs/resfinder_db, data/dbs/pointfinder_db, data/dbs/disinfinder_db output: results/NDM_biosample/resfinder-fna, results/NDM_biosample/resfinder-fna/data_resfinder.json log: logs/resfinder-fna_NDM_biosample.log (check log file(s) for error details) conda-env: /home/ideshi/hAMRonization_workflow/.snakemake/conda/5d8473ea092af8eb4c5ecabee5c39052_ shell:

    mkdir -p results/NDM_biosample/resfinder-fna
    run_resfinder.py --acquired --point --disinfectant --species 'NDM' --ignore_missing_species             -db_res 'data/dbs/resfinder_db' -db_point 'data/dbs/pointfinder_db' -db_disinf 'data/dbs/disinfinder_db'             -ifa 'test/simple/test_contig.fna' -j results/NDM_biosample/resfinder-fna/data_resfinder.json -o results/NDM_biosample/resfinder-fna >logs/resfinder-fna_NDM_biosample.log 2>&1
    
    (command exited with non-zero exit code)

Removing output files of failed job run_resfinder_fna since they might be corrupted: results/NDM_biosample/resfinder-fna Shutting down, this might take some time. Exiting because a job execution failed. Look below for error messages [Tue Jun 17 16:13:05 2025] Error in rule run_resfinder_fna: message: None jobid: 32 input: test/simple/test_contig.fna, data/dbs/resfinder_db, data/dbs/pointfinder_db, data/dbs/disinfinder_db output: results/NDM_biosample/resfinder-fna, results/NDM_biosample/resfinder-fna/data_resfinder.json log: logs/resfinder-fna_NDM_biosample.log (check log file(s) for error details) conda-env: /home/ideshi/hAMRonization_workflow/.snakemake/conda/5d8473ea092af8eb4c5ecabee5c39052_ shell:

    mkdir -p results/NDM_biosample/resfinder-fna
    run_resfinder.py --acquired --point --disinfectant --species 'NDM' --ignore_missing_species             -db_res 'data/dbs/resfinder_db' -db_point 'data/dbs/pointfinder_db' -db_disinf 'data/dbs/disinfinder_db'             -ifa 'test/simple/test_contig.fna' -j results/NDM_biosample/resfinder-fna/data_resfinder.json -o results/NDM_biosample/resfinder-fna >logs/resfinder-fna_NDM_biosample.log 2>&1
    
    (command exited with non-zero exit code)

Complete log(s): /home/ideshi/hAMRonization_workflow/.snakemake/log/2025-06-17T152748.920838.snakemake.log WorkflowError:

ideshigenomics avatar Jun 17 '25 10:06 ideshigenomics