snakemake-novice-bioinformatics icon indicating copy to clipboard operation
snakemake-novice-bioinformatics copied to clipboard

Use the log directive from the start

Open tbooth opened this issue 7 months ago • 1 comments

From @cmeesters:

the log directive is crucial. There is no rule, using it, no task implementing it. No lookup performed by the participants.

log is its own directive, not a part of the output directive. The shown solution does work, but separating logs and outputs is a jolly good idea - mixing it up will lead to quirky workflows.

to use the log directives, you can use cmd -i {input} -o {output} &> {log} for ordinary commands.

tbooth avatar Jul 26 '24 10:07 tbooth