Skip to content
Snippets Groups Projects
Commit b123b09a authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Combine inputs for getRefInfer

parent fe197fce
Branches
Tags
2 merge requests!58Develop,!45Resolve "Move references to GUDMAP/RBK"
Pipeline #8138 passed with stages
in 2 minutes and 6 seconds
...@@ -376,6 +376,9 @@ fastqsTrim.into { ...@@ -376,6 +376,9 @@ fastqsTrim.into {
fastqsTrim_downsampleData fastqsTrim_downsampleData
} }
// Combine inputs of getRefInfer
getRefInferInput = referenceInfer.combine(deriva_getRefInfer.combine(script_refDataInfer))
/* /*
* getRefInfer: dowloads appropriate reference for metadata inference * getRefInfer: dowloads appropriate reference for metadata inference
*/ */
...@@ -383,9 +386,7 @@ process getRefInfer { ...@@ -383,9 +386,7 @@ process getRefInfer {
tag "${refName}" tag "${refName}"
input: input:
path credential, stageAs: "credential.json" from deriva_getRefInfer tuple val (refName), path (credential, stageAs: "credential.json"), path (script_refDataInfer) from getRefInferInput
path script_refDataInfer
val refName from referenceInfer
output: output:
tuple val (refName), path ("hisat2", type: 'dir'), path ("*.fna"), path ("*.gtf") into refInfer tuple val (refName), path ("hisat2", type: 'dir'), path ("*.fna"), path ("*.gtf") into refInfer
...@@ -684,6 +685,7 @@ inferMetadata.splitCsv(sep: ",", header: false).separate( ...@@ -684,6 +685,7 @@ inferMetadata.splitCsv(sep: ",", header: false).separate(
percentRInfer, percentRInfer,
failInfer failInfer
) )
// Replicate metadata for multiple process inputs // Replicate metadata for multiple process inputs
endsInfer.into { endsInfer.into {
endsInfer_alignData endsInfer_alignData
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment