Build branch main with version main (1e04724)
Build pipeline: viash-hub.htrnaseq.main-qcd6f
Source commit: 1e04724002
Source message: Integration tests: check contents of demultiplexing output (#25)
This commit is contained in:
@@ -220,8 +220,8 @@ build_info:
|
||||
output: "target/nextflow/eset/create_eset"
|
||||
executable: "target/nextflow/eset/create_eset/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3090,8 +3090,8 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/eset/create_eset",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -177,8 +177,8 @@ build_info:
|
||||
output: "target/nextflow/eset/create_fdata"
|
||||
executable: "target/nextflow/eset/create_fdata/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3044,8 +3044,8 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/eset/create_fdata",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -191,8 +191,8 @@ build_info:
|
||||
output: "target/nextflow/eset/create_pdata"
|
||||
executable: "target/nextflow/eset/create_pdata/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3058,8 +3058,8 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/eset/create_pdata",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -148,8 +148,8 @@ build_info:
|
||||
output: "target/nextflow/integration_test_components/htrnaseq/check_eset"
|
||||
executable: "target/nextflow/integration_test_components/htrnaseq/check_eset/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -2997,8 +2997,8 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/integration_test_components/htrnaseq/check_eset",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -0,0 +1,192 @@
|
||||
name: "check_cutadapt_output"
|
||||
namespace: "integration_test_components/well_demultiplexing"
|
||||
version: "main"
|
||||
authors:
|
||||
- name: "Dries Schaumont"
|
||||
roles:
|
||||
- "author"
|
||||
- "maintainer"
|
||||
info:
|
||||
links:
|
||||
email: "dries@data-intuitive.com"
|
||||
github: "DriesSchaumont"
|
||||
orcid: "0000-0002-4389-0440"
|
||||
linkedin: "dries-schaumont"
|
||||
organizations:
|
||||
- name: "Data Intuitive"
|
||||
href: "https://www.data-intuitive.com"
|
||||
role: "Data Scientist"
|
||||
argument_groups:
|
||||
- name: "Inputs"
|
||||
arguments:
|
||||
- type: "file"
|
||||
name: "--fastq_r1"
|
||||
description: "Path to the forward reads to test."
|
||||
info: null
|
||||
must_exist: true
|
||||
create_parent: true
|
||||
required: true
|
||||
direction: "input"
|
||||
multiple: true
|
||||
multiple_sep: ";"
|
||||
- type: "file"
|
||||
name: "--fastq_r2"
|
||||
description: "Path to the reverse reads to test."
|
||||
info: null
|
||||
must_exist: true
|
||||
create_parent: true
|
||||
required: true
|
||||
direction: "input"
|
||||
multiple: true
|
||||
multiple_sep: ";"
|
||||
- type: "string"
|
||||
name: "--ids"
|
||||
description: "Well IDs for the corresponding fastq input"
|
||||
info: null
|
||||
required: true
|
||||
direction: "input"
|
||||
multiple: true
|
||||
multiple_sep: ";"
|
||||
resources:
|
||||
- type: "python_script"
|
||||
path: "script.py"
|
||||
is_executable: true
|
||||
- type: "file"
|
||||
path: "nextflow_labels.config"
|
||||
dest: "nextflow_labels.config"
|
||||
description: "This component test the cutadapt output from the well_demultiplex subworkflow."
|
||||
info: null
|
||||
status: "enabled"
|
||||
requirements:
|
||||
commands:
|
||||
- "ps"
|
||||
license: "MIT"
|
||||
links:
|
||||
repository: "https://github.com/viash-hub/htrnaseq"
|
||||
runners:
|
||||
- type: "executable"
|
||||
id: "executable"
|
||||
docker_setup_strategy: "ifneedbepullelsecachedbuild"
|
||||
- type: "nextflow"
|
||||
id: "nextflow"
|
||||
directives:
|
||||
tag: "$id"
|
||||
auto:
|
||||
simplifyInput: true
|
||||
simplifyOutput: false
|
||||
transcript: false
|
||||
publish: false
|
||||
config:
|
||||
labels:
|
||||
mem1gb: "memory = 1000000000.B"
|
||||
mem2gb: "memory = 2000000000.B"
|
||||
mem5gb: "memory = 5000000000.B"
|
||||
mem10gb: "memory = 10000000000.B"
|
||||
mem20gb: "memory = 20000000000.B"
|
||||
mem50gb: "memory = 50000000000.B"
|
||||
mem100gb: "memory = 100000000000.B"
|
||||
mem200gb: "memory = 200000000000.B"
|
||||
mem500gb: "memory = 500000000000.B"
|
||||
mem1tb: "memory = 1000000000000.B"
|
||||
mem2tb: "memory = 2000000000000.B"
|
||||
mem5tb: "memory = 5000000000000.B"
|
||||
mem10tb: "memory = 10000000000000.B"
|
||||
mem20tb: "memory = 20000000000000.B"
|
||||
mem50tb: "memory = 50000000000000.B"
|
||||
mem100tb: "memory = 100000000000000.B"
|
||||
mem200tb: "memory = 200000000000000.B"
|
||||
mem500tb: "memory = 500000000000000.B"
|
||||
mem1gib: "memory = 1073741824.B"
|
||||
mem2gib: "memory = 2147483648.B"
|
||||
mem4gib: "memory = 4294967296.B"
|
||||
mem8gib: "memory = 8589934592.B"
|
||||
mem16gib: "memory = 17179869184.B"
|
||||
mem32gib: "memory = 34359738368.B"
|
||||
mem64gib: "memory = 68719476736.B"
|
||||
mem128gib: "memory = 137438953472.B"
|
||||
mem256gib: "memory = 274877906944.B"
|
||||
mem512gib: "memory = 549755813888.B"
|
||||
mem1tib: "memory = 1099511627776.B"
|
||||
mem2tib: "memory = 2199023255552.B"
|
||||
mem4tib: "memory = 4398046511104.B"
|
||||
mem8tib: "memory = 8796093022208.B"
|
||||
mem16tib: "memory = 17592186044416.B"
|
||||
mem32tib: "memory = 35184372088832.B"
|
||||
mem64tib: "memory = 70368744177664.B"
|
||||
mem128tib: "memory = 140737488355328.B"
|
||||
mem256tib: "memory = 281474976710656.B"
|
||||
mem512tib: "memory = 562949953421312.B"
|
||||
cpu1: "cpus = 1"
|
||||
cpu2: "cpus = 2"
|
||||
cpu5: "cpus = 5"
|
||||
cpu10: "cpus = 10"
|
||||
cpu20: "cpus = 20"
|
||||
cpu50: "cpus = 50"
|
||||
cpu100: "cpus = 100"
|
||||
cpu200: "cpus = 200"
|
||||
cpu500: "cpus = 500"
|
||||
cpu1000: "cpus = 1000"
|
||||
script:
|
||||
- "includeConfig(\"nextflow_labels.config\")"
|
||||
debug: false
|
||||
container: "docker"
|
||||
engines:
|
||||
- type: "docker"
|
||||
id: "docker"
|
||||
image: "python:3.12-slim"
|
||||
target_registry: "images.viash-hub.com"
|
||||
target_tag: "main"
|
||||
namespace_separator: "/"
|
||||
setup:
|
||||
- type: "apt"
|
||||
packages:
|
||||
- "procps"
|
||||
interactive: false
|
||||
- type: "python"
|
||||
user: false
|
||||
packages:
|
||||
- "dnaio"
|
||||
upgrade: true
|
||||
entrypoint: []
|
||||
cmd: null
|
||||
- type: "native"
|
||||
id: "native"
|
||||
build_info:
|
||||
config: "src/integration_test_components/well_demultiplexing/check_cutatapt_output/config.vsh.yaml"
|
||||
runner: "nextflow"
|
||||
engine: "docker|native"
|
||||
output: "target/nextflow/integration_test_components/well_demultiplexing/check_cutadapt_output"
|
||||
executable: "target/nextflow/integration_test_components/well_demultiplexing/check_cutadapt_output/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
description: "High-throughput pipeline [WIP]\n"
|
||||
info:
|
||||
test_resources:
|
||||
- path: "gs://viash-hub-test-data/htrnaseq/v1/"
|
||||
dest: "resources_test"
|
||||
viash_version: "0.9.0"
|
||||
source: "src"
|
||||
target: "target"
|
||||
config_mods:
|
||||
- ".requirements.commands := ['ps']\n.runners[.type == 'nextflow'].config.script\
|
||||
\ := 'includeConfig(\"nextflow_labels.config\")'\n.resources += {path: '/src/config/labels.config',\
|
||||
\ dest: 'nextflow_labels.config'}\n"
|
||||
- ".engines += { type: \"native\" }"
|
||||
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
|
||||
- ".engines[.type == 'docker'].target_tag := 'main'"
|
||||
keywords:
|
||||
- "bioinformatics"
|
||||
- "sequence"
|
||||
- "high-throughput"
|
||||
- "mapping"
|
||||
- "counting"
|
||||
- "pipeline"
|
||||
license: "MIT"
|
||||
organization: "vsh"
|
||||
links:
|
||||
repository: "https://github.com/viash-hub/htrnaseq"
|
||||
issue_tracker: "https://github.com/viash-hub/htrnaseq/issues"
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,126 @@
|
||||
manifest {
|
||||
name = 'integration_test_components/well_demultiplexing/check_cutadapt_output'
|
||||
mainScript = 'main.nf'
|
||||
nextflowVersion = '!>=20.12.1-edge'
|
||||
version = 'main'
|
||||
description = 'This component test the cutadapt output from the well_demultiplex subworkflow.'
|
||||
author = 'Dries Schaumont'
|
||||
}
|
||||
|
||||
process.container = 'nextflow/bash:latest'
|
||||
|
||||
// detect tempdir
|
||||
tempDir = java.nio.file.Paths.get(
|
||||
System.getenv('NXF_TEMP') ?:
|
||||
System.getenv('VIASH_TEMP') ?:
|
||||
System.getenv('TEMPDIR') ?:
|
||||
System.getenv('TMPDIR') ?:
|
||||
'/tmp'
|
||||
).toAbsolutePath()
|
||||
|
||||
profiles {
|
||||
no_publish {
|
||||
process {
|
||||
withName: '.*' {
|
||||
publishDir = [
|
||||
enabled: false
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
mount_temp {
|
||||
docker.temp = tempDir
|
||||
podman.temp = tempDir
|
||||
charliecloud.temp = tempDir
|
||||
}
|
||||
docker {
|
||||
docker.enabled = true
|
||||
// docker.userEmulation = true
|
||||
singularity.enabled = false
|
||||
podman.enabled = false
|
||||
shifter.enabled = false
|
||||
charliecloud.enabled = false
|
||||
}
|
||||
singularity {
|
||||
singularity.enabled = true
|
||||
singularity.autoMounts = true
|
||||
docker.enabled = false
|
||||
podman.enabled = false
|
||||
shifter.enabled = false
|
||||
charliecloud.enabled = false
|
||||
}
|
||||
podman {
|
||||
podman.enabled = true
|
||||
docker.enabled = false
|
||||
singularity.enabled = false
|
||||
shifter.enabled = false
|
||||
charliecloud.enabled = false
|
||||
}
|
||||
shifter {
|
||||
shifter.enabled = true
|
||||
docker.enabled = false
|
||||
singularity.enabled = false
|
||||
podman.enabled = false
|
||||
charliecloud.enabled = false
|
||||
}
|
||||
charliecloud {
|
||||
charliecloud.enabled = true
|
||||
docker.enabled = false
|
||||
singularity.enabled = false
|
||||
podman.enabled = false
|
||||
shifter.enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
process{
|
||||
withLabel: mem1gb { memory = 1000000000.B }
|
||||
withLabel: mem2gb { memory = 2000000000.B }
|
||||
withLabel: mem5gb { memory = 5000000000.B }
|
||||
withLabel: mem10gb { memory = 10000000000.B }
|
||||
withLabel: mem20gb { memory = 20000000000.B }
|
||||
withLabel: mem50gb { memory = 50000000000.B }
|
||||
withLabel: mem100gb { memory = 100000000000.B }
|
||||
withLabel: mem200gb { memory = 200000000000.B }
|
||||
withLabel: mem500gb { memory = 500000000000.B }
|
||||
withLabel: mem1tb { memory = 1000000000000.B }
|
||||
withLabel: mem2tb { memory = 2000000000000.B }
|
||||
withLabel: mem5tb { memory = 5000000000000.B }
|
||||
withLabel: mem10tb { memory = 10000000000000.B }
|
||||
withLabel: mem20tb { memory = 20000000000000.B }
|
||||
withLabel: mem50tb { memory = 50000000000000.B }
|
||||
withLabel: mem100tb { memory = 100000000000000.B }
|
||||
withLabel: mem200tb { memory = 200000000000000.B }
|
||||
withLabel: mem500tb { memory = 500000000000000.B }
|
||||
withLabel: mem1gib { memory = 1073741824.B }
|
||||
withLabel: mem2gib { memory = 2147483648.B }
|
||||
withLabel: mem4gib { memory = 4294967296.B }
|
||||
withLabel: mem8gib { memory = 8589934592.B }
|
||||
withLabel: mem16gib { memory = 17179869184.B }
|
||||
withLabel: mem32gib { memory = 34359738368.B }
|
||||
withLabel: mem64gib { memory = 68719476736.B }
|
||||
withLabel: mem128gib { memory = 137438953472.B }
|
||||
withLabel: mem256gib { memory = 274877906944.B }
|
||||
withLabel: mem512gib { memory = 549755813888.B }
|
||||
withLabel: mem1tib { memory = 1099511627776.B }
|
||||
withLabel: mem2tib { memory = 2199023255552.B }
|
||||
withLabel: mem4tib { memory = 4398046511104.B }
|
||||
withLabel: mem8tib { memory = 8796093022208.B }
|
||||
withLabel: mem16tib { memory = 17592186044416.B }
|
||||
withLabel: mem32tib { memory = 35184372088832.B }
|
||||
withLabel: mem64tib { memory = 70368744177664.B }
|
||||
withLabel: mem128tib { memory = 140737488355328.B }
|
||||
withLabel: mem256tib { memory = 281474976710656.B }
|
||||
withLabel: mem512tib { memory = 562949953421312.B }
|
||||
withLabel: cpu1 { cpus = 1 }
|
||||
withLabel: cpu2 { cpus = 2 }
|
||||
withLabel: cpu5 { cpus = 5 }
|
||||
withLabel: cpu10 { cpus = 10 }
|
||||
withLabel: cpu20 { cpus = 20 }
|
||||
withLabel: cpu50 { cpus = 50 }
|
||||
withLabel: cpu100 { cpus = 100 }
|
||||
withLabel: cpu200 { cpus = 200 }
|
||||
withLabel: cpu500 { cpus = 500 }
|
||||
withLabel: cpu1000 { cpus = 1000 }
|
||||
}
|
||||
|
||||
includeConfig("nextflow_labels.config")
|
||||
@@ -0,0 +1,108 @@
|
||||
executor {
|
||||
$k8s {
|
||||
submitRateLimit = '10sec'
|
||||
pollInterval = '1 sec'
|
||||
}
|
||||
}
|
||||
|
||||
process {
|
||||
container = 'nextflow/bash:latest'
|
||||
|
||||
// default resources
|
||||
memory = { 8.Gb * task.attempt }
|
||||
cpus = 8
|
||||
maxForks = 36
|
||||
|
||||
// Retry for exit codes that have something to do with memory issues
|
||||
errorStrategy = { task.exitStatus in 137..140 ? 'retry' : 'terminate' }
|
||||
maxRetries = 3
|
||||
maxMemory = 192.GB
|
||||
|
||||
// Resource labels
|
||||
withLabel: verylowcpu { cpus = 2 }
|
||||
withLabel: lowcpu { cpus = 8 }
|
||||
withLabel: midcpu { cpus = 16 }
|
||||
withLabel: highcpu { cpus = 32 }
|
||||
|
||||
withLabel: verylowmem { memory = { get_memory( 4.GB * task.attempt ) } }
|
||||
withLabel: lowmem { memory = { get_memory( 8.GB * task.attempt ) } }
|
||||
withLabel: midmem { memory = { get_memory( 16.GB * task.attempt ) } }
|
||||
withLabel: highmem { memory = { get_memory( 64.GB * task.attempt ) } }
|
||||
|
||||
}
|
||||
|
||||
profiles {
|
||||
// detect tempdir
|
||||
tempDir = java.nio.file.Paths.get(
|
||||
System.getenv('NXF_TEMP') ?:
|
||||
System.getenv('VIASH_TEMP') ?:
|
||||
System.getenv('TEMPDIR') ?:
|
||||
System.getenv('TMPDIR') ?:
|
||||
'/tmp'
|
||||
).toAbsolutePath()
|
||||
|
||||
mount_temp {
|
||||
docker.temp = tempDir
|
||||
podman.temp = tempDir
|
||||
charliecloud.temp = tempDir
|
||||
}
|
||||
|
||||
no_publish {
|
||||
process {
|
||||
withName: '.*' {
|
||||
publishDir = [
|
||||
enabled: false
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
docker {
|
||||
docker.fixOwnership = true
|
||||
docker.enabled = true
|
||||
// docker.userEmulation = true
|
||||
singularity.enabled = false
|
||||
podman.enabled = false
|
||||
shifter.enabled = false
|
||||
charliecloud.enabled = false
|
||||
}
|
||||
|
||||
local {
|
||||
// This config is for local processing.
|
||||
process {
|
||||
withName: ".*parallel_map_process" {
|
||||
maxForks = 1
|
||||
}
|
||||
maxMemory = 25.GB
|
||||
withLabel: verylowcpu { cpus = 2 }
|
||||
withLabel: lowcpu { cpus = 4 }
|
||||
withLabel: midcpu { cpus = 6 }
|
||||
withLabel: highcpu { cpus = 8 }
|
||||
|
||||
withLabel: lowmem { memory = { get_memory( 8.GB * task.attempt ) } }
|
||||
withLabel: midmem { memory = { get_memory( 12.GB * task.attempt ) } }
|
||||
withLabel: highmem { memory = { get_memory( 20.GB * task.attempt ) } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def get_memory(to_compare) {
|
||||
if (!process.containsKey("maxMemory") || !process.maxMemory) {
|
||||
return to_compare
|
||||
}
|
||||
|
||||
try {
|
||||
if (process.containsKey("maxRetries") && process.maxRetries && task.attempt == (process.maxRetries as int)) {
|
||||
return process.maxMemory
|
||||
}
|
||||
else if (to_compare.compareTo(process.maxMemory as nextflow.util.MemoryUnit) == 1) {
|
||||
return max_memory as nextflow.util.MemoryUnit
|
||||
}
|
||||
else {
|
||||
return to_compare
|
||||
}
|
||||
} catch (all) {
|
||||
println "Error processing memory resources. Please check that process.maxMemory '${process.maxMemory}' and process.maxRetries '${process.maxRetries}' are valid!"
|
||||
System.exit(1)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "check_cutadapt_output",
|
||||
"description": "This component test the cutadapt output from the well_demultiplex subworkflow.",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"inputs" : {
|
||||
"title": "Inputs",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"fastq_r1": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. Path to the forward reads to test",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. Path to the forward reads to test."
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"fastq_r2": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. Path to the reverse reads to test",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. Path to the reverse reads to test."
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"ids": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `string`, required, multiple_sep: `\";\"`. Well IDs for the corresponding fastq input",
|
||||
"help_text": "Type: List of `string`, required, multiple_sep: `\";\"`. Well IDs for the corresponding fastq input"
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"nextflow input-output arguments" : {
|
||||
"title": "Nextflow input-output arguments",
|
||||
"type": "object",
|
||||
"description": "Input/output parameters for Nextflow itself. Please note that both publishDir and publish_dir are supported but at least one has to be configured.",
|
||||
"properties": {
|
||||
|
||||
|
||||
"publish_dir": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, required, example: `output/`. Path to an output directory",
|
||||
"help_text": "Type: `string`, required, example: `output/`. Path to an output directory."
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"param_list": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, example: `my_params.yaml`. Allows inputting multiple parameter sets to initialise a Nextflow channel",
|
||||
"help_text": "Type: `string`, example: `my_params.yaml`. Allows inputting multiple parameter sets to initialise a Nextflow channel. A `param_list` can either be a list of maps, a csv file, a json file, a yaml file, or simply a yaml blob.\n\n* A list of maps (as-is) where the keys of each map corresponds to the arguments of the pipeline. Example: in a `nextflow.config` file: `param_list: [ [\u0027id\u0027: \u0027foo\u0027, \u0027input\u0027: \u0027foo.txt\u0027], [\u0027id\u0027: \u0027bar\u0027, \u0027input\u0027: \u0027bar.txt\u0027] ]`.\n* A csv file should have column names which correspond to the different arguments of this pipeline. Example: `--param_list data.csv` with columns `id,input`.\n* A json or a yaml file should be a list of maps, each of which has keys corresponding to the arguments of the pipeline. Example: `--param_list data.json` with contents `[ {\u0027id\u0027: \u0027foo\u0027, \u0027input\u0027: \u0027foo.txt\u0027}, {\u0027id\u0027: \u0027bar\u0027, \u0027input\u0027: \u0027bar.txt\u0027} ]`.\n* A yaml blob can also be passed directly as a string. Example: `--param_list \"[ {\u0027id\u0027: \u0027foo\u0027, \u0027input\u0027: \u0027foo.txt\u0027}, {\u0027id\u0027: \u0027bar\u0027, \u0027input\u0027: \u0027bar.txt\u0027} ]\"`.\n\nWhen passing a csv, json or yaml file, relative path names are relativized to the location of the parameter file. No relativation is performed when `param_list` is a list of maps (as-is) or a yaml blob.",
|
||||
"hidden": true
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
"allOf": [
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/inputs"
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -264,8 +264,8 @@ build_info:
|
||||
output: "target/nextflow/parallel_map"
|
||||
executable: "target/nextflow/parallel_map/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3148,8 +3148,8 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/parallel_map",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -201,8 +201,8 @@ build_info:
|
||||
output: "target/nextflow/report/create_report"
|
||||
executable: "target/nextflow/report/create_report/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3077,8 +3077,8 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/report/create_report",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -198,8 +198,8 @@ build_info:
|
||||
output: "target/nextflow/stats/combine_star_logs"
|
||||
executable: "target/nextflow/stats/combine_star_logs/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3060,8 +3060,8 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/stats/combine_star_logs",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -182,8 +182,8 @@ build_info:
|
||||
output: "target/nextflow/stats/generate_pool_statistics"
|
||||
executable: "target/nextflow/stats/generate_pool_statistics/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3044,8 +3044,8 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/stats/generate_pool_statistics",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -262,8 +262,8 @@ build_info:
|
||||
output: "target/nextflow/stats/generate_well_statistics"
|
||||
executable: "target/nextflow/stats/generate_well_statistics/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3135,8 +3135,8 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/stats/generate_well_statistics",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -308,8 +308,8 @@ build_info:
|
||||
output: "target/nextflow/workflows/htrnaseq"
|
||||
executable: "target/nextflow/workflows/htrnaseq/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
dependencies:
|
||||
- "target/nextflow/stats/combine_star_logs"
|
||||
- "target/nextflow/stats/generate_pool_statistics"
|
||||
|
||||
@@ -3210,8 +3210,8 @@ meta = [
|
||||
"engine" : "native|native",
|
||||
"output" : "target/nextflow/workflows/htrnaseq",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -175,8 +175,8 @@ build_info:
|
||||
output: "target/nextflow/workflows/parallel_map_wf"
|
||||
executable: "target/nextflow/workflows/parallel_map_wf/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
dependencies:
|
||||
- "target/nextflow/parallel_map"
|
||||
- "target/nextflow/workflows/utils/groupWells"
|
||||
|
||||
@@ -3028,8 +3028,8 @@ meta = [
|
||||
"engine" : "native|native",
|
||||
"output" : "target/nextflow/workflows/parallel_map_wf",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -185,8 +185,8 @@ build_info:
|
||||
output: "target/nextflow/workflows/utils/groupWells"
|
||||
executable: "target/nextflow/workflows/utils/groupWells/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3039,8 +3039,8 @@ meta = [
|
||||
"engine" : "native",
|
||||
"output" : "target/nextflow/workflows/utils/groupWells",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -255,8 +255,8 @@ build_info:
|
||||
output: "target/nextflow/workflows/well_demultiplex"
|
||||
executable: "target/nextflow/workflows/well_demultiplex/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790"
|
||||
git_remote: "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
git_commit: "1e04724002db16babe7015e8703aa3eb55e8f225"
|
||||
git_remote: "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
dependencies:
|
||||
- "target/dependencies/vsh/vsh/biobox/v0.3.0/nextflow/cutadapt"
|
||||
- "target/dependencies/vsh/vsh/craftbox/v0.1.0/nextflow/concat_text"
|
||||
|
||||
@@ -3134,8 +3134,8 @@ meta = [
|
||||
"engine" : "native|native",
|
||||
"output" : "target/nextflow/workflows/well_demultiplex",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "e3a7de40e8c1f809e7a3e2ca1e34e2f7150d0790",
|
||||
"git_remote" : "https://x-access-token:ghs_nFNHagvyTq2ZDrbyQ3KbmmqZYpur9V22CgJA@github.com/viash-hub/htrnaseq"
|
||||
"git_commit" : "1e04724002db16babe7015e8703aa3eb55e8f225",
|
||||
"git_remote" : "https://x-access-token:ghs_E2WtcKgkiH3ocUC9OYqZa56DfTo5Fl2Cb5ve@github.com/viash-hub/htrnaseq"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
Reference in New Issue
Block a user