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

Error at __rule_extract_kmersGWAS #28

Open
SakaMax opened this issue Dec 30, 2023 · 0 comments
Open

Error at __rule_extract_kmersGWAS #28

SakaMax opened this issue Dec 30, 2023 · 0 comments

Comments

@SakaMax
Copy link

SakaMax commented Dec 30, 2023

Hello,

I tested the kgwasflow with the kgwasflow test command. Then I got the errors below:

Full Traceback (most recent call last):
  File "/home/kosuke/miniconda3/envs/kgwasflow/lib/python3.11/site-packages/snakemake/executors/__init__.py", line 2576, in run_wrapper
    run(
  File "/home/kosuke/miniconda3/envs/kgwasflow/lib/python3.11/site-packages/workflow/rules/build_kmers_gwas.smk", line 85, in __rule_extract_kmersGWAS
  File "/home/kosuke/miniconda3/envs/kgwasflow/lib/python3.11/site-packages/snakemake/shell.py", line 300, in __new__
    raise sp.CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'source /home/kosuke/miniconda3/envs/kgwasflow/bin/activate '/home/kosuke/kmer-test/testrun/.snakemake/conda/e90c7431d77b0f7e2b65ebe43a6aa0bf_'; set -euo pipefail;  unzip scripts/external/kmers_gwas/v0.3-beta.zip -d scripts/external/kmers_gwas 2> logs/build_kmers_gwas/extract_kmersGWAS.unzip.log' returned non-zero exit status 10.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kosuke/miniconda3/envs/kgwasflow/lib/python3.11/site-packages/snakemake/executors/__init__.py", line 666, in _callback
    raise ex
  File "/home/kosuke/miniconda3/envs/kgwasflow/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/kosuke/miniconda3/envs/kgwasflow/lib/python3.11/site-packages/snakemake/executors/__init__.py", line 652, in cached_or_run
    run_func(*args)
  File "/home/kosuke/miniconda3/envs/kgwasflow/lib/python3.11/site-packages/snakemake/executors/__init__.py", line 2612, in run_wrapper
    raise RuleException(
snakemake.exceptions.RuleException: CalledProcessError in file /home/kosuke/miniconda3/envs/kgwasflow/lib/python3.11/site-packages/workflow/rules/build_kmers_gwas.smk, line 39:
Command 'source /home/kosuke/miniconda3/envs/kgwasflow/bin/activate '/home/kosuke/kmer-test/testrun/.snakemake/conda/e90c7431d77b0f7e2b65ebe43a6aa0bf_'; set -euo pipefail;  unzip scripts/external/kmers_gwas/v0.3-beta.zip -d scripts/external/kmers_gwas 2> logs/build_kmers_gwas/extract_kmersGWAS.unzip.log' returned non-zero exit status 10.
  File "/home/kosuke/miniconda3/envs/kgwasflow/lib/python3.11/site-packages/workflow/rules/build_kmers_gwas.smk", line 39, in __rule_extract_kmersGWAS

RuleException:
CalledProcessError in file /home/kosuke/miniconda3/envs/kgwasflow/lib/python3.11/site-packages/workflow/rules/build_kmers_gwas.smk, line 39:
Command 'source /home/kosuke/miniconda3/envs/kgwasflow/bin/activate '/home/kosuke/kmer-test/testrun/.snakemake/conda/e90c7431d77b0f7e2b65ebe43a6aa0bf_'; set -euo pipefail;  unzip scripts/external/kmers_gwas/v0.3-beta.zip -d scripts/external/kmers_gwas 2> logs/build_kmers_gwas/extract_kmersGWAS.unzip.log' returned non-zero exit status 10.
  File "/home/kosuke/miniconda3/envs/kgwasflow/lib/python3.11/site-packages/workflow/rules/build_kmers_gwas.smk", line 39, in __rule_extract_kmersGWAS
  File "/home/kosuke/miniconda3/envs/kgwasflow/lib/python3.11/concurrent/futures/thread.py", line 58, in run

The complete command line is:

mamba create -c bioconda -n kgwasflow kgwasflow && \
mamba activate kgwasflow && \
kgwasflow init --work-dir testrun && \
kgwasflow test --verbose --work-dir testrun --conda-frontend mamba 2>&1 | tee testrun-conda.log.txt

and this is the output
testrun-conda.log.txt

Any suggestions will be appreciated.
Thanks,

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