mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-21 18:58:16 +00:00
Add manual version definition for artic modules (#1867)
This commit is contained in:
parent
49366ef275
commit
589f39c39e
2 changed files with 4 additions and 2 deletions
|
@ -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…
Reference in a new issue