Add manual version definition for artic modules (#1867)

master
Harshil Patel 2 years ago committed by GitHub
parent 49366ef275
commit 589f39c39e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,6 +20,7 @@ process ARTIC_GUPPYPLEX {
script:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
def VERSION = '1.2.2' // WARN: Version information provided by tool on CLI is incorrect. Please update this string when bumping container versions.
"""
artic \\
guppyplex \\
@ -30,7 +31,7 @@ process ARTIC_GUPPYPLEX {
pigz -p $task.cpus *.fastq
cat <<-END_VERSIONS > versions.yml
"${task.process}":
artic: \$(artic --version 2>&1 | sed 's/^.*artic //; s/ .*\$//')
artic: $VERSION
END_VERSIONS
"""
}

@ -48,6 +48,7 @@ process ARTIC_MINION {
model = medaka_model_file ? "--medaka-model ./$medaka_model_file" : "--medaka-model $medaka_model_string"
}
def hd5_plugin_path = task.ext.hd5_plugin_path ? "export HDF5_PLUGIN_PATH=" + task.ext.hd5_plugin_path : "export HDF5_PLUGIN_PATH=/usr/local/lib/python3.6/site-packages/ont_fast5_api/vbz_plugin"
def VERSION = '1.2.2' // WARN: Version information provided by tool on CLI is incorrect. Please update this string when bumping container versions.
"""
$hd5_plugin_path
@ -66,7 +67,7 @@ process ARTIC_MINION {
cat <<-END_VERSIONS > versions.yml
"${task.process}":
artic: \$(artic --version 2>&1 | sed 's/^.*artic //; s/ .*\$//')
artic: $VERSION
END_VERSIONS
"""
}

Loading…
Cancel
Save