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 {
fastqsTrim_downsampleData
}
// Combine inputs of getRefInfer
getRefInferInput = referenceInfer.combine(deriva_getRefInfer.combine(script_refDataInfer))
/*
* getRefInfer: dowloads appropriate reference for metadata inference
*/
......@@ -383,9 +386,7 @@ process getRefInfer {
tag "${refName}"
input:
path credential, stageAs: "credential.json" from deriva_getRefInfer
path script_refDataInfer
val refName from referenceInfer
tuple val (refName), path (credential, stageAs: "credential.json"), path (script_refDataInfer) from getRefInferInput
output:
tuple val (refName), path ("hisat2", type: 'dir'), path ("*.fna"), path ("*.gtf") into refInfer
......@@ -684,6 +685,7 @@ inferMetadata.splitCsv(sep: ",", header: false).separate(
percentRInfer,
failInfer
)
// Replicate metadata for multiple process inputs
endsInfer.into {
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