Build branch main with version main (88d11c3)

Build pipeline: viash-hub.demultiplex.main-qmhzd

Source commit: 88d11c3926

Source message: Package config introspection improvement (#53)

* Make _viash.yaml available to all components and workflows for introspection
* Update integration test for runner
This commit is contained in:
CI
2025-07-25 08:51:07 +00:00
parent 10ff085552
commit abe9c15aef
36 changed files with 374 additions and 66 deletions

View File

@@ -18,3 +18,4 @@ config_mods: |
.runners[.type == 'nextflow'].directives.tag := '$id' .runners[.type == 'nextflow'].directives.tag := '$id'
.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'} .resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}
.runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")' .runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")'
.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}

View File

@@ -1,6 +1,6 @@
def date = new Date().format('yyyyMMdd_hhmmss') def date = new Date().format('yyyyMMdd_hhmmss')
def viash_config = java.nio.file.Paths.get("$projectDir/../../../").toAbsolutePath().normalize().toString() + "/_viash.yaml" def viash_config = java.nio.file.Paths.get("${moduleDir}/_viash.yaml")
def version = get_version(viash_config) def version = get_version(viash_config)
workflow run_wf { workflow run_wf {

View File

@@ -51,7 +51,10 @@ workflow test {
def all_files = publish_subdir.listFiles() def all_files = publish_subdir.listFiles()
assert all_files.size() == 1 assert all_files.size() == 1
def publish_dir = file(all_files[0]) def publish_dir = file(all_files[0])
assert publish_dir.name.endsWith("_demultiplex_unknown_version") // version can be unknown_version (local tests) or actual version configured in _viash.yaml
// with the new approach to fetching the version from _viash.yaml, this will be the branch name during CI builds
// Disabling this test temporarily and creating an issue for it
// assert publish_dir.name.endsWith("_demultiplex_unknown_version")
def published_items = publish_dir.listFiles() def published_items = publish_dir.listFiles()
assert published_items.size() == 4 assert published_items.size() == 4
assert published_items.collect{it.name}.toSet() == ["demultiplexer_logs", "fastq", "qc", "SampleSheet.csv"].toSet() assert published_items.collect{it.name}.toSet() == ["demultiplexer_logs", "fastq", "qc", "SampleSheet.csv"].toSet()

View File

@@ -41,6 +41,9 @@ resources:
- type: "file" - type: "file"
path: "nextflow_labels.config" path: "nextflow_labels.config"
dest: "nextflow_labels.config" dest: "nextflow_labels.config"
- type: "file"
path: "_viash.yaml"
dest: "_viash.yaml"
test_resources: test_resources:
- type: "bash_script" - type: "bash_script"
path: "test.sh" path: "test.sh"
@@ -157,9 +160,9 @@ build_info:
output: "target/executable/io/interop_summary_to_csv" output: "target/executable/io/interop_summary_to_csv"
executable: "target/executable/io/interop_summary_to_csv/interop_summary_to_csv" executable: "target/executable/io/interop_summary_to_csv/interop_summary_to_csv"
viash_version: "0.9.4" viash_version: "0.9.4"
git_commit: "26bd658d6e8462c8bf049889349814ab33630e87" git_commit: "88d11c39262ea9952e2f2f119194b1e499e5efc3"
git_remote: "https://github.com/viash-hub/demultiplex" git_remote: "https://github.com/viash-hub/demultiplex"
git_tag: "v0.1.1-32-g26bd658" git_tag: "v0.1.1-33-g88d11c3"
package_config: package_config:
name: "demultiplex" name: "demultiplex"
version: "main" version: "main"
@@ -175,7 +178,7 @@ package_config:
- ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\ - ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\
\ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\ \ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\
.runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\ .runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\
)'\n" )'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n"
- ".engines += { type: \"native\" }" - ".engines += { type: \"native\" }"
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'" - ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
- ".engines[.type == 'docker'].target_tag := 'main'" - ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -0,0 +1,21 @@
name: demultiplex
description: |
Demultiplexing pipeline
license: MIT
keywords: [bioinformatics, sequence, demultiplexing, pipeline]
links:
issue_tracker: https://github.com/viash-hub/demultiplex/issues
repository: https://github.com/viash-hub/demultiplex
info:
test_resources:
- path: gs://viash-hub-resources/demultiplex/v4
dest: testData
viash_version: 0.9.4
config_mods: |
.requirements.commands += ['ps']
.runners[.type == 'nextflow'].directives.tag := '$id'
.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}
.runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")'
.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}
version: main
organization: vsh

View File

@@ -454,9 +454,9 @@ tar -C /tmp/ --no-same-owner --no-same-permissions -xvf /tmp/interop.tar.gz && \
mv /tmp/interop-1.3.1-Linux-GNU/bin/index-summary /tmp/interop-1.3.1-Linux-GNU/bin/summary /usr/local/bin/ mv /tmp/interop-1.3.1-Linux-GNU/bin/index-summary /tmp/interop-1.3.1-Linux-GNU/bin/summary /usr/local/bin/
LABEL org.opencontainers.image.description="Companion container for running component io interop_summary_to_csv" LABEL org.opencontainers.image.description="Companion container for running component io interop_summary_to_csv"
LABEL org.opencontainers.image.created="2025-06-10T07:00:17Z" LABEL org.opencontainers.image.created="2025-07-25T08:27:30Z"
LABEL org.opencontainers.image.source="https://github.com/viash-hub/demultiplex" LABEL org.opencontainers.image.source="https://github.com/viash-hub/demultiplex"
LABEL org.opencontainers.image.revision="26bd658d6e8462c8bf049889349814ab33630e87" LABEL org.opencontainers.image.revision="88d11c39262ea9952e2f2f119194b1e499e5efc3"
LABEL org.opencontainers.image.version="main" LABEL org.opencontainers.image.version="main"
VIASHDOCKER VIASHDOCKER

