Handling SIGPIPE error in snakemake

后端 未结 2 631
感动是毒
感动是毒 2021-01-14 01:40

The following snakemake script:

rule all:
    input:
        \'test.done\'

rule pipe:
   output:
       \'test.done\'
   shell:
        \"\"\"
        seq 1         


        
2条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-14 02:14

    Yes, Snakemake sets pipefail by default, because in most cases this is what people implicitly expect. You can always deactivate it for specific commands by prepending set +o pipefail; to the shell command.

提交回复
热议问题