Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add version to pipeline

Is there any standard or recommended way to add a version number to a pipeline (written in snakemake in my case)?

For example, I have this pipeline and just now I added a CHANGELOG.md file with the current version on top. Are there better ways to identify the version a user is deploying?

like image 272
dariober Avatar asked May 08 '26 03:05

dariober


1 Answers

There is a version directive, but I've never seen it used in practice:

# Snakefile
version: "1.2.3"

rule all:
   input: 'test.txt'

rule test:
   output: temp(touch('test.txt'))

There is an example/test for CWL conversion that uses version inside rule definition, where perhaps it might be useful, but otherwise the utility of including explicit version inside Snakefile is not clear.

like image 140
SultanOrazbayev Avatar answered May 09 '26 19:05

SultanOrazbayev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!