Build branch main with version main (a3b7ae3)
Build pipeline: viash-hub.htrnaseq.main-fmznz
Source commit: a3b7ae3f31
Source message: update biobox and craftbox versions (#60)
* update biobox and craftbox versions
* update changelog
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
|
||||
* Moved the test resources to their new location (PR #47).
|
||||
|
||||
## Minor changes
|
||||
|
||||
* Bump `biobox` and `craftbox` dependencies to versions `0.3.1` and `0.2.0`, respectively (PR #60).
|
||||
|
||||
# htrnaseq v0.8.0
|
||||
|
||||
## New functionality
|
||||
|
||||
@@ -135,7 +135,7 @@ repositories:
|
||||
- name: bb
|
||||
type: vsh
|
||||
repo: biobox
|
||||
tag: v0.1.0
|
||||
tag: v0.3.1
|
||||
|
||||
runners:
|
||||
- type: nextflow
|
||||
|
||||
@@ -65,11 +65,11 @@ repositories:
|
||||
- name: bb
|
||||
type: vsh
|
||||
repo: biobox
|
||||
tag: v0.3.0
|
||||
tag: v0.3.1
|
||||
- name: cb
|
||||
type: vsh
|
||||
repo: craftbox
|
||||
tag: v0.1.0
|
||||
tag: v0.2.0
|
||||
|
||||
runners:
|
||||
- type: nextflow
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: "cutadapt"
|
||||
version: "v0.3.0"
|
||||
version: "v0.3.1"
|
||||
authors:
|
||||
- name: "Toni Verbeiren"
|
||||
roles:
|
||||
@@ -633,6 +633,9 @@ test_resources:
|
||||
is_executable: true
|
||||
info: null
|
||||
status: "enabled"
|
||||
scope:
|
||||
image: "public"
|
||||
target: "public"
|
||||
requirements:
|
||||
commands:
|
||||
- "ps"
|
||||
@@ -718,7 +721,7 @@ engines:
|
||||
id: "docker"
|
||||
image: "python:3.12"
|
||||
target_registry: "images.viash-hub.com"
|
||||
target_tag: "v0.3.0"
|
||||
target_tag: "v0.3.1"
|
||||
namespace_separator: "/"
|
||||
setup:
|
||||
- type: "python"
|
||||
@@ -739,23 +742,34 @@ build_info:
|
||||
engine: "docker|native"
|
||||
output: "target/nextflow/cutadapt"
|
||||
executable: "target/nextflow/cutadapt/main.nf"
|
||||
viash_version: "0.9.0"
|
||||
git_commit: "d86bd5cf62104af02caa852aacd352b1aa97ed60"
|
||||
git_remote: "https://x-access-token:ghs_EwAUAMYJ0K4VBHlAEMs4ZP2OyQYqJM0PSfEO@github.com/viash-hub/biobox"
|
||||
git_tag: "v0.2.0-29-gd86bd5c"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "98a5f3cc745525a65c10263d25cf414eb1093223"
|
||||
git_remote: "https://github.com/viash-hub/biobox"
|
||||
git_tag: "v0.3.0-8-g98a5f3c"
|
||||
package_config:
|
||||
name: "biobox"
|
||||
version: "v0.3.0"
|
||||
description: "A collection of bioinformatics tools for working with sequence data.\n"
|
||||
version: "v0.3.1"
|
||||
summary: "A curated collection of high-quality, standalone bioinformatics components\
|
||||
\ built with [Viash](https://viash.io).\n"
|
||||
description: "`biobox` offers a suite of reliable bioinformatics components, similar\
|
||||
\ to [nf-core/modules](https://github.com/nf-core/modules) and [snakemake-wrappers/bio](https://github.com/snakemake/snakemake-wrappers/tree/master/bio),\
|
||||
\ but built using the [Viash](https://viash.io) framework.\n\nThis approach emphasizes\
|
||||
\ **reusability**, **reproducibility**, and adherence to **best practices**. Key\
|
||||
\ features of `biobox` components include:\n\n* **Standalone & Nextflow Ready:**\
|
||||
\ Run components directly via the command line or seamlessly integrate them into\
|
||||
\ Nextflow workflows.\n* **High Quality Standards:**\n * Comprehensive documentation\
|
||||
\ for components and parameters.\n * Full exposure of underlying tool arguments.\n\
|
||||
\ * Containerized (Docker) for dependency management and reproducibility.\n\
|
||||
\ * Unit tested for verified functionality.\n"
|
||||
info: null
|
||||
viash_version: "0.9.0"
|
||||
viash_version: "0.9.4"
|
||||
source: "src"
|
||||
target: "target"
|
||||
config_mods:
|
||||
- ".requirements.commands := ['ps']\n"
|
||||
- ".engines += { type: \"native\" }"
|
||||
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
|
||||
- ".engines[.type == 'docker'].target_tag := 'v0.3.0'"
|
||||
- ".engines[.type == 'docker'].target_tag := 'v0.3.1'"
|
||||
keywords:
|
||||
- "bioinformatics"
|
||||
- "modules"
|
||||
@@ -1,6 +1,6 @@
|
||||
// cutadapt v0.3.0
|
||||
// cutadapt v0.3.1
|
||||
//
|
||||
// This wrapper script is auto-generated by viash 0.9.0 and is thus a derivative
|
||||
// This wrapper script is auto-generated by viash 0.9.4 and is thus a derivative
|
||||
// work thereof. This software comes with ABSOLUTELY NO WARRANTY from Data
|
||||
// Intuitive.
|
||||
//
|
||||
@@ -85,64 +85,56 @@ def _checkArgumentType(String stage, Map par, Object value, String errorIdentifi
|
||||
foundClass = "List[${e.foundClass}]"
|
||||
}
|
||||
} else if (par.type == "string") {
|
||||
// cast to string if need be
|
||||
// cast to string if need be. only cast if the value is a GString
|
||||
if (value instanceof GString) {
|
||||
value = value.toString()
|
||||
value = value as String
|
||||
}
|
||||
expectedClass = value instanceof String ? null : "String"
|
||||
} else if (par.type == "integer") {
|
||||
// cast to integer if need be
|
||||
if (value instanceof String) {
|
||||
if (value !instanceof Integer) {
|
||||
try {
|
||||
value = value.toInteger()
|
||||
value = value as Integer
|
||||
} catch (NumberFormatException e) {
|
||||
// do nothing
|
||||
expectedClass = "Integer"
|
||||
}
|
||||
}
|
||||
if (value instanceof java.math.BigInteger) {
|
||||
value = value.intValue()
|
||||
}
|
||||
expectedClass = value instanceof Integer ? null : "Integer"
|
||||
} else if (par.type == "long") {
|
||||
// cast to long if need be
|
||||
if (value instanceof String) {
|
||||
if (value !instanceof Long) {
|
||||
try {
|
||||
value = value.toLong()
|
||||
value = value as Long
|
||||
} catch (NumberFormatException e) {
|
||||
// do nothing
|
||||
expectedClass = "Long"
|
||||
}
|
||||
}
|
||||
if (value instanceof Integer) {
|
||||
value = value.toLong()
|
||||
}
|
||||
expectedClass = value instanceof Long ? null : "Long"
|
||||
} else if (par.type == "double") {
|
||||
// cast to double if need be
|
||||
if (value instanceof String) {
|
||||
if (value !instanceof Double) {
|
||||
try {
|
||||
value = value.toDouble()
|
||||
value = value as Double
|
||||
} catch (NumberFormatException e) {
|
||||
// do nothing
|
||||
expectedClass = "Double"
|
||||
}
|
||||
}
|
||||
if (value instanceof java.math.BigDecimal) {
|
||||
value = value.doubleValue()
|
||||
} else if (par.type == "float") {
|
||||
// cast to float if need be
|
||||
if (value !instanceof Float) {
|
||||
try {
|
||||
value = value as Float
|
||||
} catch (NumberFormatException e) {
|
||||
expectedClass = "Float"
|
||||
}
|
||||
}
|
||||
if (value instanceof Float) {
|
||||
value = value.toDouble()
|
||||
}
|
||||
expectedClass = value instanceof Double ? null : "Double"
|
||||
} else if (par.type == "boolean" | par.type == "boolean_true" | par.type == "boolean_false") {
|
||||
// cast to boolean if need be
|
||||
if (value instanceof String) {
|
||||
def valueLower = value.toLowerCase()
|
||||
if (valueLower == "true") {
|
||||
value = true
|
||||
} else if (valueLower == "false") {
|
||||
value = false
|
||||
if (value !instanceof Boolean) {
|
||||
try {
|
||||
value = value as Boolean
|
||||
} catch (Exception e) {
|
||||
expectedClass = "Boolean"
|
||||
}
|
||||
}
|
||||
expectedClass = value instanceof Boolean ? null : "Boolean"
|
||||
} else if (par.type == "file" && (par.direction == "input" || stage == "output")) {
|
||||
// cast to path if need be
|
||||
if (value instanceof String) {
|
||||
@@ -154,10 +146,13 @@ def _checkArgumentType(String stage, Map par, Object value, String errorIdentifi
|
||||
expectedClass = value instanceof Path ? null : "Path"
|
||||
} else if (par.type == "file" && stage == "input" && par.direction == "output") {
|
||||
// cast to string if need be
|
||||
if (value instanceof GString) {
|
||||
value = value.toString()
|
||||
if (value !instanceof String) {
|
||||
try {
|
||||
value = value as String
|
||||
} catch (Exception e) {
|
||||
expectedClass = "String"
|
||||
}
|
||||
}
|
||||
expectedClass = value instanceof String ? null : "String"
|
||||
} else {
|
||||
// didn't find a match for par.type
|
||||
expectedClass = par.type
|
||||
@@ -176,7 +171,7 @@ def _checkArgumentType(String stage, Map par, Object value, String errorIdentifi
|
||||
Map _processInputValues(Map inputs, Map config, String id, String key) {
|
||||
if (!workflow.stubRun) {
|
||||
config.allArguments.each { arg ->
|
||||
if (arg.required) {
|
||||
if (arg.required && arg.direction == "input") {
|
||||
assert inputs.containsKey(arg.plainName) && inputs.get(arg.plainName) != null :
|
||||
"Error in module '${key}' id '${id}': required input argument '${arg.plainName}' is missing"
|
||||
}
|
||||
@@ -195,15 +190,8 @@ Map _processInputValues(Map inputs, Map config, String id, String key) {
|
||||
}
|
||||
|
||||
// helper file: 'src/main/resources/io/viash/runners/nextflow/arguments/_processOutputValues.nf'
|
||||
Map _processOutputValues(Map outputs, Map config, String id, String key) {
|
||||
Map _checkValidOutputArgument(Map outputs, Map config, String id, String key) {
|
||||
if (!workflow.stubRun) {
|
||||
config.allArguments.each { arg ->
|
||||
if (arg.direction == "output" && arg.required) {
|
||||
assert outputs.containsKey(arg.plainName) && outputs.get(arg.plainName) != null :
|
||||
"Error in module '${key}' id '${id}': required output argument '${arg.plainName}' is missing"
|
||||
}
|
||||
}
|
||||
|
||||
outputs = outputs.collectEntries { name, value ->
|
||||
def par = config.allArguments.find { it.plainName == name && it.direction == "output" }
|
||||
assert par != null : "Error in module '${key}' id '${id}': '${name}' is not a valid output argument"
|
||||
@@ -216,6 +204,16 @@ Map _processOutputValues(Map outputs, Map config, String id, String key) {
|
||||
return outputs
|
||||
}
|
||||
|
||||
void _checkAllRequiredOuputsPresent(Map outputs, Map config, String id, String key) {
|
||||
if (!workflow.stubRun) {
|
||||
config.allArguments.each { arg ->
|
||||
if (arg.direction == "output" && arg.required) {
|
||||
assert outputs.containsKey(arg.plainName) && outputs.get(arg.plainName) != null :
|
||||
"Error in module '${key}' id '${id}': required output argument '${arg.plainName}' is missing"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// helper file: 'src/main/resources/io/viash/runners/nextflow/channel/IDChecker.nf'
|
||||
class IDChecker {
|
||||
final def items = [] as Set
|
||||
@@ -1669,6 +1667,162 @@ def joinStates(Closure apply_) {
|
||||
}
|
||||
return joinStatesWf
|
||||
}
|
||||
// helper file: 'src/main/resources/io/viash/runners/nextflow/states/publishFiles.nf'
|
||||
def publishFiles(Map args) {
|
||||
def key_ = args.get("key")
|
||||
|
||||
assert key_ != null : "publishFiles: key must be specified"
|
||||
|
||||
workflow publishFilesWf {
|
||||
take: input_ch
|
||||
main:
|
||||
input_ch
|
||||
| map { tup ->
|
||||
def id_ = tup[0]
|
||||
def state_ = tup[1]
|
||||
|
||||
// the input files and the target output filenames
|
||||
def inputoutputFilenames_ = collectInputOutputPaths(state_, id_ + "." + key_).transpose()
|
||||
def inputFiles_ = inputoutputFilenames_[0]
|
||||
def outputFilenames_ = inputoutputFilenames_[1]
|
||||
|
||||
[id_, inputFiles_, outputFilenames_]
|
||||
}
|
||||
| publishFilesProc
|
||||
emit: input_ch
|
||||
}
|
||||
return publishFilesWf
|
||||
}
|
||||
|
||||
process publishFilesProc {
|
||||
// todo: check publishpath?
|
||||
publishDir path: "${getPublishDir()}/", mode: "copy"
|
||||
tag "$id"
|
||||
input:
|
||||
tuple val(id), path(inputFiles, stageAs: "_inputfile?/*"), val(outputFiles)
|
||||
output:
|
||||
tuple val(id), path{outputFiles}
|
||||
script:
|
||||
def copyCommands = [
|
||||
inputFiles instanceof List ? inputFiles : [inputFiles],
|
||||
outputFiles instanceof List ? outputFiles : [outputFiles]
|
||||
]
|
||||
.transpose()
|
||||
.collectMany{infile, outfile ->
|
||||
if (infile.toString() != outfile.toString()) {
|
||||
[
|
||||
"[ -d \"\$(dirname '${outfile.toString()}')\" ] || mkdir -p \"\$(dirname '${outfile.toString()}')\"",
|
||||
"cp -r '${infile.toString()}' '${outfile.toString()}'"
|
||||
]
|
||||
} else {
|
||||
// no need to copy if infile is the same as outfile
|
||||
[]
|
||||
}
|
||||
}
|
||||
"""
|
||||
echo "Copying output files to destination folder"
|
||||
${copyCommands.join("\n ")}
|
||||
"""
|
||||
}
|
||||
|
||||
|
||||
// this assumes that the state contains no other values other than those specified in the config
|
||||
def publishFilesByConfig(Map args) {
|
||||
def config = args.get("config")
|
||||
assert config != null : "publishFilesByConfig: config must be specified"
|
||||
|
||||
def key_ = args.get("key", config.name)
|
||||
assert key_ != null : "publishFilesByConfig: key must be specified"
|
||||
|
||||
workflow publishFilesSimpleWf {
|
||||
take: input_ch
|
||||
main:
|
||||
input_ch
|
||||
| map { tup ->
|
||||
def id_ = tup[0]
|
||||
def state_ = tup[1] // e.g. [output: new File("myoutput.h5ad"), k: 10]
|
||||
def origState_ = tup[2] // e.g. [output: '$id.$key.foo.h5ad']
|
||||
|
||||
|
||||
// the processed state is a list of [key, value, inputPath, outputFilename] tuples, where
|
||||
// - key is a String
|
||||
// - value is any object that can be serialized to a Yaml (so a String/Integer/Long/Double/Boolean, a List, a Map, or a Path)
|
||||
// - inputPath is a List[Path]
|
||||
// - outputFilename is a List[String]
|
||||
// - (inputPath, outputFilename) are the files that will be copied from src to dest (relative to the state.yaml)
|
||||
def processedState =
|
||||
config.allArguments
|
||||
.findAll { it.direction == "output" }
|
||||
.collectMany { par ->
|
||||
def plainName_ = par.plainName
|
||||
// if the state does not contain the key, it's an
|
||||
// optional argument for which the component did
|
||||
// not generate any output OR multiple channels were emitted
|
||||
// and the output was just not added to using the channel
|
||||
// that is now being parsed
|
||||
if (!state_.containsKey(plainName_)) {
|
||||
return []
|
||||
}
|
||||
def value = state_[plainName_]
|
||||
// if the parameter is not a file, it should be stored
|
||||
// in the state as-is, but is not something that needs
|
||||
// to be copied from the source path to the dest path
|
||||
if (par.type != "file") {
|
||||
return [[inputPath: [], outputFilename: []]]
|
||||
}
|
||||
// if the orig state does not contain this filename,
|
||||
// it's an optional argument for which the user specified
|
||||
// that it should not be returned as a state
|
||||
if (!origState_.containsKey(plainName_)) {
|
||||
return []
|
||||
}
|
||||
def filenameTemplate = origState_[plainName_]
|
||||
// if the pararameter is multiple: true, fetch the template
|
||||
if (par.multiple && filenameTemplate instanceof List) {
|
||||
filenameTemplate = filenameTemplate[0]
|
||||
}
|
||||
// instantiate the template
|
||||
def filename = filenameTemplate
|
||||
.replaceAll('\\$id', id_)
|
||||
.replaceAll('\\$\\{id\\}', id_)
|
||||
.replaceAll('\\$key', key_)
|
||||
.replaceAll('\\$\\{key\\}', key_)
|
||||
if (par.multiple) {
|
||||
// if the parameter is multiple: true, the filename
|
||||
// should contain a wildcard '*' that is replaced with
|
||||
// the index of the file
|
||||
assert filename.contains("*") : "Module '${key_}' id '${id_}': Multiple output files specified, but no wildcard '*' in the filename: ${filename}"
|
||||
def outputPerFile = value.withIndex().collect{ val, ix ->
|
||||
def filename_ix = filename.replace("*", ix.toString())
|
||||
def inputPath = val instanceof File ? val.toPath() : val
|
||||
[inputPath: inputPath, outputFilename: filename_ix]
|
||||
}
|
||||
def transposedOutputs = ["inputPath", "outputFilename"].collectEntries{ key ->
|
||||
[key, outputPerFile.collect{dic -> dic[key]}]
|
||||
}
|
||||
return [[key: plainName_] + transposedOutputs]
|
||||
} else {
|
||||
def value_ = java.nio.file.Paths.get(filename)
|
||||
def inputPath = value instanceof File ? value.toPath() : value
|
||||
return [[inputPath: [inputPath], outputFilename: [filename]]]
|
||||
}
|
||||
}
|
||||
|
||||
def inputPaths = processedState.collectMany{it.inputPath}
|
||||
def outputFilenames = processedState.collectMany{it.outputFilename}
|
||||
|
||||
|
||||
[id_, inputPaths, outputFilenames]
|
||||
}
|
||||
| publishFilesProc
|
||||
emit: input_ch
|
||||
}
|
||||
return publishFilesSimpleWf
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
// helper file: 'src/main/resources/io/viash/runners/nextflow/states/publishStates.nf'
|
||||
def collectFiles(obj) {
|
||||
if (obj instanceof java.io.File || obj instanceof Path) {
|
||||
@@ -1726,8 +1880,6 @@ def publishStates(Map args) {
|
||||
|
||||
// the input files and the target output filenames
|
||||
def inputoutputFilenames_ = collectInputOutputPaths(state_, id_ + "." + key_).transpose()
|
||||
def inputFiles_ = inputoutputFilenames_[0]
|
||||
def outputFilenames_ = inputoutputFilenames_[1]
|
||||
|
||||
def yamlFilename = yamlTemplate_
|
||||
.replaceAll('\\$id', id_)
|
||||
@@ -1740,7 +1892,7 @@ def publishStates(Map args) {
|
||||
// convert state to yaml blob
|
||||
def yamlBlob_ = toRelativeTaggedYamlBlob([id: id_] + state_, java.nio.file.Paths.get(yamlFilename))
|
||||
|
||||
[id_, yamlBlob_, yamlFilename, inputFiles_, outputFilenames_]
|
||||
[id_, yamlBlob_, yamlFilename]
|
||||
}
|
||||
| publishStatesProc
|
||||
emit: input_ch
|
||||
@@ -1752,33 +1904,17 @@ process publishStatesProc {
|
||||
publishDir path: "${getPublishDir()}/", mode: "copy"
|
||||
tag "$id"
|
||||
input:
|
||||
tuple val(id), val(yamlBlob), val(yamlFile), path(inputFiles, stageAs: "_inputfile?/*"), val(outputFiles)
|
||||
tuple val(id), val(yamlBlob), val(yamlFile)
|
||||
output:
|
||||
tuple val(id), path{[yamlFile] + outputFiles}
|
||||
tuple val(id), path{[yamlFile]}
|
||||
script:
|
||||
def copyCommands = [
|
||||
inputFiles instanceof List ? inputFiles : [inputFiles],
|
||||
outputFiles instanceof List ? outputFiles : [outputFiles]
|
||||
]
|
||||
.transpose()
|
||||
.collectMany{infile, outfile ->
|
||||
if (infile.toString() != outfile.toString()) {
|
||||
[
|
||||
"[ -d \"\$(dirname '${outfile.toString()}')\" ] || mkdir -p \"\$(dirname '${outfile.toString()}')\"",
|
||||
"cp -r '${infile.toString()}' '${outfile.toString()}'"
|
||||
]
|
||||
} else {
|
||||
// no need to copy if infile is the same as outfile
|
||||
[]
|
||||
}
|
||||
}
|
||||
"""
|
||||
mkdir -p "\$(dirname '${yamlFile}')"
|
||||
echo "Storing state as yaml"
|
||||
echo '${yamlBlob}' > '${yamlFile}'
|
||||
echo "Copying output files to destination folder"
|
||||
${copyCommands.join("\n ")}
|
||||
"""
|
||||
mkdir -p "\$(dirname '${yamlFile}')"
|
||||
echo "Storing state as yaml"
|
||||
cat > '${yamlFile}' << HERE
|
||||
${yamlBlob}
|
||||
HERE
|
||||
"""
|
||||
}
|
||||
|
||||
|
||||
@@ -1809,13 +1945,10 @@ def publishStatesByConfig(Map args) {
|
||||
.replaceAll('\\$\\{key\\}', key_)
|
||||
def yamlDir = java.nio.file.Paths.get(yamlFilename).getParent()
|
||||
|
||||
// the processed state is a list of [key, value, inputPath, outputFilename] tuples, where
|
||||
// the processed state is a list of [key, value] tuples, where
|
||||
// - key is a String
|
||||
// - value is any object that can be serialized to a Yaml (so a String/Integer/Long/Double/Boolean, a List, a Map, or a Path)
|
||||
// - inputPath is a List[Path]
|
||||
// - outputFilename is a List[String]
|
||||
// - (key, value) are the tuples that will be saved to the state.yaml file
|
||||
// - (inputPath, outputFilename) are the files that will be copied from src to dest (relative to the state.yaml)
|
||||
def processedState =
|
||||
config.allArguments
|
||||
.findAll { it.direction == "output" }
|
||||
@@ -1832,7 +1965,7 @@ def publishStatesByConfig(Map args) {
|
||||
// in the state as-is, but is not something that needs
|
||||
// to be copied from the source path to the dest path
|
||||
if (par.type != "file") {
|
||||
return [[key: plainName_, value: value, inputPath: [], outputFilename: []]]
|
||||
return [[key: plainName_, value: value]]
|
||||
}
|
||||
// if the orig state does not contain this filename,
|
||||
// it's an optional argument for which the user specified
|
||||
@@ -1863,13 +1996,9 @@ def publishStatesByConfig(Map args) {
|
||||
if (yamlDir != null) {
|
||||
value_ = yamlDir.relativize(value_)
|
||||
}
|
||||
def inputPath = val instanceof File ? val.toPath() : val
|
||||
[value: value_, inputPath: inputPath, outputFilename: filename_ix]
|
||||
return value_
|
||||
}
|
||||
def transposedOutputs = ["value", "inputPath", "outputFilename"].collectEntries{ key ->
|
||||
[key, outputPerFile.collect{dic -> dic[key]}]
|
||||
}
|
||||
return [[key: plainName_] + transposedOutputs]
|
||||
return [["key": plainName_, "value": outputPerFile]]
|
||||
} else {
|
||||
def value_ = java.nio.file.Paths.get(filename)
|
||||
// if id contains a slash
|
||||
@@ -1877,18 +2006,17 @@ def publishStatesByConfig(Map args) {
|
||||
value_ = yamlDir.relativize(value_)
|
||||
}
|
||||
def inputPath = value instanceof File ? value.toPath() : value
|
||||
return [[key: plainName_, value: value_, inputPath: [inputPath], outputFilename: [filename]]]
|
||||
return [["key": plainName_, value: value_]]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
def updatedState_ = processedState.collectEntries{[it.key, it.value]}
|
||||
def inputPaths = processedState.collectMany{it.inputPath}
|
||||
def outputFilenames = processedState.collectMany{it.outputFilename}
|
||||
|
||||
// convert state to yaml blob
|
||||
def yamlBlob_ = toTaggedYamlBlob([id: id_] + updatedState_)
|
||||
|
||||
[id_, yamlBlob_, yamlFilename, inputPaths, outputFilenames]
|
||||
[id_, yamlBlob_, yamlFilename]
|
||||
}
|
||||
| publishStatesProc
|
||||
emit: input_ch
|
||||
@@ -2562,7 +2690,8 @@ def _debug(workflowArgs, debugKey) {
|
||||
def workflowFactory(Map args, Map defaultWfArgs, Map meta) {
|
||||
def workflowArgs = processWorkflowArgs(args, defaultWfArgs, meta)
|
||||
def key_ = workflowArgs["key"]
|
||||
|
||||
def multipleArgs = meta.config.allArguments.findAll{ it.multiple }.collect{it.plainName}
|
||||
|
||||
workflow workflowInstance {
|
||||
take: input_
|
||||
|
||||
@@ -2719,12 +2848,36 @@ def workflowFactory(Map args, Map defaultWfArgs, Map meta) {
|
||||
}
|
||||
|
||||
// TODO: move some of the _meta.join_id wrangling to the safeJoin() function.
|
||||
def chInitialOutput = chArgsWithDefaults
|
||||
def chInitialOutputMulti = chArgsWithDefaults
|
||||
| _debug(workflowArgs, "processed")
|
||||
// run workflow
|
||||
| innerWorkflowFactory(workflowArgs)
|
||||
// check output tuple
|
||||
| map { id_, output_ ->
|
||||
def chInitialOutputList = chInitialOutputMulti instanceof List ? chInitialOutputMulti : [chInitialOutputMulti]
|
||||
assert chInitialOutputList.size() > 0: "should have emitted at least one output channel"
|
||||
// Add a channel ID to the events, which designates the channel the event was emitted from as a running number
|
||||
// This number is used to sort the events later when the events are gathered from across the channels.
|
||||
def chInitialOutputListWithIndexedEvents = chInitialOutputList.withIndex().collect{channel, channelIndex ->
|
||||
def newChannel = channel
|
||||
| map {tuple ->
|
||||
assert tuple instanceof List :
|
||||
"Error in module '${key_}': element in output channel should be a tuple [id, data, ...otherargs...]\n" +
|
||||
" Example: [\"id\", [input: file('foo.txt'), arg: 10]].\n" +
|
||||
" Expected class: List. Found: tuple.getClass() is ${tuple.getClass()}"
|
||||
|
||||
def newEvent = [channelIndex] + tuple
|
||||
return newEvent
|
||||
}
|
||||
return newChannel
|
||||
}
|
||||
// Put the events into 1 channel, cover case where there is only one channel is emitted
|
||||
def chInitialOutput = chInitialOutputList.size() > 1 ? \
|
||||
chInitialOutputListWithIndexedEvents[0].mix(*chInitialOutputListWithIndexedEvents.tail()) : \
|
||||
chInitialOutputListWithIndexedEvents[0]
|
||||
def chInitialOutputProcessed = chInitialOutput
|
||||
| map { tuple ->
|
||||
def channelId = tuple[0]
|
||||
def id_ = tuple[1]
|
||||
def output_ = tuple[2]
|
||||
|
||||
// see if output map contains metadata
|
||||
def meta_ =
|
||||
@@ -2737,19 +2890,94 @@ def workflowFactory(Map args, Map defaultWfArgs, Map meta) {
|
||||
output_ = output_.findAll{k, v -> k != "_meta"}
|
||||
|
||||
// check value types
|
||||
output_ = _processOutputValues(output_, meta.config, id_, key_)
|
||||
output_ = _checkValidOutputArgument(output_, meta.config, id_, key_)
|
||||
|
||||
// simplify output if need be
|
||||
if (workflowArgs.auto.simplifyOutput && output_.size() == 1) {
|
||||
output_ = output_.values()[0]
|
||||
}
|
||||
|
||||
[join_id, id_, output_]
|
||||
[join_id, channelId, id_, output_]
|
||||
}
|
||||
// | view{"chInitialOutput: ${it.take(3)}"}
|
||||
|
||||
// join the output [prev_id, channel_id, new_id, output] with the previous state [prev_id, state, ...]
|
||||
def chPublishWithPreviousState = safeJoin(chInitialOutputProcessed, chRunFiltered, key_)
|
||||
// input tuple format: [join_id, channel_id, id, output, prev_state, ...]
|
||||
// output tuple format: [join_id, channel_id, id, new_state, ...]
|
||||
| map{ tup ->
|
||||
def new_state = workflowArgs.toState(tup.drop(2).take(3))
|
||||
tup.take(3) + [new_state] + tup.drop(5)
|
||||
}
|
||||
if (workflowArgs.auto.publish == "state") {
|
||||
def chPublishFiles = chPublishWithPreviousState
|
||||
// input tuple format: [join_id, channel_id, id, new_state, ...]
|
||||
// output tuple format: [join_id, channel_id, id, new_state]
|
||||
| map{ tup ->
|
||||
tup.take(4)
|
||||
}
|
||||
|
||||
safeJoin(chPublishFiles, chArgsWithDefaults, key_)
|
||||
// input tuple format: [join_id, channel_id, id, new_state, orig_state, ...]
|
||||
// output tuple format: [id, new_state, orig_state]
|
||||
| map { tup ->
|
||||
tup.drop(2).take(3)
|
||||
}
|
||||
| publishFilesByConfig(key: key_, config: meta.config)
|
||||
}
|
||||
// Join the state from the events that were emitted from different channels
|
||||
def chJoined = chInitialOutputProcessed
|
||||
| map {tuple ->
|
||||
def join_id = tuple[0]
|
||||
def channel_id = tuple[1]
|
||||
def id = tuple[2]
|
||||
def other = tuple.drop(3)
|
||||
// Below, groupTuple is used to join the events. To make sure resuming a workflow
|
||||
// keeps working, the output state must be deterministic. This means the state needs to be
|
||||
// sorted with groupTuple's has a 'sort' argument. This argument can be set to 'hash',
|
||||
// but hashing the state when it is large can be problematic in terms of performance.
|
||||
// Therefore, a custom comparator function is provided. We add the channel ID to the
|
||||
// states so that we can use the channel ID to sort the items.
|
||||
def stateWithChannelID = [[channel_id] * other.size(), other].transpose()
|
||||
// A comparator that is provided to groupTuple's 'sort' argument is applied
|
||||
// to all elements of the event tuple (that is not the 'id'). The comparator
|
||||
// closure that is used below expects the input to be List. So the join_id and
|
||||
// channel_id must also be wrapped in a list.
|
||||
[[join_id], [channel_id], id] + stateWithChannelID
|
||||
}
|
||||
| groupTuple(by: 2, sort: {a, b -> a[0] <=> b[0]}, size: chInitialOutputList.size(), remainder: true)
|
||||
| map {join_ids, _, id, statesWithChannelID ->
|
||||
// Remove the channel IDs from the states
|
||||
def states = statesWithChannelID.collect{it[1]}
|
||||
def newJoinId = join_ids.flatten().unique{a, b -> a <=> b}
|
||||
assert newJoinId.size() == 1: "Multiple events were emitted for '$id'."
|
||||
def newJoinIdUnique = newJoinId[0]
|
||||
|
||||
// Merge the states from the different channels
|
||||
def newState = states.inject([:]){ old_state, state_to_add ->
|
||||
return old_state + state_to_add.collectEntries{k, v ->
|
||||
if (!multipleArgs.contains(k)) {
|
||||
// if the key is not a multiple argument, we expect only one value
|
||||
if (old_state.containsKey(k)) {
|
||||
assert old_state[k] == v : "ID $id: multiple entries for argument $k were emitted."
|
||||
}
|
||||
[k, v]
|
||||
} else {
|
||||
// if the key is a multiple argument, append the different values into one list
|
||||
def prevValue = old_state.getOrDefault(k, [])
|
||||
def prevValueAsList = prevValue instanceof List ? prevValue : [prevValue]
|
||||
[k, prevValueAsList + v]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
_checkAllRequiredOuputsPresent(newState, meta.config, id, key_)
|
||||
|
||||
// simplify output if need be
|
||||
if (workflowArgs.auto.simplifyOutput && newState.size() == 1) {
|
||||
newState = newState.values()[0]
|
||||
}
|
||||
|
||||
return [newJoinIdUnique, id, newState]
|
||||
}
|
||||
|
||||
// join the output [prev_id, new_id, output] with the previous state [prev_id, state, ...]
|
||||
def chNewState = safeJoin(chInitialOutput, chRunFiltered, key_)
|
||||
def chNewState = safeJoin(chJoined, chRunFiltered, key_)
|
||||
// input tuple format: [join_id, id, output, prev_state, ...]
|
||||
// output tuple format: [join_id, id, new_state, ...]
|
||||
| map{ tup ->
|
||||
@@ -2758,23 +2986,21 @@ def workflowFactory(Map args, Map defaultWfArgs, Map meta) {
|
||||
}
|
||||
|
||||
if (workflowArgs.auto.publish == "state") {
|
||||
def chPublish = chNewState
|
||||
def chPublishStates = chNewState
|
||||
// input tuple format: [join_id, id, new_state, ...]
|
||||
// output tuple format: [join_id, id, new_state]
|
||||
| map{ tup ->
|
||||
tup.take(3)
|
||||
}
|
||||
|
||||
safeJoin(chPublish, chArgsWithDefaults, key_)
|
||||
safeJoin(chPublishStates, chArgsWithDefaults, key_)
|
||||
// input tuple format: [join_id, id, new_state, orig_state, ...]
|
||||
// output tuple format: [id, new_state, orig_state]
|
||||
| map { tup ->
|
||||
tup.drop(1).take(3)
|
||||
}
|
||||
}
|
||||
| publishStatesByConfig(key: key_, config: meta.config)
|
||||
}
|
||||
|
||||
// remove join_id and meta
|
||||
chReturn = chNewState
|
||||
| map { tup ->
|
||||
// input tuple format: [join_id, id, new_state, ...]
|
||||
@@ -2808,7 +3034,7 @@ meta = [
|
||||
"resources_dir": moduleDir.toRealPath().normalize(),
|
||||
"config": processConfig(readJsonBlob('''{
|
||||
"name" : "cutadapt",
|
||||
"version" : "v0.3.0",
|
||||
"version" : "v0.3.1",
|
||||
"authors" : [
|
||||
{
|
||||
"name" : "Toni Verbeiren",
|
||||
@@ -3488,6 +3714,10 @@ meta = [
|
||||
}
|
||||
],
|
||||
"status" : "enabled",
|
||||
"scope" : {
|
||||
"image" : "public",
|
||||
"target" : "public"
|
||||
},
|
||||
"requirements" : {
|
||||
"commands" : [
|
||||
"ps"
|
||||
@@ -3589,7 +3819,7 @@ meta = [
|
||||
"id" : "docker",
|
||||
"image" : "python:3.12",
|
||||
"target_registry" : "images.viash-hub.com",
|
||||
"target_tag" : "v0.3.0",
|
||||
"target_tag" : "v0.3.1",
|
||||
"namespace_separator" : "/",
|
||||
"setup" : [
|
||||
{
|
||||
@@ -3618,23 +3848,24 @@ meta = [
|
||||
"runner" : "nextflow",
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/cutadapt",
|
||||
"viash_version" : "0.9.0",
|
||||
"git_commit" : "d86bd5cf62104af02caa852aacd352b1aa97ed60",
|
||||
"git_remote" : "https://x-access-token:ghs_EwAUAMYJ0K4VBHlAEMs4ZP2OyQYqJM0PSfEO@github.com/viash-hub/biobox",
|
||||
"git_tag" : "v0.2.0-29-gd86bd5c"
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "98a5f3cc745525a65c10263d25cf414eb1093223",
|
||||
"git_remote" : "https://github.com/viash-hub/biobox",
|
||||
"git_tag" : "v0.3.0-8-g98a5f3c"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "biobox",
|
||||
"version" : "v0.3.0",
|
||||
"description" : "A collection of bioinformatics tools for working with sequence data.\n",
|
||||
"viash_version" : "0.9.0",
|
||||
"version" : "v0.3.1",
|
||||
"summary" : "A curated collection of high-quality, standalone bioinformatics components built with [Viash](https://viash.io).\n",
|
||||
"description" : "`biobox` offers a suite of reliable bioinformatics components, similar to [nf-core/modules](https://github.com/nf-core/modules) and [snakemake-wrappers/bio](https://github.com/snakemake/snakemake-wrappers/tree/master/bio), but built using the [Viash](https://viash.io) framework.\n\nThis approach emphasizes **reusability**, **reproducibility**, and adherence to **best practices**. Key features of `biobox` components include:\n\n* **Standalone & Nextflow Ready:** Run components directly via the command line or seamlessly integrate them into Nextflow workflows.\n* **High Quality Standards:**\n * Comprehensive documentation for components and parameters.\n * Full exposure of underlying tool arguments.\n * Containerized (Docker) for dependency management and reproducibility.\n * Unit tested for verified functionality.\n",
|
||||
"viash_version" : "0.9.4",
|
||||
"source" : "src",
|
||||
"target" : "target",
|
||||
"config_mods" : [
|
||||
".requirements.commands := ['ps']\n",
|
||||
".engines += { type: \\"native\\" }",
|
||||
".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'",
|
||||
".engines[.type == 'docker'].target_tag := 'v0.3.0'"
|
||||
".engines[.type == 'docker'].target_tag := 'v0.3.1'"
|
||||
],
|
||||
"keywords" : [
|
||||
"bioinformatics",
|
||||
@@ -4320,7 +4551,7 @@ def _vdsl3ProcessFactory(Map workflowArgs, Map meta, String rawScript) {
|
||||
// create process from temp file
|
||||
def binding = new nextflow.script.ScriptBinding([:])
|
||||
def session = nextflow.Nextflow.getSession()
|
||||
def parser = new nextflow.script.ScriptParser(session)
|
||||
def parser = _getScriptLoader(session)
|
||||
.setModule(true)
|
||||
.setBinding(binding)
|
||||
def moduleScript = parser.runScript(tempFile)
|
||||
@@ -4334,6 +4565,27 @@ def _vdsl3ProcessFactory(Map workflowArgs, Map meta, String rawScript) {
|
||||
return scriptMeta.getProcess(procKey)
|
||||
}
|
||||
|
||||
// use Reflection to get a ScriptParser / ScriptLoader
|
||||
// <25.02.0-edge: new nextflow.script.ScriptParser(session)
|
||||
// >=25.02.0-edge: nextflow.script.ScriptLoaderFactory.create(session)
|
||||
def _getScriptLoader(nextflow.Session session) {
|
||||
// try using the old method
|
||||
try {
|
||||
Class<?> scriptParserClass = Class.forName('nextflow.script.ScriptParser')
|
||||
return scriptParserClass.getDeclaredConstructor(nextflow.Session).newInstance(session)
|
||||
} catch (ClassNotFoundException e) {
|
||||
// else try with the new method
|
||||
try {
|
||||
Class<?> scriptLoaderFactoryClass = Class.forName('nextflow.script.ScriptLoaderFactory')
|
||||
def createMethod = scriptLoaderFactoryClass.getDeclaredMethod('create', nextflow.Session)
|
||||
return createMethod.invoke(null, session) // null because create is static
|
||||
} catch (ClassNotFoundException | NoSuchMethodException | IllegalAccessException | java.lang.reflect.InvocationTargetException e2) {
|
||||
// Handle the case where neither class is found
|
||||
throw new Exception("Neither nextflow.script.ScriptParser nor nextflow.script.ScriptLoaderFactory could be found. Is this a compatible Nextflow version?", e2)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// defaults
|
||||
meta["defaults"] = [
|
||||
// key to be used to trace the process and determine output names
|
||||
@@ -4347,7 +4599,7 @@ meta["defaults"] = [
|
||||
"container" : {
|
||||
"registry" : "images.viash-hub.com",
|
||||
"image" : "vsh/biobox/cutadapt",
|
||||
"tag" : "v0.3.0"
|
||||
"tag" : "v0.3.1"
|
||||
},
|
||||
"tag" : "$id"
|
||||
}'''),
|
||||
@@ -2,7 +2,7 @@ manifest {
|
||||
name = 'cutadapt'
|
||||
mainScript = 'main.nf'
|
||||
nextflowVersion = '!>=20.12.1-edge'
|
||||
version = 'v0.3.0'
|
||||
version = 'v0.3.1'
|
||||
description = 'Cutadapt removes adapter sequences from high-throughput sequencing reads.\n'
|
||||
author = 'Toni Verbeiren'
|
||||
}
|
||||
@@ -0,0 +1,216 @@
|
||||
name: "concat_text"
|
||||
version: "v0.2.0"
|
||||
authors:
|
||||
- name: "Toni Verbeiren"
|
||||
roles:
|
||||
- "author"
|
||||
- "maintainer"
|
||||
info:
|
||||
links:
|
||||
github: "tverbeiren"
|
||||
linkedin: "verbeiren"
|
||||
organizations:
|
||||
- name: "Data Intuitive"
|
||||
href: "https://www.data-intuitive.com"
|
||||
role: "Data Scientist and CEO"
|
||||
- name: "Dries Schaumont"
|
||||
roles:
|
||||
- "reviewer"
|
||||
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: "Input arguments"
|
||||
arguments:
|
||||
- type: "file"
|
||||
name: "--input"
|
||||
description: "A list of (gzipped) text files."
|
||||
info: null
|
||||
example:
|
||||
- "input?.txt.gz"
|
||||
must_exist: true
|
||||
create_parent: true
|
||||
required: true
|
||||
direction: "input"
|
||||
multiple: true
|
||||
multiple_sep: ";"
|
||||
- name: "Output arguments"
|
||||
arguments:
|
||||
- type: "boolean_true"
|
||||
name: "--gzip_output"
|
||||
description: "Should the output be zipped?"
|
||||
info: null
|
||||
direction: "input"
|
||||
- type: "file"
|
||||
name: "--output"
|
||||
description: "File to write the output to, optionally gzipped."
|
||||
info: null
|
||||
example:
|
||||
- "output.txt"
|
||||
must_exist: true
|
||||
create_parent: true
|
||||
required: false
|
||||
direction: "output"
|
||||
multiple: false
|
||||
multiple_sep: ";"
|
||||
resources:
|
||||
- type: "bash_script"
|
||||
path: "script.sh"
|
||||
is_executable: true
|
||||
summary: "Concatenate a number of text files"
|
||||
description: "Concatenate a number of text files, handle gzipped text files gracefully\
|
||||
\ and\noptionally gzip the output text file.\n\nThis component is useful for concatening\
|
||||
\ fastq files from different lanes, for instance.\n"
|
||||
test_resources:
|
||||
- type: "bash_script"
|
||||
path: "test.sh"
|
||||
is_executable: true
|
||||
info:
|
||||
improvements: "This component could be improved in 2 ways:\n 1. Allow for a mix\
|
||||
\ of zipped and plain input files\n 2. Allow to specify a compression algorithm\
|
||||
\ for the output\n"
|
||||
status: "enabled"
|
||||
scope:
|
||||
image: "public"
|
||||
target: "public"
|
||||
requirements:
|
||||
commands:
|
||||
- "ps"
|
||||
license: "MIT"
|
||||
links:
|
||||
repository: "https://github.com/viash-hub/craftbox"
|
||||
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"
|
||||
debug: false
|
||||
container: "docker"
|
||||
engines:
|
||||
- type: "docker"
|
||||
id: "docker"
|
||||
image: "alpine:latest"
|
||||
target_registry: "images.viash-hub.com"
|
||||
target_tag: "v0.2.0"
|
||||
namespace_separator: "/"
|
||||
setup:
|
||||
- type: "apk"
|
||||
packages:
|
||||
- "bash"
|
||||
- "procps"
|
||||
- "file"
|
||||
entrypoint: []
|
||||
cmd: null
|
||||
- type: "native"
|
||||
id: "native"
|
||||
build_info:
|
||||
config: "src/concat_text/config.vsh.yaml"
|
||||
runner: "nextflow"
|
||||
engine: "docker|native"
|
||||
output: "target/nextflow/concat_text"
|
||||
executable: "target/nextflow/concat_text/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "1c1b0a4a1aff891ab678072b0ba915ac3ac71610"
|
||||
git_remote: "https://github.com/viash-hub/craftbox"
|
||||
git_tag: "v0.1.0-8-g1c1b0a4"
|
||||
package_config:
|
||||
name: "craftbox"
|
||||
version: "v0.2.0"
|
||||
summary: "A collection of custom-tailored scripts and applied utilities built with\
|
||||
\ Viash.\n"
|
||||
description: "`craftbox` is a curated collection of custom scripts and utilities\
|
||||
\ designed to tackle context-specific tasks.\n\nEmphasizing the Viash principles,\
|
||||
\ `craftbox` components aim for **reusability**, **reproducibility**, and adherence\
|
||||
\ to **best practices**. Key features generally include:\n\n* **Standalone & Nextflow\
|
||||
\ Ready:** Components are built to run directly via the command line or be smoothly\
|
||||
\ integrated into Nextflow workflows.\n* **Custom Implementations:** Contains\
|
||||
\ scripts and tools developed for particular tasks that may not be found in broader\
|
||||
\ collections.\n* **High Quality Standards (promoted by Viash):**\n * Clear\
|
||||
\ documentation for components and their parameters.\n * Full exposure of underlying\
|
||||
\ script/tool arguments for fine-grained control.\n * Containerized (Docker)\
|
||||
\ to ensure dependency management and a consistent, reproducible runtime environment.\n\
|
||||
\ * Unit tested where applicable to ensure components function as expected.\n"
|
||||
info: null
|
||||
viash_version: "0.9.4"
|
||||
source: "src"
|
||||
target: "target"
|
||||
config_mods:
|
||||
- ".requirements.commands := ['ps']\n"
|
||||
- ".engines += { type: \"native\" }"
|
||||
- ".engines[.type == 'docker'].target_registry := 'images.viash-hub.com'"
|
||||
- ".engines[.type == 'docker'].target_tag := 'v0.2.0'"
|
||||
keywords:
|
||||
- "scripts"
|
||||
- "custom"
|
||||
- "implementations"
|
||||
- "utilities"
|
||||
license: "MIT"
|
||||
organization: "vsh"
|
||||
links:
|
||||
repository: "https://github.com/viash-hub/craftbox"
|
||||
issue_tracker: "https://github.com/viash-hub/craftbox/issues"
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,126 @@
|
||||
manifest {
|
||||
name = 'concat_text'
|
||||
mainScript = 'main.nf'
|
||||
nextflowVersion = '!>=20.12.1-edge'
|
||||
version = 'v0.2.0'
|
||||
description = 'Concatenate a number of text files, handle gzipped text files gracefully and\noptionally gzip the output text file.\n\nThis component is useful for concatening fastq files from different lanes, for instance.\n'
|
||||
author = 'Toni Verbeiren, 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 }
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "concat_text",
|
||||
"description": "Concatenate a number of text files, handle gzipped text files gracefully and\noptionally gzip the output text file.\n\nThis component is useful for concatening fastq files from different lanes, for instance.\n",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"input arguments" : {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"input": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, example: `input?.txt.gz`, multiple_sep: `\";\"`. A list of (gzipped) text files",
|
||||
"help_text": "Type: List of `file`, required, example: `input?.txt.gz`, multiple_sep: `\";\"`. A list of (gzipped) text files."
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"output arguments" : {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"gzip_output": {
|
||||
"type":
|
||||
"boolean",
|
||||
"description": "Type: `boolean_true`, default: `false`. Should the output be zipped?",
|
||||
"help_text": "Type: `boolean_true`, default: `false`. Should the output be zipped?"
|
||||
,
|
||||
"default":false
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `$id.$key.output.txt`, example: `output.txt`. File to write the output to, optionally gzipped",
|
||||
"help_text": "Type: `file`, default: `$id.$key.output.txt`, example: `output.txt`. File to write the output to, optionally gzipped."
|
||||
,
|
||||
"default":"$id.$key.output.txt"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/input arguments"
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/output arguments"
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -203,9 +203,9 @@ build_info:
|
||||
output: "target/executable/eset/create_eset"
|
||||
executable: "target/executable/eset/create_eset/create_eset"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -456,9 +456,9 @@ RUN Rscript -e 'options(warn = 2); if (!requireNamespace("remotes", quietly = TR
|
||||
|
||||
LABEL org.opencontainers.image.authors="Dries Schaumont, Marijke Van Moerbeke"
|
||||
LABEL org.opencontainers.image.description="Companion container for running component eset create_eset"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:19Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:22Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -180,9 +180,9 @@ build_info:
|
||||
output: "target/executable/eset/create_fdata"
|
||||
executable: "target/executable/eset/create_fdata/create_fdata"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -458,9 +458,9 @@ RUN pip install --upgrade pip && \
|
||||
|
||||
LABEL org.opencontainers.image.authors="Dries Schaumont, Marijke Van Moerbeke"
|
||||
LABEL org.opencontainers.image.description="Companion container for running component eset create_fdata"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:20Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:21Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -194,9 +194,9 @@ build_info:
|
||||
output: "target/executable/eset/create_pdata"
|
||||
executable: "target/executable/eset/create_pdata/create_pdata"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -458,9 +458,9 @@ RUN pip install --upgrade pip && \
|
||||
|
||||
LABEL org.opencontainers.image.authors="Dries Schaumont, Marijke Van Moerbeke"
|
||||
LABEL org.opencontainers.image.description="Companion container for running component eset create_pdata"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:19Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:22Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -152,9 +152,9 @@ build_info:
|
||||
output: "target/executable/integration_test_components/htrnaseq/check_eset"
|
||||
executable: "target/executable/integration_test_components/htrnaseq/check_eset/check_eset"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -455,9 +455,9 @@ RUN Rscript -e 'options(warn = 2); if (!requireNamespace("remotes", quietly = TR
|
||||
|
||||
LABEL org.opencontainers.image.authors="Dries Schaumont"
|
||||
LABEL org.opencontainers.image.description="Companion container for running component integration_test_components/htrnaseq check_eset"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:18Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:22Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -161,9 +161,9 @@ build_info:
|
||||
output: "target/executable/integration_test_components/well_demultiplexing/check_cutadapt_output"
|
||||
executable: "target/executable/integration_test_components/well_demultiplexing/check_cutadapt_output/check_cutadapt_output"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -457,9 +457,9 @@ RUN pip install --upgrade pip && \
|
||||
|
||||
LABEL org.opencontainers.image.authors="Dries Schaumont"
|
||||
LABEL org.opencontainers.image.description="Companion container for running component integration_test_components/well_demultiplexing check_cutadapt_output"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:19Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:22Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -136,9 +136,9 @@ build_info:
|
||||
output: "target/executable/io/publish_fastqs"
|
||||
executable: "target/executable/io/publish_fastqs/publish_fastqs"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -450,9 +450,9 @@ RUN apt-get update && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
LABEL org.opencontainers.image.description="Companion container for running component io publish_fastqs"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:18Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:22Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -199,9 +199,9 @@ build_info:
|
||||
output: "target/executable/io/publish_results"
|
||||
executable: "target/executable/io/publish_results/publish_results"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -450,9 +450,9 @@ RUN apt-get update && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
LABEL org.opencontainers.image.description="Companion container for running component io publish_results"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:18Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:21Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -282,9 +282,9 @@ build_info:
|
||||
output: "target/executable/parallel_map"
|
||||
executable: "target/executable/parallel_map/parallel_map"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -461,9 +461,9 @@ ENV STAR_BINARY=STAR
|
||||
COPY STAR /usr/local/bin/$STAR_BINARY
|
||||
LABEL org.opencontainers.image.authors="Dries Schaumont, Toni Verbeiren"
|
||||
LABEL org.opencontainers.image.description="Companion container for running component parallel_map"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:17Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:23Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -212,9 +212,9 @@ build_info:
|
||||
output: "target/executable/report/create_report"
|
||||
executable: "target/executable/report/create_report/create_report"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -465,9 +465,9 @@ RUN Rscript -e 'options(warn = 2); if (!requireNamespace("remotes", quietly = TR
|
||||
|
||||
LABEL org.opencontainers.image.authors="Dries Schaumont, Marijke Van Moerbeke"
|
||||
LABEL org.opencontainers.image.description="Companion container for running component report create_report"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:17Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:21Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -201,9 +201,9 @@ build_info:
|
||||
output: "target/executable/stats/combine_star_logs"
|
||||
executable: "target/executable/stats/combine_star_logs/combine_star_logs"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -457,9 +457,9 @@ RUN pip install --upgrade pip && \
|
||||
|
||||
LABEL org.opencontainers.image.authors="Dries Schaumont"
|
||||
LABEL org.opencontainers.image.description="Companion container for running component stats combine_star_logs"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:19Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:21Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -185,9 +185,9 @@ build_info:
|
||||
output: "target/executable/stats/generate_pool_statistics"
|
||||
executable: "target/executable/stats/generate_pool_statistics/generate_pool_statistics"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -458,9 +458,9 @@ RUN pip install --upgrade pip && \
|
||||
|
||||
LABEL org.opencontainers.image.authors="Dries Schaumont, Marijke Van Moerbeke"
|
||||
LABEL org.opencontainers.image.description="Companion container for running component stats generate_pool_statistics"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:19Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:20Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -267,9 +267,9 @@ build_info:
|
||||
output: "target/executable/stats/generate_well_statistics"
|
||||
executable: "target/executable/stats/generate_well_statistics/generate_well_statistics"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -461,9 +461,9 @@ RUN pip install --upgrade pip && \
|
||||
|
||||
LABEL org.opencontainers.image.authors="Dries Schaumont, Marijke Van Moerbeke"
|
||||
LABEL org.opencontainers.image.description="Companion container for running component stats generate_well_statistics"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:19Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:21Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -148,9 +148,9 @@ build_info:
|
||||
output: "target/executable/utils/save_params"
|
||||
executable: "target/executable/utils/save_params/save_params"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -453,9 +453,9 @@ RUN pip install --upgrade pip && \
|
||||
pip install --upgrade --no-cache-dir "pyyaml"
|
||||
|
||||
LABEL org.opencontainers.image.description="Companion container for running component utils save_params"
|
||||
LABEL org.opencontainers.image.created="2025-05-16T09:12:18Z"
|
||||
LABEL org.opencontainers.image.created="2025-07-25T08:01:21Z"
|
||||
LABEL org.opencontainers.image.source="https://github.com/viash-hub/htrnaseq"
|
||||
LABEL org.opencontainers.image.revision="7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
LABEL org.opencontainers.image.revision="a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
LABEL org.opencontainers.image.version="main"
|
||||
|
||||
VIASHDOCKER
|
||||
|
||||
@@ -203,9 +203,9 @@ build_info:
|
||||
output: "target/nextflow/eset/create_eset"
|
||||
executable: "target/nextflow/eset/create_eset/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3304,9 +3304,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/eset/create_eset",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,111 +1,71 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "create_eset",
|
||||
"description": "No description",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"arguments" : {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"pDataFile": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. ",
|
||||
"help_text": "Type: `file`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"fDataFile": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. ",
|
||||
"help_text": "Type: `file`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"mappingDir": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. ",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"poolName": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, required. ",
|
||||
"help_text": "Type: `string`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, default: `eset.$id.rds`. ",
|
||||
"help_text": "Type: `file`, required, default: `eset.$id.rds`. "
|
||||
,
|
||||
"default":"eset.$id.rds"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "create_eset",
|
||||
"description": "No description",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"arguments": {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"pDataFile": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"fDataFile": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"mappingDir": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"poolName": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"help_text": "Type: `string`, multiple: `False`, required. "
|
||||
},
|
||||
"output": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, default: `\"eset.$id.rds\"`, direction: `output`. ",
|
||||
"default": "eset.$id.rds"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -180,9 +180,9 @@ build_info:
|
||||
output: "target/nextflow/eset/create_fdata"
|
||||
executable: "target/nextflow/eset/create_fdata/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3274,9 +3274,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/eset/create_fdata",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,81 +1,49 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "create_fdata",
|
||||
"description": "Create a fdata file\n",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"arguments" : {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"gtf": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. Genome annotation file in GTF format",
|
||||
"help_text": "Type: `file`, required. Genome annotation file in GTF format."
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `fData.$id.txt`. Tab-delimited text file containing information about the \u0027gene\u0027 or \u0027transcript\u0027\nentries from the input GTF file",
|
||||
"help_text": "Type: `file`, default: `fData.$id.txt`. Tab-delimited text file containing information about the \u0027gene\u0027 or \u0027transcript\u0027\nentries from the input GTF file. The \u0027transcript\u0027 entries are used in case the source\nof the GTF was \u0027refGene\u0027 or \u0027ncbiRefSeq\u0027. \n"
|
||||
,
|
||||
"default":"fData.$id.txt"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "create_fdata",
|
||||
"description": "Create a fdata file\n",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"arguments": {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"gtf": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Genome annotation file in GTF format.",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"output": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "Tab-delimited text file containing information about the 'gene' or 'transcript'\nentries from the input GTF file",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"fData.$id.txt\"`, direction: `output`. ",
|
||||
"default": "fData.$id.txt"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -194,9 +194,9 @@ build_info:
|
||||
output: "target/nextflow/eset/create_pdata"
|
||||
executable: "target/nextflow/eset/create_pdata/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3288,9 +3288,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/eset/create_pdata",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,91 +1,56 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "create_pdata",
|
||||
"description": "Create a pdata file by combining the mapping statistics \n",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"arguments" : {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"star_stats_file": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. Tab-delimited text file containing statistics (per column) that were generated\nfrom the STAR log files (Log",
|
||||
"help_text": "Type: `file`, required. Tab-delimited text file containing statistics (per column) that were generated\nfrom the STAR log files (Log.final.out, Summary.csv, ReadsPerGene.out.tab).\nEach entry (row) in the file describes the values for one well (barcode).\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"nrReadsNrGenesPerChromPool": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. Pivot table in tsv format of the combined nrReadsNrGenesPerChrom files from STAR",
|
||||
"help_text": "Type: `file`, required. Pivot table in tsv format of the combined nrReadsNrGenesPerChrom files from STAR. \nDescribes per chromosome (as columns) the number of reads, as well as the total number \nof reads per cell barcode and the percentage of nuclear, ERCC and mitochondrial\nreads.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `pData.$id.txt`. ",
|
||||
"help_text": "Type: `file`, default: `pData.$id.txt`. "
|
||||
,
|
||||
"default":"pData.$id.txt"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "create_pdata",
|
||||
"description": "Create a pdata file by combining the mapping statistics \n",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"arguments": {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"star_stats_file": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Tab-delimited text file containing statistics (per column) that were generated\nfrom the STAR log files (Log.final.out, Summary.csv, ReadsPerGene.out.tab).\nEach entry (row) in the file describes the values for one well (barcode).\n",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"nrReadsNrGenesPerChromPool": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Pivot table in tsv format of the combined nrReadsNrGenesPerChrom files from STAR",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"output": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"pData.$id.txt\"`, direction: `output`. ",
|
||||
"default": "pData.$id.txt"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -152,9 +152,9 @@ 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.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3228,9 +3228,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/integration_test_components/htrnaseq/check_eset",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,80 +1,52 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "check_eset",
|
||||
"description": "This component test the ExpressionSet object as output by the main pipeline.",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"inputs" : {
|
||||
"title": "Inputs",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"eset": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, example: `eset.rds`. Path to an ExpressionSet object",
|
||||
"help_text": "Type: `file`, required, example: `eset.rds`. Path to an ExpressionSet object."
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"star_output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. ",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "check_eset",
|
||||
"description": "This component test the ExpressionSet object as output by the main pipeline.",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"inputs": {
|
||||
"title": "Inputs",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"eset": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Path to an ExpressionSet object.",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`, example: `\"eset.rds\"`. "
|
||||
},
|
||||
"star_output": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/inputs"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -161,9 +161,9 @@ build_info:
|
||||
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.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3239,9 +3239,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/integration_test_components/well_demultiplexing/check_cutadapt_output",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,90 +1,63 @@
|
||||
{
|
||||
"$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"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "check_cutadapt_output",
|
||||
"description": "This component test the cutadapt output from the well_demultiplex subworkflow.",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"inputs": {
|
||||
"title": "Inputs",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"fastq_r1": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Path to the forward reads to test.",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"fastq_r2": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Path to the reverse reads to test.",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"ids": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Well IDs for the corresponding fastq input",
|
||||
"help_text": "Type: `string`, multiple: `True`, required. "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/inputs"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -136,9 +136,9 @@ build_info:
|
||||
output: "target/nextflow/io/publish_fastqs"
|
||||
executable: "target/nextflow/io/publish_fastqs/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3202,9 +3202,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/io/publish_fastqs",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,95 +1,62 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "publish_fastqs",
|
||||
"description": "Publish the fastq files per well",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"input arguments" : {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"input": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. Directory to write fastq data to",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. Directory to write fastq data to"
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"output arguments" : {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `$id`. ",
|
||||
"help_text": "Type: `file`, default: `$id`. "
|
||||
,
|
||||
"default":"$id"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/input arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "publish_fastqs",
|
||||
"description": "Publish the fastq files per well",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"input arguments": {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"input": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Directory to write fastq data to",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/output arguments"
|
||||
"output arguments": {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"output": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"$id\"`, direction: `output`. ",
|
||||
"default": "$id"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/input arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/output arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -199,9 +199,9 @@ build_info:
|
||||
output: "target/nextflow/io/publish_results"
|
||||
executable: "target/nextflow/io/publish_results/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3272,9 +3272,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/io/publish_results",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,165 +1,126 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "publish_results",
|
||||
"description": "Publish the results",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"input arguments" : {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"star_output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. Output from mapping with STAR",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. Output from mapping with STAR"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"nrReadsNrGenesPerChrom": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. ",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"star_qc_metrics": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. ",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"eset": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. ",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"f_data": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. ",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"p_data": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. ",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"html_report": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. ",
|
||||
"help_text": "Type: `file`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"run_params": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. ",
|
||||
"help_text": "Type: `file`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"output arguments" : {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `$id`. ",
|
||||
"help_text": "Type: `file`, default: `$id`. "
|
||||
,
|
||||
"default":"$id"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/input arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "publish_results",
|
||||
"description": "Publish the results",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"input arguments": {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"star_output": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Output from mapping with STAR",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"nrReadsNrGenesPerChrom": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"star_qc_metrics": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"eset": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"f_data": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"p_data": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"html_report": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"run_params": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/output arguments"
|
||||
"output arguments": {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"output": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"$id\"`, direction: `output`. ",
|
||||
"default": "$id"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/input arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/output arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -282,9 +282,9 @@ build_info:
|
||||
output: "target/nextflow/parallel_map"
|
||||
executable: "target/nextflow/parallel_map/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3374,9 +3374,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/parallel_map",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,196 +1,135 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "parallel_map",
|
||||
"description": "Map wells in batch, using STAR\nSpliced Transcripts Alignment to a Reference (C) Alexander Dobin\nhttps://github.com/alexdobin/STAR\n",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"input arguments" : {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"input_r1": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. Input FASTQ files for the forward reads",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. Input FASTQ files for the forward reads. All FASTQ file names must start with the prefix \u0027{well_id}_R1\u0027, where\n\u0027well_id\u0027 can be found as the sequence identifier in the barcodes FASTA file (see \u0027barcodesFasta\u0027 argument).\nFor each FASTQ file, a matching FASTQ file for the reverse reads must be provided to the \u0027input_r2\u0027 argument,\nmeaning that their \u0027well_id\u0027 prefix must match. The number of items provided for \u0027input_r1\u0027 must be equal\nto the number of items for \u0027input_r2\u0027.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"input_r2": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. Input FASTQ files for the reverse reads",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. Input FASTQ files for the reverse reads. All FASTQ file names must start with the prefix \u0027{well_id}_R2\u0027, where\n\u0027well_id\u0027 can be found as the sequence identifier in the barcodes FASTA file (see \u0027barcodesFasta\u0027 argument).\nFor each FASTQ file, a matching FASTQ file for the reverse reads must be provided to the \u0027input_r1\u0027 argument,\nmeaning that their \u0027well_id\u0027 prefix must match. The number of items provided for \u0027input_r1\u0027 must be equal\nto the number of items for \u0027input_r2\u0027.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"genomeDir": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. Reference genome to match to",
|
||||
"help_text": "Type: `file`, required. Reference genome to match to. Can be generated from genomic FASTA sequences and a genome annotation\nby using STAR with \u0027--runMode genomeGenerate\u0027.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"barcodesFasta": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. FASTA file where each entry specifies a unique barcode sequence present at the start of the forward input reads\n(input_r1)",
|
||||
"help_text": "Type: `file`, required. FASTA file where each entry specifies a unique barcode sequence present at the start of the forward input reads\n(input_r1). The IDs of each barcode (the start of the FASTA headers up until the first whitespace character) must\nmatch with the start of one input FASTQ pair.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"barcode arguments" : {
|
||||
"title": "Barcode arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"umiLength": {
|
||||
"type":
|
||||
"integer",
|
||||
"description": "Type: `integer`, required. Length of the Unique Molecular Identifiers (UMI)",
|
||||
"help_text": "Type: `integer`, required. Length of the Unique Molecular Identifiers (UMI). The UMI are expected to be located after the barcodes in the\nforwards reads.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"limitBAMsortRAM": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, default: `10000000000`. ",
|
||||
"help_text": "Type: `string`, default: `10000000000`. "
|
||||
,
|
||||
"default":"10000000000"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"runtime arguments" : {
|
||||
"title": "Runtime arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"runThreadN": {
|
||||
"type":
|
||||
"integer",
|
||||
"description": "Type: `integer`, default: `1`. Number of threads to use for a single STAR execution",
|
||||
"help_text": "Type: `integer`, default: `1`. Number of threads to use for a single STAR execution."
|
||||
,
|
||||
"default":1
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"output arguments" : {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, default: `./*`, multiple_sep: `\";\"`. A list of output folders which are the result of using STAR to map each input FASTQ pair STAR to the reference genome",
|
||||
"help_text": "Type: List of `file`, required, default: `./*`, multiple_sep: `\";\"`. A list of output folders which are the result of using STAR to map each input FASTQ pair STAR to the reference genome.\nThe order of the items DO NOT match with the order of the entries in the barcodes FASTA file or the input FASTQ pairs. \n"
|
||||
,
|
||||
"default":"./*"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"joblog": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `execution_log.txt`. Where to store the log file listing all the jobs",
|
||||
"help_text": "Type: `file`, default: `execution_log.txt`. Where to store the log file listing all the jobs."
|
||||
,
|
||||
"default":"execution_log.txt"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/input arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "parallel_map",
|
||||
"description": "Map wells in batch, using STAR\nSpliced Transcripts Alignment to a Reference (C) Alexander Dobin\nhttps://github.com/alexdobin/STAR\n",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"input arguments": {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"input_r1": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Input FASTQ files for the forward reads",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"input_r2": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Input FASTQ files for the reverse reads",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"genomeDir": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Reference genome to match to",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"barcodesFasta": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "FASTA file where each entry specifies a unique barcode sequence present at the start of the forward input reads\n(input_r1)",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/barcode arguments"
|
||||
"barcode arguments": {
|
||||
"title": "Barcode arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"umiLength": {
|
||||
"type": "integer",
|
||||
"description": "Length of the Unique Molecular Identifiers (UMI)",
|
||||
"help_text": "Type: `integer`, multiple: `False`, required. "
|
||||
},
|
||||
"limitBAMsortRAM": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"help_text": "Type: `string`, multiple: `False`, default: `\"10000000000\"`. ",
|
||||
"default": "10000000000"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/runtime arguments"
|
||||
"runtime arguments": {
|
||||
"title": "Runtime arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"runThreadN": {
|
||||
"type": "integer",
|
||||
"description": "Number of threads to use for a single STAR execution.",
|
||||
"help_text": "Type: `integer`, multiple: `False`, default: `1`. ",
|
||||
"default": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/output arguments"
|
||||
"output arguments": {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"output": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"description": "A list of output folders which are the result of using STAR to map each input FASTQ pair STAR to the reference genome.\nThe order of the items DO NOT match with the order of the entries in the barcodes FASTA file or the input FASTQ pairs",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, default: `[\"./*\"]`, direction: `output`. ",
|
||||
"default": [
|
||||
"./*"
|
||||
]
|
||||
},
|
||||
"joblog": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "Where to store the log file listing all the jobs.",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"execution_log.txt\"`, direction: `output`. ",
|
||||
"default": "execution_log.txt"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/input arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/barcode arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/runtime arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/output arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -212,9 +212,9 @@ build_info:
|
||||
output: "target/nextflow/report/create_report"
|
||||
executable: "target/nextflow/report/create_report/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3318,9 +3318,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/report/create_report",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,81 +1,52 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "create_report",
|
||||
"description": "Create a basic QC report in HTML format based on a number of esets.\n",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"arguments" : {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"eset": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. ",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"output_report": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, default: `$id.$key.output_report.html`, example: `report.html`. ",
|
||||
"help_text": "Type: `file`, required, default: `$id.$key.output_report.html`, example: `report.html`. "
|
||||
,
|
||||
"default":"$id.$key.output_report.html"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "create_report",
|
||||
"description": "Create a basic QC report in HTML format based on a number of esets.\n",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"arguments": {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"eset": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"output_report": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, default: `\"$id.$key.output_report.html\"`, direction: `output`, example: `\"report.html\"`. ",
|
||||
"default": "$id.$key.output_report.html"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -201,9 +201,9 @@ build_info:
|
||||
output: "target/nextflow/stats/combine_star_logs"
|
||||
executable: "target/nextflow/stats/combine_star_logs/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3290,9 +3290,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/stats/combine_star_logs",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,111 +1,80 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "combine_star_logs",
|
||||
"description": "No description",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"arguments" : {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"barcodes": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `string`, required, multiple_sep: `\";\"`. Barcodes responding to the respective log files",
|
||||
"help_text": "Type: List of `string`, required, multiple_sep: `\";\"`. Barcodes responding to the respective log files.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"star_logs": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, example: `Log.final.out`, multiple_sep: `\";\"`. Paths to the STAR log files (most frequently called Log",
|
||||
"help_text": "Type: List of `file`, required, example: `Log.final.out`, multiple_sep: `\";\"`. Paths to the STAR log files (most frequently called Log.final.out)\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"gene_summary_logs": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, example: `Summary.txt`, multiple_sep: `\";\"`. Paths to the Summary",
|
||||
"help_text": "Type: List of `file`, required, example: `Summary.txt`, multiple_sep: `\";\"`. Paths to the Summary.csv files from the STAR Solo output. Can be found in\nthe \u0027Solo.out/Gene\u0027 folder relative to the root of the STAR output directory. \n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"reads_per_gene_logs": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. Paths to the \u0027ReadsPerGene",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. Paths to the \u0027ReadsPerGene.out.tab\u0027 files as output by STAR.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `starLogs.txt`. Tab-delimited file describing for each barcode (as the rows), the metrics (as columns)\ngathered from the different input files",
|
||||
"help_text": "Type: `file`, default: `starLogs.txt`. Tab-delimited file describing for each barcode (as the rows), the metrics (as columns)\ngathered from the different input files. \n"
|
||||
,
|
||||
"default":"starLogs.txt"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "combine_star_logs",
|
||||
"description": "No description",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"arguments": {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"barcodes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Barcodes responding to the respective log files.\n",
|
||||
"help_text": "Type: `string`, multiple: `True`, required. "
|
||||
},
|
||||
"star_logs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Paths to the STAR log files (most frequently called Log.final.out)\n",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`, example: `[\"Log.final.out\"]`. "
|
||||
},
|
||||
"gene_summary_logs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Paths to the Summary.csv files from the STAR Solo output",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`, example: `[\"Summary.txt\"]`. "
|
||||
},
|
||||
"reads_per_gene_logs": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Paths to the 'ReadsPerGene.out.tab' files as output by STAR.\n",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"output": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "Tab-delimited file describing for each barcode (as the rows), the metrics (as columns)\ngathered from the different input files",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"starLogs.txt\"`, direction: `output`. ",
|
||||
"default": "starLogs.txt"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -185,9 +185,9 @@ build_info:
|
||||
output: "target/nextflow/stats/generate_pool_statistics"
|
||||
executable: "target/nextflow/stats/generate_pool_statistics/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3274,9 +3274,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/stats/generate_pool_statistics",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "generate_pool_statistics",
|
||||
"description": "No description",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"arguments" : {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"nrReadsNrGenesPerChrom": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, default: `processedBamFile_well1.tsv;processedBamfile_well2.tsv`, multiple_sep: `\";\"`. Path to an output file that contains a ",
|
||||
"help_text": "Type: List of `file`, default: `processedBamFile_well1.tsv;processedBamfile_well2.tsv`, multiple_sep: `\";\"`. Path to an output file that contains a .tsv formatted table describing\nper chromosome the number of reads that were mapped to that chromosome (NumberOfReads\ncolumn) and the number of genes on that chromosome that had at least one\nread mapped to it (NumberOfGenes).\n"
|
||||
,
|
||||
"default":"processedBamFile_well1.tsv;processedBamfile_well2.tsv"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"nrReadsNrGenesPerChromPool": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `$id.$key.nrReadsNrGenesPerChromPool.txt`, example: `nrReadsNrGenesPerChrom.txt`. Pivot table in tsv format of the combined input nrReadsNrGenesPerChrom files",
|
||||
"help_text": "Type: `file`, default: `$id.$key.nrReadsNrGenesPerChromPool.txt`, example: `nrReadsNrGenesPerChrom.txt`. Pivot table in tsv format of the combined input nrReadsNrGenesPerChrom files. Describes\nper chromosome (as columns) the number of reads, as well as the total number \nof reads per cell barcode and the percentage of nuclear, ERCC and mitochondrial\nreads.\n"
|
||||
,
|
||||
"default":"$id.$key.nrReadsNrGenesPerChromPool.txt"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/arguments"
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -267,9 +267,9 @@ build_info:
|
||||
output: "target/nextflow/stats/generate_well_statistics"
|
||||
executable: "target/nextflow/stats/generate_well_statistics/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3369,9 +3369,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/stats/generate_well_statistics",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,145 +1,85 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "generate_well_statistics",
|
||||
"description": "Generate summary statistics from BAM files generated by STAR solo.",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"arguments" : {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"input": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, example: `input.bam`. The ",
|
||||
"help_text": "Type: `file`, example: `input.bam`. The .bam file as returned by the mapping tool STAR."
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"barcode": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, required. The barcode for the well that is being processed",
|
||||
"help_text": "Type: `string`, required. The barcode for the well that is being processed. Is only used to add a metadata\ncolumn to all output files.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"well_id": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, required. ID of this well",
|
||||
"help_text": "Type: `string`, required. ID of this well. Only used to add a metadata column to the output files.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"processedBAMFile": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `processedBamFile.txt`. Path to a ",
|
||||
"help_text": "Type: `file`, default: `processedBamFile.txt`. Path to a .tsv file listing, per read in the BAM file,\nthe value for the \"CB\", \"UX\", \"GX\" and \"GN\" tag, together with the\nchromsome to which the read was mapped to.\n"
|
||||
,
|
||||
"default":"processedBamFile.txt"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"nrReadsNrGenesPerChrom": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `nrReadsNrGenesPerChrom.txt`. Path to an output file that contains a ",
|
||||
"help_text": "Type: `file`, default: `nrReadsNrGenesPerChrom.txt`. Path to an output file that contains a .tsv formatted table describing\nper chromosome the number of reads that were mapped to that chromosome (NumberOfReads\ncolumn) and the number of genes on that chromosome that had at least one\nread mapped to it (NumberOfGenes).\n"
|
||||
,
|
||||
"default":"nrReadsNrGenesPerChrom.txt"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"nrReadsNrUMIsPerCB": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `nrReadsNrUMIsPerCB.txt`. Path to an output file that contains a ",
|
||||
"help_text": "Type: `file`, default: `nrReadsNrUMIsPerCB.txt`. Path to an output file that contains a .tsv formatted table describing\nper barcode the number of UMI\u0027s (nrUMIs) and the total number of reads (NumberOfReads).\n"
|
||||
,
|
||||
"default":"nrReadsNrUMIsPerCB.txt"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"umiFreqTop": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `umiFreqTop100.txt`. Path to an output file that contains a ",
|
||||
"help_text": "Type: `file`, default: `umiFreqTop100.txt`. Path to an output file that contains a .tsv formatted table describing\nper UMI (column UB) the frequency at which they occur in the reads (column\nN). Only the top 100 UMIs are included.\n"
|
||||
,
|
||||
"default":"umiFreqTop100.txt"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"threads": {
|
||||
"type":
|
||||
"integer",
|
||||
"description": "Type: `integer`, default: `1`. Number of threads to use for decompressing BAM files",
|
||||
"help_text": "Type: `integer`, default: `1`. Number of threads to use for decompressing BAM files.\n"
|
||||
,
|
||||
"default":1
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "generate_well_statistics",
|
||||
"description": "Generate summary statistics from BAM files generated by STAR solo.",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"arguments": {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"input": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "The .bam file as returned by the mapping tool STAR.",
|
||||
"help_text": "Type: `file`, multiple: `False`, direction: `input`, example: `\"input.bam\"`. "
|
||||
},
|
||||
"barcode": {
|
||||
"type": "string",
|
||||
"description": "The barcode for the well that is being processed",
|
||||
"help_text": "Type: `string`, multiple: `False`, required. "
|
||||
},
|
||||
"well_id": {
|
||||
"type": "string",
|
||||
"description": "ID of this well",
|
||||
"help_text": "Type: `string`, multiple: `False`, required. "
|
||||
},
|
||||
"processedBAMFile": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "Path to a .tsv file listing, per read in the BAM file,\nthe value for the \"CB\", \"UX\", \"GX\" and \"GN\" tag, together with the\nchromsome to which the read was mapped to.\n",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"processedBamFile.txt\"`, direction: `output`. ",
|
||||
"default": "processedBamFile.txt"
|
||||
},
|
||||
"nrReadsNrGenesPerChrom": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "Path to an output file that contains a .tsv formatted table describing\nper chromosome the number of reads that were mapped to that chromosome (NumberOfReads\ncolumn) and the number of genes on that chromosome that had at least one\nread mapped to it (NumberOfGenes).\n",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"nrReadsNrGenesPerChrom.txt\"`, direction: `output`. ",
|
||||
"default": "nrReadsNrGenesPerChrom.txt"
|
||||
},
|
||||
"nrReadsNrUMIsPerCB": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "Path to an output file that contains a .tsv formatted table describing\nper barcode the number of UMI's (nrUMIs) and the total number of reads (NumberOfReads).\n",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"nrReadsNrUMIsPerCB.txt\"`, direction: `output`. ",
|
||||
"default": "nrReadsNrUMIsPerCB.txt"
|
||||
},
|
||||
"umiFreqTop": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "Path to an output file that contains a .tsv formatted table describing\nper UMI (column UB) the frequency at which they occur in the reads (column\nN)",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"umiFreqTop100.txt\"`, direction: `output`. ",
|
||||
"default": "umiFreqTop100.txt"
|
||||
},
|
||||
"threads": {
|
||||
"type": "integer",
|
||||
"description": "Number of threads to use for decompressing BAM files.\n",
|
||||
"help_text": "Type: `integer`, multiple: `False`, default: `1`. ",
|
||||
"default": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -157,9 +157,9 @@ build_info:
|
||||
output: "target/nextflow/utils/concatRuns"
|
||||
executable: "target/nextflow/utils/concatRuns/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
dependencies:
|
||||
- "target/dependencies/vsh/vsh/craftbox/v0.1.0/nextflow/concat_text"
|
||||
package_config:
|
||||
|
||||
@@ -3224,9 +3224,9 @@ meta = [
|
||||
"engine" : "native|native",
|
||||
"output" : "target/nextflow/utils/concatRuns",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,112 +1,80 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "concatRuns",
|
||||
"description": "Concatenate well FASTQ files from different runs in order to increase sequencing depth.\n",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"arguments" : {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"input_r1": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. ",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"input_r2": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. ",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"sample_id": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, required. ",
|
||||
"help_text": "Type: `string`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"output_r1": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, default: `$id.$key.output_r1_*`, multiple_sep: `\";\"`. Path to read 1 fastq/fasta file",
|
||||
"help_text": "Type: List of `file`, default: `$id.$key.output_r1_*`, multiple_sep: `\";\"`. Path to read 1 fastq/fasta file"
|
||||
,
|
||||
"default":"$id.$key.output_r1_*"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"output_r2": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, default: `$id.$key.output_r2_*`, multiple_sep: `\";\"`. Path to read 2 fastq/fasta file",
|
||||
"help_text": "Type: List of `file`, default: `$id.$key.output_r2_*`, multiple_sep: `\";\"`. Path to read 2 fastq/fasta file"
|
||||
,
|
||||
"default":"$id.$key.output_r2_*"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "concatRuns",
|
||||
"description": "Concatenate well FASTQ files from different runs in order to increase sequencing depth.\n",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"arguments": {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"input_r1": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"input_r2": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"sample_id": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"help_text": "Type: `string`, multiple: `False`, required. "
|
||||
},
|
||||
"output_r1": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"description": "Path to read 1 fastq/fasta file",
|
||||
"help_text": "Type: `file`, multiple: `True`, default: `\"$id.$key.output_r1_*\"`, direction: `output`. ",
|
||||
"default": "$id.$key.output_r1_*"
|
||||
},
|
||||
"output_r2": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"description": "Path to read 2 fastq/fasta file",
|
||||
"help_text": "Type: `file`, multiple: `True`, default: `\"$id.$key.output_r2_*\"`, direction: `output`. ",
|
||||
"default": "$id.$key.output_r2_*"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -168,9 +168,9 @@ build_info:
|
||||
output: "target/nextflow/utils/listInputDir"
|
||||
executable: "target/nextflow/utils/listInputDir/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3234,9 +3234,9 @@ meta = [
|
||||
"engine" : "native|native",
|
||||
"output" : "target/nextflow/utils/listInputDir",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,133 +1,82 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "listInputDir",
|
||||
"description": "List the contents of a directory and parse contained fastq files",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"arguments" : {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"input": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, example: `fastq_dir`. Path to the directory containing fastq files",
|
||||
"help_text": "Type: `file`, required, example: `fastq_dir`. Path to the directory containing fastq files"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"ignore": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `string`, default: `Undetermined`, multiple_sep: `\";\"`. Pool names to ignore",
|
||||
"help_text": "Type: List of `string`, default: `Undetermined`, multiple_sep: `\";\"`. Pool names to ignore."
|
||||
,
|
||||
"default":"Undetermined"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"r1_output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `$id.$key.r1_output`. Path to read 1 fastq/fasta file",
|
||||
"help_text": "Type: `file`, default: `$id.$key.r1_output`. Path to read 1 fastq/fasta file"
|
||||
,
|
||||
"default":"$id.$key.r1_output"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"r2_output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `$id.$key.r2_output`. Path to read 2 fastq/fasta file",
|
||||
"help_text": "Type: `file`, default: `$id.$key.r2_output`. Path to read 2 fastq/fasta file"
|
||||
,
|
||||
"default":"$id.$key.r2_output"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"lane": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`. Lane nr",
|
||||
"help_text": "Type: `string`. Lane nr"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"sample": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`. Sample nr",
|
||||
"help_text": "Type: `string`. Sample nr"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"sample_id": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`. Sample name",
|
||||
"help_text": "Type: `string`. Sample name"
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "listInputDir",
|
||||
"description": "List the contents of a directory and parse contained fastq files",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"arguments": {
|
||||
"title": "Arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"input": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Path to the directory containing fastq files",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`, example: `\"fastq_dir\"`. "
|
||||
},
|
||||
"ignore": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Pool names to ignore.",
|
||||
"help_text": "Type: `string`, multiple: `True`, default: `[\"Undetermined\"]`. ",
|
||||
"default": [
|
||||
"Undetermined"
|
||||
]
|
||||
},
|
||||
"r1_output": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "Path to read 1 fastq/fasta file",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"$id.$key.r1_output\"`, direction: `output`. ",
|
||||
"default": "$id.$key.r1_output"
|
||||
},
|
||||
"r2_output": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "Path to read 2 fastq/fasta file",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"$id.$key.r2_output\"`, direction: `output`. ",
|
||||
"default": "$id.$key.r2_output"
|
||||
},
|
||||
"lane": {
|
||||
"type": "string",
|
||||
"description": "Lane nr",
|
||||
"help_text": "Type: `string`, multiple: `False`. "
|
||||
},
|
||||
"sample": {
|
||||
"type": "string",
|
||||
"description": "Sample nr",
|
||||
"help_text": "Type: `string`, multiple: `False`. "
|
||||
},
|
||||
"sample_id": {
|
||||
"type": "string",
|
||||
"description": "Sample name",
|
||||
"help_text": "Type: `string`, multiple: `False`. "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -148,9 +148,9 @@ build_info:
|
||||
output: "target/nextflow/utils/save_params"
|
||||
executable: "target/nextflow/utils/save_params/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3218,9 +3218,9 @@ meta = [
|
||||
"engine" : "docker|native",
|
||||
"output" : "target/nextflow/utils/save_params",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,105 +1,62 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "save_params",
|
||||
"description": "Save parameters to a YAML file\n",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"inputs" : {
|
||||
"title": "Inputs",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"id": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, required. The id of the job\n",
|
||||
"help_text": "Type: `string`, required. The id of the job\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"params_yaml": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, required. base64 encoded yaml containing the state\n",
|
||||
"help_text": "Type: `string`, required. base64 encoded yaml containing the state\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"outputs" : {
|
||||
"title": "Outputs",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, default: `$id.$key.output.yaml`, example: `output.yaml`. The output YAML file\n",
|
||||
"help_text": "Type: `file`, required, default: `$id.$key.output.yaml`, example: `output.yaml`. The output YAML file\n"
|
||||
,
|
||||
"default":"$id.$key.output.yaml"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "save_params",
|
||||
"description": "Save parameters to a YAML file\n",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"inputs": {
|
||||
"title": "Inputs",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "The id of the job\n",
|
||||
"help_text": "Type: `string`, multiple: `False`, required. "
|
||||
},
|
||||
"params_yaml": {
|
||||
"type": "string",
|
||||
"description": "base64 encoded yaml containing the state\n",
|
||||
"help_text": "Type: `string`, multiple: `False`, required. "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/outputs"
|
||||
"outputs": {
|
||||
"title": "Outputs",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"output": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "The output YAML file\n",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, default: `\"$id.$key.output.yaml\"`, direction: `output`, example: `\"output.yaml\"`. ",
|
||||
"default": "$id.$key.output.yaml"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/inputs"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/outputs"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -262,7 +262,7 @@ repositories:
|
||||
- type: "vsh"
|
||||
name: "bb"
|
||||
repo: "biobox"
|
||||
tag: "v0.1.0"
|
||||
tag: "v0.3.1"
|
||||
license: "MIT"
|
||||
links:
|
||||
repository: "https://github.com/viash-hub/htrnaseq"
|
||||
@@ -342,9 +342,9 @@ build_info:
|
||||
output: "target/nextflow/workflows/htrnaseq"
|
||||
executable: "target/nextflow/workflows/htrnaseq/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
dependencies:
|
||||
- "target/nextflow/stats/combine_star_logs"
|
||||
- "target/nextflow/stats/generate_pool_statistics"
|
||||
|
||||
@@ -3384,7 +3384,7 @@ meta = [
|
||||
"type" : "vsh",
|
||||
"name" : "bb",
|
||||
"repo" : "biobox",
|
||||
"tag" : "v0.1.0"
|
||||
"tag" : "v0.3.1"
|
||||
}
|
||||
],
|
||||
"license" : "MIT",
|
||||
@@ -3479,9 +3479,9 @@ meta = [
|
||||
"engine" : "native|native",
|
||||
"output" : "target/nextflow/workflows/htrnaseq",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,244 +1,170 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "htrnaseq",
|
||||
"description": "No description",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"input arguments" : {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"input_r1": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. Forward reads in FASTQ format",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. Forward reads in FASTQ format. Multiple files corresponding to different lanes can be provided which will\nbe demultiplexed separately before joining the results for each individual well.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"input_r2": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. Reverse reads in FASTQ format",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. Reverse reads in FASTQ format. Multiple files corresponding to different lanes can be provided which will\nbe demultiplexed separately before joining the results for each individual well.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"barcodesFasta": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. ",
|
||||
"help_text": "Type: `file`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"umi_length": {
|
||||
"type":
|
||||
"integer",
|
||||
"description": "Type: `integer`, default: `10`. Length of the UMI sequences\n",
|
||||
"help_text": "Type: `integer`, default: `10`. Length of the UMI sequences\n"
|
||||
,
|
||||
"default":10
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"genomeDir": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. ",
|
||||
"help_text": "Type: `file`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"annotation": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. ",
|
||||
"help_text": "Type: `file`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"sample_id": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`. Sample ID for the provided input files",
|
||||
"help_text": "Type: `string`. Sample ID for the provided input files. If not provided, the value of --id\nwill be used. Input files will allways be demultiplexed separately,\nbut the FASTQs for wells with matching sample IDs will be concatenated before mapping.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"output arguments" : {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"fastq_output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, default: `fastq/*`, multiple_sep: `\";\"`. Directory containing output fastq files",
|
||||
"help_text": "Type: List of `file`, required, default: `fastq/*`, multiple_sep: `\";\"`. Directory containing output fastq files"
|
||||
,
|
||||
"default":"fastq/*"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"star_output": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, default: `star.$id/*`, multiple_sep: `\";\"`. Output from mapping with STAR",
|
||||
"help_text": "Type: List of `file`, required, default: `star.$id/*`, multiple_sep: `\";\"`. Output from mapping with STAR"
|
||||
,
|
||||
"default":"star.$id/*"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"nrReadsNrGenesPerChrom": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, default: `nrReadsNrGenesPerChrom.$id.txt`. ",
|
||||
"help_text": "Type: `file`, required, default: `nrReadsNrGenesPerChrom.$id.txt`. "
|
||||
,
|
||||
"default":"nrReadsNrGenesPerChrom.$id.txt"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"star_qc_metrics": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, default: `starLogs.$id.txt`. ",
|
||||
"help_text": "Type: `file`, required, default: `starLogs.$id.txt`. "
|
||||
,
|
||||
"default":"starLogs.$id.txt"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"eset": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, default: `eset.$id.rds`. ",
|
||||
"help_text": "Type: `file`, required, default: `eset.$id.rds`. "
|
||||
,
|
||||
"default":"eset.$id.rds"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"f_data": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, default: `fData.$id.tsv`. ",
|
||||
"help_text": "Type: `file`, required, default: `fData.$id.tsv`. "
|
||||
,
|
||||
"default":"fData.$id.tsv"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"p_data": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, default: `pData.$id.tsv`. ",
|
||||
"help_text": "Type: `file`, required, default: `pData.$id.tsv`. "
|
||||
,
|
||||
"default":"pData.$id.tsv"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"html_report": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, default: `report.$id.html`. ",
|
||||
"help_text": "Type: `file`, required, default: `report.$id.html`. "
|
||||
,
|
||||
"default":"report.$id.html"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"run_params": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `params.$id.yaml`. ",
|
||||
"help_text": "Type: `file`, default: `params.$id.yaml`. "
|
||||
,
|
||||
"default":"params.$id.yaml"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/input arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "htrnaseq",
|
||||
"description": "No description",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"input arguments": {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"input_r1": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Forward reads in FASTQ format",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"input_r2": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Reverse reads in FASTQ format",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"barcodesFasta": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"umi_length": {
|
||||
"type": "integer",
|
||||
"description": "Length of the UMI sequences\n",
|
||||
"help_text": "Type: `integer`, multiple: `False`, default: `10`. ",
|
||||
"default": 10
|
||||
},
|
||||
"genomeDir": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"annotation": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"sample_id": {
|
||||
"type": "string",
|
||||
"description": "Sample ID for the provided input files",
|
||||
"help_text": "Type: `string`, multiple: `False`. "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/output arguments"
|
||||
"output arguments": {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"fastq_output": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"description": "Directory containing output fastq files",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, default: `[\"fastq/*\"]`, direction: `output`. ",
|
||||
"default": [
|
||||
"fastq/*"
|
||||
]
|
||||
},
|
||||
"star_output": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"description": "Output from mapping with STAR",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, default: `[\"star.$id/*\"]`, direction: `output`. ",
|
||||
"default": [
|
||||
"star.$id/*"
|
||||
]
|
||||
},
|
||||
"nrReadsNrGenesPerChrom": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, default: `\"nrReadsNrGenesPerChrom.$id.txt\"`, direction: `output`. ",
|
||||
"default": "nrReadsNrGenesPerChrom.$id.txt"
|
||||
},
|
||||
"star_qc_metrics": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, default: `\"starLogs.$id.txt\"`, direction: `output`. ",
|
||||
"default": "starLogs.$id.txt"
|
||||
},
|
||||
"eset": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, default: `\"eset.$id.rds\"`, direction: `output`. ",
|
||||
"default": "eset.$id.rds"
|
||||
},
|
||||
"f_data": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, default: `\"fData.$id.tsv\"`, direction: `output`. ",
|
||||
"default": "fData.$id.tsv"
|
||||
},
|
||||
"p_data": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, default: `\"pData.$id.tsv\"`, direction: `output`. ",
|
||||
"default": "pData.$id.tsv"
|
||||
},
|
||||
"html_report": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, default: `\"report.$id.html\"`, direction: `output`. ",
|
||||
"default": "report.$id.html"
|
||||
},
|
||||
"run_params": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"params.$id.yaml\"`, direction: `output`. ",
|
||||
"default": "params.$id.yaml"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/input arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/output arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -235,9 +235,9 @@ build_info:
|
||||
output: "target/nextflow/workflows/runner"
|
||||
executable: "target/nextflow/workflows/runner/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
dependencies:
|
||||
- "target/nextflow/utils/listInputDir"
|
||||
- "target/nextflow/workflows/htrnaseq"
|
||||
|
||||
@@ -3331,9 +3331,9 @@ meta = [
|
||||
"engine" : "native|native",
|
||||
"output" : "target/nextflow/workflows/runner",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,236 +1,148 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "runner",
|
||||
"description": "Runner for HT RNA-seq pipeline",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"input arguments" : {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"input": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. Base directory of the form `s3:/\u003cbucket\u003e/Sequencing/\u003cSequencer\u003e/\u003cRunID\u003e/\u003cdemultiplex_dir\u003e`",
|
||||
"help_text": "Type: `file`, required. Base directory of the form `s3:/\u003cbucket\u003e/Sequencing/\u003cSequencer\u003e/\u003cRunID\u003e/\u003cdemultiplex_dir\u003e`"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"barcodesFasta": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. ",
|
||||
"help_text": "Type: `file`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"genomeDir": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. ",
|
||||
"help_text": "Type: `file`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"annotation": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. ",
|
||||
"help_text": "Type: `file`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"ignore": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `string`, default: `Undetermined`, multiple_sep: `\";\"`. Pool names to ignore",
|
||||
"help_text": "Type: List of `string`, default: `Undetermined`, multiple_sep: `\";\"`. Pool names to ignore."
|
||||
,
|
||||
"default":"Undetermined"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"umi_length": {
|
||||
"type":
|
||||
"integer",
|
||||
"description": "Type: `integer`, default: `10`. Length of the UMI sequences\n",
|
||||
"help_text": "Type: `integer`, default: `10`. Length of the UMI sequences\n"
|
||||
,
|
||||
"default":10
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"run_params": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `params.yaml`. ",
|
||||
"help_text": "Type: `file`, default: `params.yaml`. "
|
||||
,
|
||||
"default":"params.yaml"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"metadata arguments" : {
|
||||
"title": "Metadata arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"id": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`. Unique identifier for the run",
|
||||
"help_text": "Type: `string`. Unique identifier for the run"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"project_id": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, required. Project ID",
|
||||
"help_text": "Type: `string`, required. Project ID"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"experiment_id": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, required. Experiment ID",
|
||||
"help_text": "Type: `string`, required. Experiment ID"
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"annotation flags" : {
|
||||
"title": "Annotation flags",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"plain_output": {
|
||||
"type":
|
||||
"boolean",
|
||||
"description": "Type: `boolean_true`, default: `false`. Flag to indicate that the output should be stored directly under $publish_dir rather than\nunder a subdirectory structure runID/\u003cdate_time\u003e_demultiplex_\u003cversion\u003e/",
|
||||
"help_text": "Type: `boolean_true`, default: `false`. Flag to indicate that the output should be stored directly under $publish_dir rather than\nunder a subdirectory structure runID/\u003cdate_time\u003e_demultiplex_\u003cversion\u003e/.\n"
|
||||
,
|
||||
"default":false
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"publish arguments" : {
|
||||
"title": "Publish arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"fastq_publish_dir": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, required. ",
|
||||
"help_text": "Type: `string`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"results_publish_dir": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`, required. ",
|
||||
"help_text": "Type: `string`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/input arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "runner",
|
||||
"description": "Runner for HT RNA-seq pipeline",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"input arguments": {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"input": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Base directory of the form `s3:/<bucket>/Sequencing/<Sequencer>/<RunID>/<demultiplex_dir>`",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"barcodesFasta": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"genomeDir": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"annotation": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
},
|
||||
"ignore": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "Pool names to ignore.",
|
||||
"help_text": "Type: `string`, multiple: `True`, default: `[\"Undetermined\"]`. ",
|
||||
"default": [
|
||||
"Undetermined"
|
||||
]
|
||||
},
|
||||
"umi_length": {
|
||||
"type": "integer",
|
||||
"description": "Length of the UMI sequences\n",
|
||||
"help_text": "Type: `integer`, multiple: `False`, default: `10`. ",
|
||||
"default": 10
|
||||
},
|
||||
"run_params": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"params.yaml\"`, direction: `output`. ",
|
||||
"default": "params.yaml"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/metadata arguments"
|
||||
"metadata arguments": {
|
||||
"title": "Metadata arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"description": "Unique identifier for the run",
|
||||
"help_text": "Type: `string`, multiple: `False`. "
|
||||
},
|
||||
"project_id": {
|
||||
"type": "string",
|
||||
"description": "Project ID",
|
||||
"help_text": "Type: `string`, multiple: `False`, required. "
|
||||
},
|
||||
"experiment_id": {
|
||||
"type": "string",
|
||||
"description": "Experiment ID",
|
||||
"help_text": "Type: `string`, multiple: `False`, required. "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/annotation flags"
|
||||
"annotation flags": {
|
||||
"title": "Annotation flags",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"plain_output": {
|
||||
"type": "boolean",
|
||||
"description": "Flag to indicate that the output should be stored directly under $publish_dir rather than\nunder a subdirectory structure runID/<date_time>_demultiplex_<version>/.\n",
|
||||
"help_text": "Type: `boolean_true`, multiple: `False`, default: `false`. ",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/publish arguments"
|
||||
"publish arguments": {
|
||||
"title": "Publish arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"fastq_publish_dir": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"help_text": "Type: `string`, multiple: `False`, required. "
|
||||
},
|
||||
"results_publish_dir": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"help_text": "Type: `string`, multiple: `False`, required. "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/input arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/metadata arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/annotation flags"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/publish arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -120,21 +120,21 @@ dependencies:
|
||||
repository:
|
||||
type: "vsh"
|
||||
repo: "biobox"
|
||||
tag: "v0.3.0"
|
||||
tag: "v0.3.1"
|
||||
- name: "concat_text"
|
||||
repository:
|
||||
type: "vsh"
|
||||
repo: "craftbox"
|
||||
tag: "v0.1.0"
|
||||
tag: "v0.2.0"
|
||||
repositories:
|
||||
- type: "vsh"
|
||||
name: "bb"
|
||||
repo: "biobox"
|
||||
tag: "v0.3.0"
|
||||
tag: "v0.3.1"
|
||||
- type: "vsh"
|
||||
name: "cb"
|
||||
repo: "craftbox"
|
||||
tag: "v0.1.0"
|
||||
tag: "v0.2.0"
|
||||
license: "MIT"
|
||||
links:
|
||||
repository: "https://github.com/viash-hub/htrnaseq"
|
||||
@@ -214,12 +214,12 @@ build_info:
|
||||
output: "target/nextflow/workflows/well_demultiplex"
|
||||
executable: "target/nextflow/workflows/well_demultiplex/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
dependencies:
|
||||
- "target/dependencies/vsh/vsh/biobox/v0.3.0/nextflow/cutadapt"
|
||||
- "target/dependencies/vsh/vsh/craftbox/v0.1.0/nextflow/concat_text"
|
||||
- "target/dependencies/vsh/vsh/biobox/v0.3.1/nextflow/cutadapt"
|
||||
- "target/dependencies/vsh/vsh/craftbox/v0.2.0/nextflow/concat_text"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3196,7 +3196,7 @@ meta = [
|
||||
"repository" : {
|
||||
"type" : "vsh",
|
||||
"repo" : "biobox",
|
||||
"tag" : "v0.3.0"
|
||||
"tag" : "v0.3.1"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -3204,7 +3204,7 @@ meta = [
|
||||
"repository" : {
|
||||
"type" : "vsh",
|
||||
"repo" : "craftbox",
|
||||
"tag" : "v0.1.0"
|
||||
"tag" : "v0.2.0"
|
||||
}
|
||||
}
|
||||
],
|
||||
@@ -3213,13 +3213,13 @@ meta = [
|
||||
"type" : "vsh",
|
||||
"name" : "bb",
|
||||
"repo" : "biobox",
|
||||
"tag" : "v0.3.0"
|
||||
"tag" : "v0.3.1"
|
||||
},
|
||||
{
|
||||
"type" : "vsh",
|
||||
"name" : "cb",
|
||||
"repo" : "craftbox",
|
||||
"tag" : "v0.1.0"
|
||||
"tag" : "v0.2.0"
|
||||
}
|
||||
],
|
||||
"license" : "MIT",
|
||||
@@ -3314,9 +3314,9 @@ meta = [
|
||||
"engine" : "native|native",
|
||||
"output" : "target/nextflow/workflows/well_demultiplex",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
@@ -3362,8 +3362,8 @@ meta = [
|
||||
|
||||
// resolve dependencies dependencies (if any)
|
||||
meta["root_dir"] = getRootDir()
|
||||
include { cutadapt } from "${meta.root_dir}/dependencies/vsh/vsh/biobox/v0.3.0/nextflow/cutadapt/main.nf"
|
||||
include { concat_text } from "${meta.root_dir}/dependencies/vsh/vsh/craftbox/v0.1.0/nextflow/concat_text/main.nf"
|
||||
include { cutadapt } from "${meta.root_dir}/dependencies/vsh/vsh/biobox/v0.3.1/nextflow/cutadapt/main.nf"
|
||||
include { concat_text } from "${meta.root_dir}/dependencies/vsh/vsh/craftbox/v0.2.0/nextflow/concat_text/main.nf"
|
||||
|
||||
// inner workflow
|
||||
// user-provided Nextflow code
|
||||
|
||||
@@ -1,126 +1,96 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "well_demultiplex",
|
||||
"description": "Demultiplexing on well level",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"input arguments" : {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"input_r1": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. Forward reads in FASTQ format",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. Forward reads in FASTQ format. Multiple files can be provided which will\nbe demultiplexed separately before joining the results for each individual well.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"input_r2": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. Reverse reads in FASTQ format",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. Reverse reads in FASTQ format. Multiple files can be provided which will\nbe demultiplexed separately before joining the results for each individual well.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"barcodesFasta": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. ",
|
||||
"help_text": "Type: `file`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"output arguments" : {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"output_r1": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, default: `fastq/*_R1_001.fastq`, multiple_sep: `\";\"`. List of demultiplexed fastq files",
|
||||
"help_text": "Type: List of `file`, required, default: `fastq/*_R1_001.fastq`, multiple_sep: `\";\"`. List of demultiplexed fastq files"
|
||||
,
|
||||
"default":"fastq/*_R1_001.fastq"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"output_r2": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, default: `fastq/*_R2_001.fastq`, multiple_sep: `\";\"`. List of demultiplexed fastq files",
|
||||
"help_text": "Type: List of `file`, required, default: `fastq/*_R2_001.fastq`, multiple_sep: `\";\"`. List of demultiplexed fastq files"
|
||||
,
|
||||
"default":"fastq/*_R2_001.fastq"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/input arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "well_demultiplex",
|
||||
"description": "Demultiplexing on well level",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"input arguments": {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"input_r1": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Forward reads in FASTQ format",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"input_r2": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "Reverse reads in FASTQ format",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"barcodesFasta": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/output arguments"
|
||||
"output arguments": {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"output_r1": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"description": "List of demultiplexed fastq files",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, default: `[\"fastq/*_R1_001.fastq\"]`, direction: `output`. ",
|
||||
"default": [
|
||||
"fastq/*_R1_001.fastq"
|
||||
]
|
||||
},
|
||||
"output_r2": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"description": "List of demultiplexed fastq files",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, default: `[\"fastq/*_R2_001.fastq\"]`, direction: `output`. ",
|
||||
"default": [
|
||||
"fastq/*_R2_001.fastq"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/input arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/output arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -212,9 +212,9 @@ build_info:
|
||||
output: "target/nextflow/workflows/well_metadata"
|
||||
executable: "target/nextflow/workflows/well_metadata/main.nf"
|
||||
viash_version: "0.9.4"
|
||||
git_commit: "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80"
|
||||
git_commit: "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957"
|
||||
git_remote: "https://github.com/viash-hub/htrnaseq"
|
||||
git_tag: "v0.7.2-5-g7e47ecc"
|
||||
git_tag: "v0.7.2-6-ga3b7ae3"
|
||||
package_config:
|
||||
name: "htrnaseq"
|
||||
version: "main"
|
||||
|
||||
@@ -3294,9 +3294,9 @@ meta = [
|
||||
"engine" : "native|native",
|
||||
"output" : "target/nextflow/workflows/well_metadata",
|
||||
"viash_version" : "0.9.4",
|
||||
"git_commit" : "7e47ecc5dbf74e3bd5c35783f78bb948f6616d80",
|
||||
"git_commit" : "a3b7ae3f31ff5eeee305a2cca1ce09ebe1cd8957",
|
||||
"git_remote" : "https://github.com/viash-hub/htrnaseq",
|
||||
"git_tag" : "v0.7.2-5-g7e47ecc"
|
||||
"git_tag" : "v0.7.2-6-ga3b7ae3"
|
||||
},
|
||||
"package_config" : {
|
||||
"name" : "htrnaseq",
|
||||
|
||||
@@ -1,187 +1,123 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "well_metadata",
|
||||
"description": "No description",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
|
||||
|
||||
|
||||
"input arguments" : {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"input_r1": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. List of FASTQ files for the forward reads, 1 per well",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. List of FASTQ files for the forward reads, 1 per well.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"input_r2": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. List of FASTQ files for the forward reads, 1 per well",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. List of FASTQ files for the forward reads, 1 per well.\n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"star_mapping": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: List of `file`, required, multiple_sep: `\";\"`. ",
|
||||
"help_text": "Type: List of `file`, required, multiple_sep: `\";\"`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"barcodesFasta": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required. ",
|
||||
"help_text": "Type: `file`, required. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"output arguments" : {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
|
||||
|
||||
"output_r1": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, default: `$id.$key.output_r1`. Output fastq file",
|
||||
"help_text": "Type: `file`, required, default: `$id.$key.output_r1`. Output fastq file."
|
||||
,
|
||||
"default":"$id.$key.output_r1"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"output_r2": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, required, default: `$id.$key.output_r2`. Output fastq file",
|
||||
"help_text": "Type: `file`, required, default: `$id.$key.output_r2`. Output fastq file."
|
||||
,
|
||||
"default":"$id.$key.output_r2"
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"pool": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`. The original pool / sample name",
|
||||
"help_text": "Type: `string`. The original pool / sample name"
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"well_id": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`. ",
|
||||
"help_text": "Type: `string`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"barcode": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `string`. ",
|
||||
"help_text": "Type: `string`. "
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"n_wells": {
|
||||
"type":
|
||||
"integer",
|
||||
"description": "Type: `integer`. The number of wells in the pool is well is a part of",
|
||||
"help_text": "Type: `integer`. The number of wells in the pool is well is a part of."
|
||||
|
||||
}
|
||||
|
||||
|
||||
,
|
||||
"well_star_mapping": {
|
||||
"type":
|
||||
"string",
|
||||
"description": "Type: `file`, default: `$id.$key.well_star_mapping`. ",
|
||||
"help_text": "Type: `file`, default: `$id.$key.well_star_mapping`. "
|
||||
,
|
||||
"default":"$id.$key.well_star_mapping"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
"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/input arguments"
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"title": "well_metadata",
|
||||
"description": "No description",
|
||||
"type": "object",
|
||||
"$defs": {
|
||||
"input arguments": {
|
||||
"title": "Input arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"input_r1": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "List of FASTQ files for the forward reads, 1 per well.\n",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"input_r2": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "List of FASTQ files for the forward reads, 1 per well.\n",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"star_mapping": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `True`, required, direction: `input`. "
|
||||
},
|
||||
"barcodesFasta": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"exists": true,
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, direction: `input`. "
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/output arguments"
|
||||
"output arguments": {
|
||||
"title": "Output arguments",
|
||||
"type": "object",
|
||||
"description": "No description",
|
||||
"properties": {
|
||||
"output_r1": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "Output fastq file.",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, default: `\"$id.$key.output_r1\"`, direction: `output`. ",
|
||||
"default": "$id.$key.output_r1"
|
||||
},
|
||||
"output_r2": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "Output fastq file.",
|
||||
"help_text": "Type: `file`, multiple: `False`, required, default: `\"$id.$key.output_r2\"`, direction: `output`. ",
|
||||
"default": "$id.$key.output_r2"
|
||||
},
|
||||
"pool": {
|
||||
"type": "string",
|
||||
"description": "The original pool / sample name",
|
||||
"help_text": "Type: `string`, multiple: `False`. "
|
||||
},
|
||||
"well_id": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"help_text": "Type: `string`, multiple: `False`. "
|
||||
},
|
||||
"barcode": {
|
||||
"type": "string",
|
||||
"description": "",
|
||||
"help_text": "Type: `string`, multiple: `False`. "
|
||||
},
|
||||
"n_wells": {
|
||||
"type": "integer",
|
||||
"description": "The number of wells in the pool is well is a part of.",
|
||||
"help_text": "Type: `integer`, multiple: `False`. "
|
||||
},
|
||||
"well_star_mapping": {
|
||||
"type": "string",
|
||||
"format": "path",
|
||||
"description": "",
|
||||
"help_text": "Type: `file`, multiple: `False`, default: `\"$id.$key.well_star_mapping\"`, direction: `output`. ",
|
||||
"default": "$id.$key.well_star_mapping"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"$ref": "#/definitions/nextflow input-output arguments"
|
||||
"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": "Path to an output directory.",
|
||||
"help_text": "Type: `string`, multiple: `False`, required, example: `\"output/\"`. "
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/$defs/input arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/output arguments"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/nextflow input-output arguments"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user