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

Add inital output bag creation

parent 0bdfdeef
Branches
Tags
2 merge requests!39v0.0.2,!38Resolve "Add input bagit to ouput"
Pipeline #7846 passed with stages
in 1 hour, 31 minutes, and 22 seconds
......@@ -80,4 +80,8 @@ process {
cpus = 2
memory = '1 GB'
}
withName: outputBag {
cpus = 1
memory = '1 GB'
}
}
......@@ -54,6 +54,9 @@ process {
withName: aggrQC {
executor = 'local'
}
withName: outputBag {
executor = 'local'
}
}
singularity {
......
......@@ -67,6 +67,9 @@ process {
withName: aggrQC {
container = 'bicf/multiqc1.8:2.0.1_indev'
}
withName:outputBag {
container = 'bicf/gudmaprbkfilexfer:2.0.1_indev'
}
}
trace {
......@@ -94,6 +97,6 @@ manifest {
homePage = 'https://git.biohpc.swmed.edu/gudmap_rbk/rna-seq'
description = 'This pipeline was created to be a standard mRNA-sequencing analysis pipeline which integrates with the GUDMAP and RBK consortium data-hub.'
mainScript = 'rna-seq.nf'
version = 'v0.0.1'
version = 'v0.0.2_indev'
nextflowVersion = '>=19.09.0'
}
......@@ -1058,4 +1058,28 @@ process aggrQC {
multiqc -c ${multiqcConfig} . -n ${repRID}.multiqc.html
cp ${repRID}.multiqc_data/multiqc_data.json ${repRID}.multiqc_data.json
"""
}
\ No newline at end of file
}
/*
*ouputBag: create ouputBag
*/
process outputBag {
tag "${repRID}"
publishDir "${outDir}/outputBag", mode: 'copy', pattern: "Replicate_${repRID}.outputBag.zip"
input:
path multiqc
path multiqcJSON
output:
path ("Replicate_*.zip") into outputBag
script:
"""
mkdir Replicate_${repRID}.outputBag
cp ${multiqc} Replicate_${repRID}.outputBag
cp ${multiqcJSON} Replicate_${repRID}.outputBag
bdbag Replicate_${repRID}.outputBag --archiver zip
"""
}
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