View File

@@ -117,6 +117,9 @@ resources:
- type: "file" - type: "file"
path: "nextflow_labels.config" path: "nextflow_labels.config"
dest: "nextflow_labels.config" dest: "nextflow_labels.config"
- type: "file"
path: "_viash.yaml"
dest: "_viash.yaml"
description: "Publish the processed results of the run" description: "Publish the processed results of the run"
info: null info: null
status: "enabled" status: "enabled"
@@ -219,9 +222,9 @@ build_info:
output: "target/executable/io/publish" output: "target/executable/io/publish"
executable: "target/executable/io/publish/publish" executable: "target/executable/io/publish/publish"
viash_version: "0.9.4" viash_version: "0.9.4"
git_commit: "26bd658d6e8462c8bf049889349814ab33630e87" git_commit: "88d11c39262ea9952e2f2f119194b1e499e5efc3"
git_remote: "https://github.com/viash-hub/demultiplex" git_remote: "https://github.com/viash-hub/demultiplex"
git_tag: "v0.1.1-32-g26bd658" git_tag: "v0.1.1-33-g88d11c3"
package_config: package_config:
name: "demultiplex" name: "demultiplex"
version: "main" version: "main"
@@ -237,7 +240,7 @@ package_config:
- ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\ - ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\
\ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\ \ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\
.runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\ .runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\
)'\n" )'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n"
- ".engines += { type: \"native\" }" - ".engines += { type: \"native\" }"
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'" - ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
- ".engines[.type == 'docker'].target_tag := 'main'" - ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -0,0 +1,21 @@
name: demultiplex
description: |
Demultiplexing pipeline
license: MIT
keywords: [bioinformatics, sequence, demultiplexing, pipeline]
links:
issue_tracker: https://github.com/viash-hub/demultiplex/issues
repository: https://github.com/viash-hub/demultiplex
info:
test_resources:
- path: gs://viash-hub-resources/demultiplex/v4
dest: testData
viash_version: 0.9.4
config_mods: |
.requirements.commands += ['ps']
.runners[.type == 'nextflow'].directives.tag := '$id'
.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}
.runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")'
.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}
version: main
organization: vsh

View File

@@ -450,9 +450,9 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
LABEL org.opencontainers.image.description="Companion container for running component io publish" LABEL org.opencontainers.image.description="Companion container for running component io publish"
LABEL org.opencontainers.image.created="2025-06-10T07:00:17Z" LABEL org.opencontainers.image.created="2025-07-25T08:27:29Z"
LABEL org.opencontainers.image.source="https://github.com/viash-hub/demultiplex" LABEL org.opencontainers.image.source="https://github.com/viash-hub/demultiplex"
LABEL org.opencontainers.image.revision="26bd658d6e8462c8bf049889349814ab33630e87" LABEL org.opencontainers.image.revision="88d11c39262ea9952e2f2f119194b1e499e5efc3"
LABEL org.opencontainers.image.version="main" LABEL org.opencontainers.image.version="main"
VIASHDOCKER VIASHDOCKER

View File

@@ -48,6 +48,9 @@ resources:
- type: "file" - type: "file"
path: "nextflow_labels.config" path: "nextflow_labels.config"
dest: "nextflow_labels.config" dest: "nextflow_labels.config"
- type: "file"
path: "_viash.yaml"
dest: "_viash.yaml"
description: "Unpack a .tar file. When the contents of the .tar file is just a single\ description: "Unpack a .tar file. When the contents of the .tar file is just a single\
\ directory,\nput the contents of the directory into the output folder instead of\ \ directory,\nput the contents of the directory into the output folder instead of\
\ that directory.\n" \ that directory.\n"
@@ -156,9 +159,9 @@ build_info:
output: "target/executable/io/untar" output: "target/executable/io/untar"
executable: "target/executable/io/untar/untar" executable: "target/executable/io/untar/untar"
viash_version: "0.9.4" viash_version: "0.9.4"
git_commit: "26bd658d6e8462c8bf049889349814ab33630e87" git_commit: "88d11c39262ea9952e2f2f119194b1e499e5efc3"
git_remote: "https://github.com/viash-hub/demultiplex" git_remote: "https://github.com/viash-hub/demultiplex"
git_tag: "v0.1.1-32-g26bd658" git_tag: "v0.1.1-33-g88d11c3"
package_config: package_config:
name: "demultiplex" name: "demultiplex"
version: "main" version: "main"
@@ -174,7 +177,7 @@ package_config:
- ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\ - ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\
\ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\ \ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\
.runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\ .runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\
)'\n" )'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n"
- ".engines += { type: \"native\" }" - ".engines += { type: \"native\" }"
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'" - ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
- ".engines[.type == 'docker'].target_tag := 'main'" - ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -0,0 +1,21 @@
name: demultiplex
description: |
Demultiplexing pipeline
license: MIT
keywords: [bioinformatics, sequence, demultiplexing, pipeline]
links:
issue_tracker: https://github.com/viash-hub/demultiplex/issues
repository: https://github.com/viash-hub/demultiplex
info:
test_resources:
- path: gs://viash-hub-resources/demultiplex/v4
dest: testData
viash_version: 0.9.4
config_mods: |
.requirements.commands += ['ps']
.runners[.type == 'nextflow'].directives.tag := '$id'
.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}
.runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")'
.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}
version: main
organization: vsh

View File

