You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is it possible to stop the snakemake workflow if an output file is empty? I've tried with the checkpoints but couldn't properly create the rules and make it work.
For example, in the following rule, I'm computing the assembly with metaspades and filtering (with seqkit seq)the produced contigs.fasta to retrieve only the contigs with 1000 min-len (output: "filtered_contigs.fasta"). However, After this last step, the filtering removes all the contigs producing an empty file.
Since many other rules depend on the file "filtered_contigs.fasta", is it possible to stop the execution of snakemake (without errors) ?
Hi,
is it possible to stop the snakemake workflow if an output file is empty? I've tried with the checkpoints but couldn't properly create the rules and make it work.
For example, in the following rule, I'm computing the assembly with metaspades and filtering (with
seqkit seq
)the produced contigs.fasta to retrieve only the contigs with 1000 min-len (output: "filtered_contigs.fasta"). However, After this last step, the filtering removes all the contigs producing an empty file.Since many other rules depend on the file "filtered_contigs.fasta", is it possible to stop the execution of snakemake (without errors) ?
Best regards
The text was updated successfully, but these errors were encountered: