bpipe icon indicating copy to clipboard operation
bpipe copied to clipboard

Conditional execution of steps

Open bistace opened this issue 4 years ago • 0 comments

Hello and thank you for developping Bpipe, it is very useful to me.

Would Bpipe be able to execute some steps only if some conditions are met?

As an example, let's imagine that user specifies an optional file on the command line, is there any way to tell Bpipe to execute a specific step if this file exists on the filesystem?

Another usecase would be, again as an example, to test if fasta headers contain non-alphanumeric characters and format them in a specific step if some are found but otherwise go to the next step?

bistace avatar Feb 10 '21 07:02 bistace