@@ -450,9 +450,9 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
LABEL org.opencontainers.image.description="Companion container for running component io untar" LABEL org.opencontainers.image.description="Companion container for running component io untar"
LABEL org.opencontainers.image.created="2025-06-10T07:00:17Z" LABEL org.opencontainers.image.created="2025-07-25T08:27:29Z"
LABEL org.opencontainers.image.source="https://github.com/viash-hub/demultiplex" LABEL org.opencontainers.image.source="https://github.com/viash-hub/demultiplex"
LABEL org.opencontainers.image.revision="26bd658d6e8462c8bf049889349814ab33630e87" LABEL org.opencontainers.image.revision="88d11c39262ea9952e2f2f119194b1e499e5efc3"
LABEL org.opencontainers.image.version="main" LABEL org.opencontainers.image.version="main"
VIASHDOCKER VIASHDOCKER

View File

@@ -76,6 +76,9 @@ resources:
- type: "file" - type: "file"
path: "nextflow_labels.config" path: "nextflow_labels.config"
dest: "nextflow_labels.config" dest: "nextflow_labels.config"
- type: "file"
path: "_viash.yaml"
dest: "_viash.yaml"
description: "Combine fastq files from across samples into one event with a list of\ description: "Combine fastq files from across samples into one event with a list of\
\ fastq files per orientation." \ fastq files per orientation."
info: null info: null
@@ -165,9 +168,9 @@ build_info:
output: "target/nextflow/dataflow/combine_samples" output: "target/nextflow/dataflow/combine_samples"
executable: "target/nextflow/dataflow/combine_samples/main.nf" executable: "target/nextflow/dataflow/combine_samples/main.nf"
viash_version: "0.9.4" viash_version: "0.9.4"
git_commit: "26bd658d6e8462c8bf049889349814ab33630e87" git_commit: "88d11c39262ea9952e2f2f119194b1e499e5efc3"
git_remote: "https://github.com/viash-hub/demultiplex" git_remote: "https://github.com/viash-hub/demultiplex"
git_tag: "v0.1.1-32-g26bd658" git_tag: "v0.1.1-33-g88d11c3"
package_config: package_config:
name: "demultiplex" name: "demultiplex"
version: "main" version: "main"
@@ -183,7 +186,7 @@ package_config:
- ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\ - ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\
\ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\ \ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\
.runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\ .runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\
)'\n" )'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n"
- ".engines += { type: \"native\" }" - ".engines += { type: \"native\" }"
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'" - ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
- ".engines[.type == 'docker'].target_tag := 'main'" - ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -0,0 +1,21 @@
name: demultiplex
description: |
Demultiplexing pipeline
license: MIT
keywords: [bioinformatics, sequence, demultiplexing, pipeline]
links:
issue_tracker: https://github.com/viash-hub/demultiplex/issues
repository: https://github.com/viash-hub/demultiplex
info:
test_resources:
- path: gs://viash-hub-resources/demultiplex/v4
dest: testData
viash_version: 0.9.4
config_mods: |
.requirements.commands += ['ps']
.runners[.type == 'nextflow'].directives.tag := '$id'
.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}
.runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")'
.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}
version: main
organization: vsh

View File

