Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
inter_CATI_omics
Hackathon_octobre2021
atelier_repro
Commits
b9cd2942
Commit
b9cd2942
authored
Oct 11, 2021
by
Ludovic Legrand
Browse files
uniformisation des publishdir
parent
913417c0
Changes
7
Hide whitespace changes
Inline
Side-by-side
Nextflow/04configuration_environnement/conf.conda1.nf
View file @
b9cd2942
...
...
@@ -22,7 +22,7 @@ bwa index $genome
process mapping {
publishDir("${params.outdir}/01.mapping")
publishDir("${params.outdir}/
conf.conda1/
01.mapping")
tag("${id}")
label "multithread"
...
...
Nextflow/04configuration_environnement/conf.conda2.nf
View file @
b9cd2942
...
...
@@ -20,7 +20,7 @@ bwa index $genome
process mapping {
publishDir("${params.outdir}/01.mapping")
publishDir("${params.outdir}/
conf.conda2/
01.mapping")
tag("${id}")
label "multithread"
...
...
Nextflow/04configuration_environnement/conf.env.nf
View file @
b9cd2942
...
...
@@ -4,7 +4,7 @@ version = ['1.9','1.1']
process softwareVersions {
label "local"
publishDir "${params.outdir}/", mode: 'copy'
publishDir "${params.outdir}/
conf.env/
", mode: 'copy'
conda "bwa samtools=${samtoolsVersion}"
...
...
Nextflow/04configuration_environnement/conf.simple.nf
View file @
b9cd2942
...
...
@@ -3,7 +3,7 @@ nextflow.enable.dsl=2
chanFastq = Channel.fromFilePairs( params.reads, size: 2, checkIfExists: true) //change
process gunzip {
publishDir(params.outdir
) //change
publishDir(
"${
params.outdir
}/conf.simple/)
tag("${id}") // id correspond a la variable dans input
label 'multithread'
...
...
@@ -24,7 +24,7 @@ touch myfile
}
process gzip {
publishDir("$params.outdir") // change
publishDir("$
{
params.outdir
}/conf.simple/
") // change
tag("${reads}")
input:
...
...
Nextflow/04configuration_environnement/nextflow.config
View file @
b9cd2942
params
{
reads
=
'./rawdata/dev/control/SRR*_{1,2}.fastq.gz'
outdir
=
'result/
conf_env
'
outdir
=
'result/'
}
timeline
{
enabled
=
true
...
...
Nextflow/05operateurs/operateur.collect.nf
View file @
b9cd2942
...
...
@@ -3,7 +3,7 @@ nextflow.enable.dsl=2
chanFastq = Channel.fromPath( './rawdata/dev/control/SRR*_{1,2}.fastq.gz', checkIfExists: true)
process collectme {
publishDir('result/
05
operateur
s
')
publishDir('result/operateur
.collect/
')
input:
path(reads)
...
...
Nextflow/05operateurs/operateur.collect2.nf
View file @
b9cd2942
...
...
@@ -4,7 +4,7 @@ test = Channel.fromPath('./rawdata/dev/control/*.fastq.gz')
process gunzip {
publishDir('result/
05
operateur
s
/')
publishDir('result/operateur
.collect2
/')
input:
val(par)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment