how to generate a file when snakemake pipeline failed
Hi there,
I am working on a pipeline to make WES analyses. I am preparing that pipeline via snakemake.
I have a problem about the input fasq file. Sometimes, users enter fastq files that are 8-9 mb. In this case, pipeline got error normally because the fastq file has a problem (not my problem, it is user’s problem). I want to add an exception into the pipeline rule. When user enter the fastq file that has problem and pipeline got error, I want to generate a file to show on frontend.
Is it possible? If it is possible, how can I do that?
PS: When user enter fastq file like that, I get snakemake error in same rule for each case. So If I add exception parameter into the that rule, it will enough for me.
Thanks
• 18 views
Read more here: Source link