@@ -3125,6 +3125,11 @@ meta = [
"type" : "file", "type" : "file",
"path" : "/src/config/labels.config", "path" : "/src/config/labels.config",
"dest" : "nextflow_labels.config" "dest" : "nextflow_labels.config"
},
{
"type" : "file",
"path" : "/_viash.yaml",
"dest" : "_viash.yaml"
} }
], ],
"description" : "Combine fastq files from across samples into one event with a list of fastq files per orientation.", "description" : "Combine fastq files from across samples into one event with a list of fastq files per orientation.",
@@ -3230,9 +3235,9 @@ meta = [
"engine" : "native|native", "engine" : "native|native",
"output" : "target/nextflow/dataflow/combine_samples", "output" : "target/nextflow/dataflow/combine_samples",
"viash_version" : "0.9.4", "viash_version" : "0.9.4",
"git_commit" : "26bd658d6e8462c8bf049889349814ab33630e87", "git_commit" : "88d11c39262ea9952e2f2f119194b1e499e5efc3",
"git_remote" : "https://github.com/viash-hub/demultiplex", "git_remote" : "https://github.com/viash-hub/demultiplex",
"git_tag" : "v0.1.1-32-g26bd658" "git_tag" : "v0.1.1-33-g88d11c3"
}, },
"package_config" : { "package_config" : {
"name" : "demultiplex", "name" : "demultiplex",
@@ -3250,7 +3255,7 @@ meta = [
"source" : "src", "source" : "src",
"target" : "target", "target" : "target",
"config_mods" : [ "config_mods" : [
".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n", ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n",
".engines += { type: \\"native\\" }", ".engines += { type: \\"native\\" }",
".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'", ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'",
".engines[.type == 'docker'].target_tag := 'main'" ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -52,6 +52,9 @@ resources:
- type: "file" - type: "file"
path: "nextflow_labels.config" path: "nextflow_labels.config"
dest: "nextflow_labels.config" dest: "nextflow_labels.config"
- type: "file"
path: "_viash.yaml"
dest: "_viash.yaml"
description: "From a directory containing fastq files, gather the files per sample\ description: "From a directory containing fastq files, gather the files per sample\
\ \nand validate according to the contents of the sample sheet.\n" \ \nand validate according to the contents of the sample sheet.\n"
test_resources: test_resources:
@@ -156,9 +159,9 @@ build_info:
output: "target/nextflow/dataflow/gather_fastqs_and_validate" output: "target/nextflow/dataflow/gather_fastqs_and_validate"
executable: "target/nextflow/dataflow/gather_fastqs_and_validate/main.nf" executable: "target/nextflow/dataflow/gather_fastqs_and_validate/main.nf"
viash_version: "0.9.4" viash_version: "0.9.4"
git_commit: "26bd658d6e8462c8bf049889349814ab33630e87" git_commit: "88d11c39262ea9952e2f2f119194b1e499e5efc3"
git_remote: "https://github.com/viash-hub/demultiplex" git_remote: "https://github.com/viash-hub/demultiplex"
git_tag: "v0.1.1-32-g26bd658" git_tag: "v0.1.1-33-g88d11c3"
package_config: package_config:
name: "demultiplex" name: "demultiplex"
version: "main" version: "main"
@@ -174,7 +177,7 @@ package_config:
- ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\ - ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\
\ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\ \ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\
.runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\ .runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\
)'\n" )'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n"
- ".engines += { type: \"native\" }" - ".engines += { type: \"native\" }"
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'" - ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
- ".engines[.type == 'docker'].target_tag := 'main'" - ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -0,0 +1,21 @@
name: demultiplex
description: |
Demultiplexing pipeline
license: MIT
keywords: [bioinformatics, sequence, demultiplexing, pipeline]
links:
issue_tracker: https://github.com/viash-hub/demultiplex/issues
repository: https://github.com/viash-hub/demultiplex
info:
test_resources:
- path: gs://viash-hub-resources/demultiplex/v4
dest: testData
viash_version: 0.9.4
config_mods: |
.requirements.commands += ['ps']
.runners[.type == 'nextflow'].directives.tag := '$id'
.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}
.runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")'
.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}
version: main
organization: vsh

View File

@@ -3098,6 +3098,11 @@ meta = [
"type" : "file", "type" : "file",
"path" : "/src/config/labels.config", "path" : "/src/config/labels.config",
"dest" : "nextflow_labels.config" "dest" : "nextflow_labels.config"
},
{
"type" : "file",
"path" : "/_viash.yaml",
"dest" : "_viash.yaml"
} }
], ],
"description" : "From a directory containing fastq files, gather the files per sample \nand validate according to the contents of the sample sheet.\n", "description" : "From a directory containing fastq files, gather the files per sample \nand validate according to the contents of the sample sheet.\n",
@@ -3227,9 +3232,9 @@ meta = [
"engine" : "native|native", "engine" : "native|native",
"output" : "target/nextflow/dataflow/gather_fastqs_and_validate", "output" : "target/nextflow/dataflow/gather_fastqs_and_validate",
"viash_version" : "0.9.4", "viash_version" : "0.9.4",
"git_commit" : "26bd658d6e8462c8bf049889349814ab33630e87", "git_commit" : "88d11c39262ea9952e2f2f119194b1e499e5efc3",
"git_remote" : "https://github.com/viash-hub/demultiplex", "git_remote" : "https://github.com/viash-hub/demultiplex",
"git_tag" : "v0.1.1-32-g26bd658" "git_tag" : "v0.1.1-33-g88d11c3"
}, },
"package_config" : { "package_config" : {
"name" : "demultiplex", "name" : "demultiplex",
@@ -3247,7 +3252,7 @@ meta = [
"source" : "src", "source" : "src",
"target" : "target", "target" : "target",
"config_mods" : [ "config_mods" : [
".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n", ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n",
".engines += { type: \\"native\\" }", ".engines += { type: \\"native\\" }",
".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'", ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'",
".engines[.type == 'docker'].target_tag := 'main'" ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -123,6 +123,9 @@ resources:
- type: "file" - type: "file"
path: "nextflow_labels.config" path: "nextflow_labels.config"
dest: "nextflow_labels.config" dest: "nextflow_labels.config"
- type: "file"
path: "_viash.yaml"
dest: "_viash.yaml"
description: "Demultiplexing of raw sequencing data" description: "Demultiplexing of raw sequencing data"
test_resources: test_resources:
- type: "nextflow_script" - type: "nextflow_script"
@@ -265,9 +268,9 @@ build_info:
output: "target/nextflow/demultiplex" output: "target/nextflow/demultiplex"
executable: "target/nextflow/demultiplex/main.nf" executable: "target/nextflow/demultiplex/main.nf"
viash_version: "0.9.4" viash_version: "0.9.4"
git_commit: "26bd658d6e8462c8bf049889349814ab33630e87" git_commit: "88d11c39262ea9952e2f2f119194b1e499e5efc3"
git_remote: "https://github.com/viash-hub/demultiplex" git_remote: "https://github.com/viash-hub/demultiplex"
git_tag: "v0.1.1-32-g26bd658" git_tag: "v0.1.1-33-g88d11c3"
dependencies: dependencies:
- "target/nextflow/io/untar" - "target/nextflow/io/untar"
- "target/nextflow/dataflow/gather_fastqs_and_validate" - "target/nextflow/dataflow/gather_fastqs_and_validate"
@@ -293,7 +296,7 @@ package_config:
- ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\ - ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\
\ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\ \ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\
.runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\ .runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\
)'\n" )'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n"
- ".engines += { type: \"native\" }" - ".engines += { type: \"native\" }"
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'" - ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
- ".engines[.type == 'docker'].target_tag := 'main'" - ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -0,0 +1,21 @@
name: demultiplex
description: |
Demultiplexing pipeline
license: MIT
keywords: [bioinformatics, sequence, demultiplexing, pipeline]
links:
issue_tracker: https://github.com/viash-hub/demultiplex/issues
repository: https://github.com/viash-hub/demultiplex
info:
test_resources:
- path: gs://viash-hub-resources/demultiplex/v4
dest: testData
viash_version: 0.9.4
config_mods: |
.requirements.commands += ['ps']
.runners[.type == 'nextflow'].directives.tag := '$id'
.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}
.runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")'
.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}
version: main
organization: vsh

View File

@@ -3178,6 +3178,11 @@ meta = [
"type" : "file", "type" : "file",
"path" : "/src/config/labels.config", "path" : "/src/config/labels.config",
"dest" : "nextflow_labels.config" "dest" : "nextflow_labels.config"
},
{
"type" : "file",
"path" : "/_viash.yaml",
"dest" : "_viash.yaml"
} }
], ],
"description" : "Demultiplexing of raw sequencing data", "description" : "Demultiplexing of raw sequencing data",
@@ -3375,9 +3380,9 @@ meta = [
"engine" : "native|native", "engine" : "native|native",
"output" : "target/nextflow/demultiplex", "output" : "target/nextflow/demultiplex",
"viash_version" : "0.9.4", "viash_version" : "0.9.4",
"git_commit" : "26bd658d6e8462c8bf049889349814ab33630e87", "git_commit" : "88d11c39262ea9952e2f2f119194b1e499e5efc3",
"git_remote" : "https://github.com/viash-hub/demultiplex", "git_remote" : "https://github.com/viash-hub/demultiplex",
"git_tag" : "v0.1.1-32-g26bd658" "git_tag" : "v0.1.1-33-g88d11c3"
}, },
"package_config" : { "package_config" : {
"name" : "demultiplex", "name" : "demultiplex",
@@ -3395,7 +3400,7 @@ meta = [
"source" : "src", "source" : "src",
"target" : "target", "target" : "target",
"config_mods" : [ "config_mods" : [
".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n", ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n",
".engines += { type: \\"native\\" }", ".engines += { type: \\"native\\" }",
".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'", ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'",
".engines[.type == 'docker'].target_tag := 'main'" ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -76,6 +76,9 @@ resources:
- type: "file" - type: "file"
path: "nextflow_labels.config" path: "nextflow_labels.config"
dest: "nextflow_labels.config" dest: "nextflow_labels.config"
- type: "file"
path: "_viash.yaml"
dest: "_viash.yaml"
description: "Detects the demultiplexer and accompanying sample information file which\ description: "Detects the demultiplexer and accompanying sample information file which\
\ can be \nused to generate the fastq files.\n" \ can be \nused to generate the fastq files.\n"
info: null info: null
@@ -165,9 +168,9 @@ build_info:
output: "target/nextflow/detect_demultiplexer" output: "target/nextflow/detect_demultiplexer"
executable: "target/nextflow/detect_demultiplexer/main.nf" executable: "target/nextflow/detect_demultiplexer/main.nf"
viash_version: "0.9.4" viash_version: "0.9.4"
git_commit: "26bd658d6e8462c8bf049889349814ab33630e87" git_commit: "88d11c39262ea9952e2f2f119194b1e499e5efc3"
git_remote: "https://github.com/viash-hub/demultiplex" git_remote: "https://github.com/viash-hub/demultiplex"
git_tag: "v0.1.1-32-g26bd658" git_tag: "v0.1.1-33-g88d11c3"
package_config: package_config:
name: "demultiplex" name: "demultiplex"
version: "main" version: "main"
@@ -183,7 +186,7 @@ package_config:
- ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\ - ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\
\ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\ \ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\
.runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\ .runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\
)'\n" )'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n"
- ".engines += { type: \"native\" }" - ".engines += { type: \"native\" }"
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'" - ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
- ".engines[.type == 'docker'].target_tag := 'main'" - ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -0,0 +1,21 @@
name: demultiplex
description: |
Demultiplexing pipeline
license: MIT
keywords: [bioinformatics, sequence, demultiplexing, pipeline]
links:
issue_tracker: https://github.com/viash-hub/demultiplex/issues
repository: https://github.com/viash-hub/demultiplex
info:
test_resources:
- path: gs://viash-hub-resources/demultiplex/v4
dest: testData
viash_version: 0.9.4
config_mods: |
.requirements.commands += ['ps']
.runners[.type == 'nextflow'].directives.tag := '$id'
.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}
.runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")'
.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}
version: main
organization: vsh

View File

@@ -3114,6 +3114,11 @@ meta = [
"type" : "file", "type" : "file",
"path" : "/src/config/labels.config", "path" : "/src/config/labels.config",
"dest" : "nextflow_labels.config" "dest" : "nextflow_labels.config"
},
{
"type" : "file",
"path" : "/_viash.yaml",
"dest" : "_viash.yaml"
} }
], ],
"description" : "Detects the demultiplexer and accompanying sample information file which can be \nused to generate the fastq files.\n", "description" : "Detects the demultiplexer and accompanying sample information file which can be \nused to generate the fastq files.\n",
@@ -3219,9 +3224,9 @@ meta = [
"engine" : "native|native", "engine" : "native|native",
"output" : "target/nextflow/detect_demultiplexer", "output" : "target/nextflow/detect_demultiplexer",
"viash_version" : "0.9.4", "viash_version" : "0.9.4",
"git_commit" : "26bd658d6e8462c8bf049889349814ab33630e87", "git_commit" : "88d11c39262ea9952e2f2f119194b1e499e5efc3",
"git_remote" : "https://github.com/viash-hub/demultiplex", "git_remote" : "https://github.com/viash-hub/demultiplex",
"git_tag" : "v0.1.1-32-g26bd658" "git_tag" : "v0.1.1-33-g88d11c3"
}, },
"package_config" : { "package_config" : {
"name" : "demultiplex", "name" : "demultiplex",
@@ -3239,7 +3244,7 @@ meta = [
"source" : "src", "source" : "src",
"target" : "target", "target" : "target",
"config_mods" : [ "config_mods" : [
".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n", ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n",
".engines += { type: \\"native\\" }", ".engines += { type: \\"native\\" }",
".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'", ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'",
".engines[.type == 'docker'].target_tag := 'main'" ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -41,6 +41,9 @@ resources:
- type: "file" - type: "file"
path: "nextflow_labels.config" path: "nextflow_labels.config"
dest: "nextflow_labels.config" dest: "nextflow_labels.config"
- type: "file"
path: "_viash.yaml"
dest: "_viash.yaml"
test_resources: test_resources:
- type: "bash_script" - type: "bash_script"
path: "test.sh" path: "test.sh"
@@ -157,9 +160,9 @@ build_info:
output: "target/nextflow/io/interop_summary_to_csv" output: "target/nextflow/io/interop_summary_to_csv"
executable: "target/nextflow/io/interop_summary_to_csv/main.nf" executable: "target/nextflow/io/interop_summary_to_csv/main.nf"
viash_version: "0.9.4" viash_version: "0.9.4"
git_commit: "26bd658d6e8462c8bf049889349814ab33630e87" git_commit: "88d11c39262ea9952e2f2f119194b1e499e5efc3"
git_remote: "https://github.com/viash-hub/demultiplex" git_remote: "https://github.com/viash-hub/demultiplex"
git_tag: "v0.1.1-32-g26bd658" git_tag: "v0.1.1-33-g88d11c3"
package_config: package_config:
name: "demultiplex" name: "demultiplex"
version: "main" version: "main"
@@ -175,7 +178,7 @@ package_config:
- ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\ - ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\
\ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\ \ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\
.runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\ .runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\
)'\n" )'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n"
- ".engines += { type: \"native\" }" - ".engines += { type: \"native\" }"
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'" - ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
- ".engines[.type == 'docker'].target_tag := 'main'" - ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -0,0 +1,21 @@
name: demultiplex
description: |
Demultiplexing pipeline
license: MIT
keywords: [bioinformatics, sequence, demultiplexing, pipeline]
links:
issue_tracker: https://github.com/viash-hub/demultiplex/issues
repository: https://github.com/viash-hub/demultiplex
info:
test_resources:
- path: gs://viash-hub-resources/demultiplex/v4
dest: testData
viash_version: 0.9.4
config_mods: |
.requirements.commands += ['ps']
.runners[.type == 'nextflow'].directives.tag := '$id'
.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}
.runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")'
.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}
version: main
organization: vsh

View File

@@ -3086,6 +3086,11 @@ meta = [
"type" : "file", "type" : "file",
"path" : "/src/config/labels.config", "path" : "/src/config/labels.config",
"dest" : "nextflow_labels.config" "dest" : "nextflow_labels.config"
},
{
"type" : "file",
"path" : "/_viash.yaml",
"dest" : "_viash.yaml"
} }
], ],
"test_resources" : [ "test_resources" : [
@@ -3228,9 +3233,9 @@ meta = [
"engine" : "docker|native", "engine" : "docker|native",
"output" : "target/nextflow/io/interop_summary_to_csv", "output" : "target/nextflow/io/interop_summary_to_csv",
"viash_version" : "0.9.4", "viash_version" : "0.9.4",
"git_commit" : "26bd658d6e8462c8bf049889349814ab33630e87", "git_commit" : "88d11c39262ea9952e2f2f119194b1e499e5efc3",
"git_remote" : "https://github.com/viash-hub/demultiplex", "git_remote" : "https://github.com/viash-hub/demultiplex",
"git_tag" : "v0.1.1-32-g26bd658" "git_tag" : "v0.1.1-33-g88d11c3"
}, },
"package_config" : { "package_config" : {
"name" : "demultiplex", "name" : "demultiplex",
@@ -3248,7 +3253,7 @@ meta = [
"source" : "src", "source" : "src",
"target" : "target", "target" : "target",
"config_mods" : [ "config_mods" : [
".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n", ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n",
".engines += { type: \\"native\\" }", ".engines += { type: \\"native\\" }",
".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'", ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'",
".engines[.type == 'docker'].target_tag := 'main'" ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -117,6 +117,9 @@ resources:
- type: "file" - type: "file"
path: "nextflow_labels.config" path: "nextflow_labels.config"
dest: "nextflow_labels.config" dest: "nextflow_labels.config"
- type: "file"
path: "_viash.yaml"
dest: "_viash.yaml"
description: "Publish the processed results of the run" description: "Publish the processed results of the run"
info: null info: null
status: "enabled" status: "enabled"
@@ -219,9 +222,9 @@ build_info:
output: "target/nextflow/io/publish" output: "target/nextflow/io/publish"
executable: "target/nextflow/io/publish/main.nf" executable: "target/nextflow/io/publish/main.nf"
viash_version: "0.9.4" viash_version: "0.9.4"
git_commit: "26bd658d6e8462c8bf049889349814ab33630e87" git_commit: "88d11c39262ea9952e2f2f119194b1e499e5efc3"
git_remote: "https://github.com/viash-hub/demultiplex" git_remote: "https://github.com/viash-hub/demultiplex"
git_tag: "v0.1.1-32-g26bd658" git_tag: "v0.1.1-33-g88d11c3"
package_config: package_config:
name: "demultiplex" name: "demultiplex"
version: "main" version: "main"
@@ -237,7 +240,7 @@ package_config:
- ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\ - ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\
\ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\ \ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\
.runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\ .runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\
)'\n" )'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n"
- ".engines += { type: \"native\" }" - ".engines += { type: \"native\" }"
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'" - ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
- ".engines[.type == 'docker'].target_tag := 'main'" - ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -0,0 +1,21 @@
name: demultiplex
description: |
Demultiplexing pipeline
license: MIT
keywords: [bioinformatics, sequence, demultiplexing, pipeline]
links:
issue_tracker: https://github.com/viash-hub/demultiplex/issues
repository: https://github.com/viash-hub/demultiplex
info:
test_resources:
- path: gs://viash-hub-resources/demultiplex/v4
dest: testData
viash_version: 0.9.4
config_mods: |
.requirements.commands += ['ps']
.runners[.type == 'nextflow'].directives.tag := '$id'
.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}
.runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")'
.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}
version: main
organization: vsh

View File

@@ -3174,6 +3174,11 @@ meta = [
"type" : "file", "type" : "file",
"path" : "/src/config/labels.config", "path" : "/src/config/labels.config",
"dest" : "nextflow_labels.config" "dest" : "nextflow_labels.config"
},
{
"type" : "file",
"path" : "/_viash.yaml",
"dest" : "_viash.yaml"
} }
], ],
"description" : "Publish the processed results of the run", "description" : "Publish the processed results of the run",
@@ -3297,9 +3302,9 @@ meta = [
"engine" : "docker|native", "engine" : "docker|native",
"output" : "target/nextflow/io/publish", "output" : "target/nextflow/io/publish",
"viash_version" : "0.9.4", "viash_version" : "0.9.4",
"git_commit" : "26bd658d6e8462c8bf049889349814ab33630e87", "git_commit" : "88d11c39262ea9952e2f2f119194b1e499e5efc3",
"git_remote" : "https://github.com/viash-hub/demultiplex", "git_remote" : "https://github.com/viash-hub/demultiplex",
"git_tag" : "v0.1.1-32-g26bd658" "git_tag" : "v0.1.1-33-g88d11c3"
}, },
"package_config" : { "package_config" : {
"name" : "demultiplex", "name" : "demultiplex",
@@ -3317,7 +3322,7 @@ meta = [
"source" : "src", "source" : "src",
"target" : "target", "target" : "target",
"config_mods" : [ "config_mods" : [
".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n", ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n",
".engines += { type: \\"native\\" }", ".engines += { type: \\"native\\" }",
".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'", ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'",
".engines[.type == 'docker'].target_tag := 'main'" ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -48,6 +48,9 @@ resources:
- type: "file" - type: "file"
path: "nextflow_labels.config" path: "nextflow_labels.config"
dest: "nextflow_labels.config" dest: "nextflow_labels.config"
- type: "file"
path: "_viash.yaml"
dest: "_viash.yaml"
description: "Unpack a .tar file. When the contents of the .tar file is just a single\ description: "Unpack a .tar file. When the contents of the .tar file is just a single\
\ directory,\nput the contents of the directory into the output folder instead of\ \ directory,\nput the contents of the directory into the output folder instead of\
\ that directory.\n" \ that directory.\n"
@@ -156,9 +159,9 @@ build_info:
output: "target/nextflow/io/untar" output: "target/nextflow/io/untar"
executable: "target/nextflow/io/untar/main.nf" executable: "target/nextflow/io/untar/main.nf"
viash_version: "0.9.4" viash_version: "0.9.4"
git_commit: "26bd658d6e8462c8bf049889349814ab33630e87" git_commit: "88d11c39262ea9952e2f2f119194b1e499e5efc3"
git_remote: "https://github.com/viash-hub/demultiplex" git_remote: "https://github.com/viash-hub/demultiplex"
git_tag: "v0.1.1-32-g26bd658" git_tag: "v0.1.1-33-g88d11c3"
package_config: package_config:
name: "demultiplex" name: "demultiplex"
version: "main" version: "main"
@@ -174,7 +177,7 @@ package_config:
- ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\ - ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\
\ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\ \ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\
.runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\ .runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\
)'\n" )'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n"
- ".engines += { type: \"native\" }" - ".engines += { type: \"native\" }"
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'" - ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
- ".engines[.type == 'docker'].target_tag := 'main'" - ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -0,0 +1,21 @@
name: demultiplex
description: |
Demultiplexing pipeline
license: MIT
keywords: [bioinformatics, sequence, demultiplexing, pipeline]
links:
issue_tracker: https://github.com/viash-hub/demultiplex/issues
repository: https://github.com/viash-hub/demultiplex
info:
test_resources:
- path: gs://viash-hub-resources/demultiplex/v4
dest: testData
viash_version: 0.9.4
config_mods: |
.requirements.commands += ['ps']
.runners[.type == 'nextflow'].directives.tag := '$id'
.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}
.runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")'
.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}
version: main
organization: vsh

View File

@@ -3097,6 +3097,11 @@ meta = [
"type" : "file", "type" : "file",
"path" : "/src/config/labels.config", "path" : "/src/config/labels.config",
"dest" : "nextflow_labels.config" "dest" : "nextflow_labels.config"
},
{
"type" : "file",
"path" : "/_viash.yaml",
"dest" : "_viash.yaml"
} }
], ],
"description" : "Unpack a .tar file. When the contents of the .tar file is just a single directory,\nput the contents of the directory into the output folder instead of that directory.\n", "description" : "Unpack a .tar file. When the contents of the .tar file is just a single directory,\nput the contents of the directory into the output folder instead of that directory.\n",
@@ -3227,9 +3232,9 @@ meta = [
"engine" : "docker|native", "engine" : "docker|native",
"output" : "target/nextflow/io/untar", "output" : "target/nextflow/io/untar",
"viash_version" : "0.9.4", "viash_version" : "0.9.4",
"git_commit" : "26bd658d6e8462c8bf049889349814ab33630e87", "git_commit" : "88d11c39262ea9952e2f2f119194b1e499e5efc3",
"git_remote" : "https://github.com/viash-hub/demultiplex", "git_remote" : "https://github.com/viash-hub/demultiplex",
"git_tag" : "v0.1.1-32-g26bd658" "git_tag" : "v0.1.1-33-g88d11c3"
}, },
"package_config" : { "package_config" : {
"name" : "demultiplex", "name" : "demultiplex",
@@ -3247,7 +3252,7 @@ meta = [
"source" : "src", "source" : "src",
"target" : "target", "target" : "target",
"config_mods" : [ "config_mods" : [
".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n", ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n",
".engines += { type: \\"native\\" }", ".engines += { type: \\"native\\" }",
".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'", ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'",
".engines[.type == 'docker'].target_tag := 'main'" ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -111,6 +111,9 @@ resources:
- type: "file" - type: "file"
path: "nextflow_labels.config" path: "nextflow_labels.config"
dest: "nextflow_labels.config" dest: "nextflow_labels.config"
- type: "file"
path: "_viash.yaml"
dest: "_viash.yaml"
description: "Runner for demultiplexing of raw sequencing data" description: "Runner for demultiplexing of raw sequencing data"
test_resources: test_resources:
- type: "nextflow_script" - type: "nextflow_script"
@@ -211,9 +214,9 @@ build_info:
output: "target/nextflow/runner" output: "target/nextflow/runner"
executable: "target/nextflow/runner/main.nf" executable: "target/nextflow/runner/main.nf"
viash_version: "0.9.4" viash_version: "0.9.4"
git_commit: "26bd658d6e8462c8bf049889349814ab33630e87" git_commit: "88d11c39262ea9952e2f2f119194b1e499e5efc3"
git_remote: "https://github.com/viash-hub/demultiplex" git_remote: "https://github.com/viash-hub/demultiplex"
git_tag: "v0.1.1-32-g26bd658" git_tag: "v0.1.1-33-g88d11c3"
dependencies: dependencies:
- "target/nextflow/demultiplex" - "target/nextflow/demultiplex"
- "target/nextflow/io/publish" - "target/nextflow/io/publish"
@@ -232,7 +235,7 @@ package_config:
- ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\ - ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag\
\ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\ \ := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n\
.runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\ .runners[.type == 'nextflow'].config.script := 'includeConfig(\"nextflow_labels.config\"\
)'\n" )'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n"
- ".engines += { type: \"native\" }" - ".engines += { type: \"native\" }"
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'" - ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
- ".engines[.type == 'docker'].target_tag := 'main'" - ".engines[.type == 'docker'].target_tag := 'main'"

View File

@@ -0,0 +1,21 @@
name: demultiplex
description: |
Demultiplexing pipeline
license: MIT
keywords: [bioinformatics, sequence, demultiplexing, pipeline]
links:
issue_tracker: https://github.com/viash-hub/demultiplex/issues
repository: https://github.com/viash-hub/demultiplex
info:
test_resources:
- path: gs://viash-hub-resources/demultiplex/v4
dest: testData
viash_version: 0.9.4
config_mods: |
.requirements.commands += ['ps']
.runners[.type == 'nextflow'].directives.tag := '$id'
.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}
.runners[.type == 'nextflow'].config.script := 'includeConfig("nextflow_labels.config")'
.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}
version: main
organization: vsh

View File

@@ -3164,6 +3164,11 @@ meta = [
"type" : "file", "type" : "file",
"path" : "/src/config/labels.config", "path" : "/src/config/labels.config",
"dest" : "nextflow_labels.config" "dest" : "nextflow_labels.config"
},
{
"type" : "file",
"path" : "/_viash.yaml",
"dest" : "_viash.yaml"
} }
], ],
"description" : "Runner for demultiplexing of raw sequencing data", "description" : "Runner for demultiplexing of raw sequencing data",
@@ -3291,9 +3296,9 @@ meta = [
"engine" : "native|native", "engine" : "native|native",
"output" : "target/nextflow/runner", "output" : "target/nextflow/runner",
"viash_version" : "0.9.4", "viash_version" : "0.9.4",
"git_commit" : "26bd658d6e8462c8bf049889349814ab33630e87", "git_commit" : "88d11c39262ea9952e2f2f119194b1e499e5efc3",
"git_remote" : "https://github.com/viash-hub/demultiplex", "git_remote" : "https://github.com/viash-hub/demultiplex",
"git_tag" : "v0.1.1-32-g26bd658" "git_tag" : "v0.1.1-33-g88d11c3"
}, },
"package_config" : { "package_config" : {
"name" : "demultiplex", "name" : "demultiplex",
@@ -3311,7 +3316,7 @@ meta = [
"source" : "src", "source" : "src",
"target" : "target", "target" : "target",
"config_mods" : [ "config_mods" : [
".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n", ".requirements.commands += ['ps']\n.runners[.type == 'nextflow'].directives.tag := '$id'\n.resources += {path: '/src/config/labels.config', dest: 'nextflow_labels.config'}\n.runners[.type == 'nextflow'].config.script := 'includeConfig(\\"nextflow_labels.config\\")'\n.resources += {path: '/_viash.yaml', dest: '_viash.yaml'}\n",
".engines += { type: \\"native\\" }", ".engines += { type: \\"native\\" }",
".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'", ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'",
".engines[.type == 'docker'].target_tag := 'main'" ".engines[.type == 'docker'].target_tag := 'main'"
@@ -3341,7 +3346,7 @@ include { publish } from "${meta.resources_dir}/../../nextflow/io/publish/main.n
// user-provided Nextflow code // user-provided Nextflow code
def date = new Date().format('yyyyMMdd_hhmmss') def date = new Date().format('yyyyMMdd_hhmmss')
def viash_config = java.nio.file.Paths.get("$projectDir/../../../").toAbsolutePath().normalize().toString() + "/_viash.yaml" def viash_config = java.nio.file.Paths.get("${moduleDir}/_viash.yaml")
def version = get_version(viash_config) def version = get_version(viash_config)
workflow run_wf { workflow run_wf {