Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgcflow wrapper failed to read the resource config file on python 3.12 #287

Open
matinnuhamunada opened this issue Oct 5, 2023 · 0 comments

Comments

@matinnuhamunada
Copy link
Collaborator

It seems the latest python release cause error when reading the config resources, pinning the python to 3.11 fix the issue

DEBUG    05/10 10:32:05   Starting new HTTP connection (1): 127.0.0.1:5000
Running Panoptes to monitor BGCFlow jobs at http://127.0.0.1:5000/
Panoptes job id: 2456
Connecting to Panoptes...
DEBUG    05/10 10:32:05   Starting new HTTP connection (1): 127.0.0.1:5000
Retrying to connect: 1x
 * Serving Flask app 'panoptes.app'
 * Debug mode: off
DEBUG    05/10 10:32:06   Starting new HTTP connection (1): 127.0.0.1:5000
DEBUG    05/10 10:32:06   http://127.0.0.1:5000/ "GET /api/service-info HTTP/1.1" 200 21
Panoptes status: running
cd . && snakemake --snakefile workflow/Snakefile --use-conda --keep-going --rerun-incomplete --rerun-triggers mtime -c 8 --dryrun    --wms-monitor http://127.0.0.1:5000/
This is BGCflow version  0.7.6 .
  Checking dependencies...
 Found configuration setting to use antiSMASH  7
 antismash  from:  workflow/envs/antismash.yaml
  -  antismash  will be installed from  git+https://github.com/antismash/antismash.git
  -  antismash == 7.0.0
 bigslice  from:  workflow/envs/bigslice.yaml
  -  bigslice  will be installed from  git+https://github.com/medema-group/bigslice.git
  -  bigslice == 103d8f2
 cblaster  from:  workflow/envs/cblaster.yaml
  -  cblaster  will be installed using pip
  -  cblaster == 1.3.12
 prokka  from:  workflow/envs/prokka.yaml
  -  prokka == 1.14.6
 eggnog-mapper  from:  workflow/envs/eggnog.yaml
  -  eggnog-mapper == 2.1.6
 roary  from:  workflow/envs/roary.yaml
  -  roary == 3.13.0
 seqfu  from:  workflow/envs/seqfu.yaml
  -  seqfu == 1.15.3
 checkm  from:  workflow/envs/checkm.yaml
  -  checkm == 1.1.3
 gtdbtk  from:  workflow/envs/gtdbtk.yaml
  -  gtdbtk == 2.3.0
 Step 1. Extracting project information from config...
 Step 2. 1  Getting sample information from:  config/Lactobacillus_delbrueckii/project_config.yaml
  - Processing project [ Lactobacillus_delbrueckii ]
  - Custom input directory:  False
  - Getting input files from:  /home/saedwi/bgcflow_test/data/raw/fasta
  - Custom input format:  False
  - Default input file type:  fna
 Step 3 Merging genome_ids across projects...
 Step 4. Checking for user-defined local resources...
 FileNotFoundError in file /home/saedwi/bgcflow_test/workflow/rules/common.smk, line 848:
 Error: User-defined resource  antismash_db  at  resources/antismash_db  does not exist.
Check the config.yaml and provide the right path for resource  antismash_db  or
change it to the default path: resources/ antismash_db
  File "/home/saedwi/bgcflow_test/workflow/Snakefile", line 47, in <module>
  File "/home/saedwi/bgcflow_test/workflow/rules/common.smk", line 848, in custom_resource_dir
Killing panoptes: PID 2456
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant