WatsonLab / MAGpy

Snakemake pipeline for downstream analysis of metagenome-assembled genomes (MAGs) (pronounced mag-pie)
62 stars 23 forks source link

sourmash error #31

Closed yb5339 closed 3 years ago

yb5339 commented 3 years ago

Hi I'm getting an error during testing whole MAGpy pipeline, in sourmash step.

Activating conda environment: /home/wikim-hpc/MAGpy/.snakemake/conda/8abd07f5f0e14ba82c88ec1b75516b52 loaded query: mags/ecoli.fa... (k=31, DNA) [Errno 2] No such file or directory: 'ecolidb.sbt.json'

Cannot open file 'ecolidb.sbt.json' [Tue May 25 16:56:05 2021] Error in rule sourmash_gather: jobid: 2 output: sourmash/ecoli.csv, sourmash/ecoli.sm conda-env: /home/wikim-hpc/MAGpy/.snakemake/conda/8abd07f5f0e14ba82c88ec1b75516b52 shell: sourmash gather -k 31 sourmash/ecoli.sig ecolidb.sbt.json -o sourmash/ecoli.csv > sourmash/ecoli.sm (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Removing output files of failed job sourmash_gather since they might be corrupted: sourmash/ecoli.csv, sourmash/ecoli.sm [Tue May 25 16:56:41 2021] Finished job 8. 4 of 13 steps (31%) done Shutting down, this might take some time. Exiting because a job execution failed. Look above for error message Complete log: /home/wikim-hpc/MAGpy/.snakemake/log/2021-05-25T165311.085862.snakemake.log

How can I solve this problem?

mw55309 commented 3 years ago

Hello!

You have to edit the config.json file to point “sourmash_gbk” to a valid sourmash database….

HTH

Mick

From: yb5339 @.> Sent: 25 May 2021 09:30 To: WatsonLab/MAGpy @.> Cc: Subscribed @.***> Subject: [WatsonLab/MAGpy] sourmash error (#31)

This email was sent to you by someone outside the University. You should only click on links or attachments if you are certain that the email is genuine and the content is safe.

Hi I'm getting an error during testing whole MAGpy pipeline, in sourmash step.

Activating conda environment: /home/wikim-hpc/MAGpy/.snakemake/conda/8abd07f5f0e14ba82c88ec1b75516b52 loaded query: mags/ecoli.fa... (k=31, DNA) [Errno 2] No such file or directory: 'ecolidb.sbt.json'

Cannot open file 'ecolidb.sbt.json' [Tue May 25 16:56:05 2021] Error in rule sourmash_gather: jobid: 2 output: sourmash/ecoli.csv, sourmash/ecoli.sm conda-env: /home/wikim-hpc/MAGpy/.snakemake/conda/8abd07f5f0e14ba82c88ec1b75516b52 shell: sourmash gather -k 31 sourmash/ecoli.sig ecolidb.sbt.json -o sourmash/ecoli.csv > sourmash/ecoli.sm (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

Removing output files of failed job sourmash_gather since they might be corrupted: sourmash/ecoli.csv, sourmash/ecoli.sm [Tue May 25 16:56:41 2021] Finished job 8. 4 of 13 steps (31%) done Shutting down, this might take some time. Exiting because a job execution failed. Look above for error message Complete log: /home/wikim-hpc/MAGpy/.snakemake/log/2021-05-25T165311.085862.snakemake.log

How can I solve this problem?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/WatsonLab/MAGpy/issues/31, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AANR6UCRKGSOUCEVZUU3UVLTPNNXRANCNFSM45O2IAMA.

The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336. Is e buidheann carthannais a th’ ann an Oilthigh Dhùn Èideann, clàraichte an Alba, àireamh clàraidh SC005336.

yb5339 commented 3 years ago

@mw55309 Thank you. I thought there was a file named 'ecolidb.sbt.json'.. anyway, it works!

mw55309 commented 3 years ago

Hey

There is a new release today that fixes a lot of sourmash and phylophlan bugs

Please test it!

Cheers Mick