Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nextflow
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LBMC
nextflow
Commits
c6944a8e
Verified
Commit
c6944a8e
authored
3 years ago
by
Laurent Modolo
Browse files
Options
Downloads
Patches
Plain Diff
samtools: update publishDir directives
parent
c75f1dda
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/nf_modules/samtools/main.nf
+28
-22
28 additions, 22 deletions
src/nf_modules/samtools/main.nf
with
28 additions
and
22 deletions
src/nf_modules/samtools/main.nf
+
28
−
22
View file @
c6944a8e
...
@@ -7,8 +7,8 @@ process index_fasta {
...
@@ -7,8 +7,8 @@ process index_fasta {
container = "${container_url}"
container = "${container_url}"
label "big_mem_mono_cpus"
label "big_mem_mono_cpus"
tag "$file_id"
tag "$file_id"
if (params.
mapping
_fast
q
_out != "") {
if (params.
index
_fast
a
_out != "") {
publishDir "results/${params.
mapping
_fast
q
_out}", mode: 'copy'
publishDir "results/${params.
index
_fast
a
_out}", mode: 'copy'
}
}
input:
input:
...
@@ -29,8 +29,8 @@ process filter_bam_quality {
...
@@ -29,8 +29,8 @@ process filter_bam_quality {
container = "${container_url}"
container = "${container_url}"
label "big_mem_multi_cpus"
label "big_mem_multi_cpus"
tag "$file_id"
tag "$file_id"
if (params.
mapping_fastq
_out != "") {
if (params.
filter_bam_quality
_out != "") {
publishDir "results/${params.
mapping_fastq
_out}", mode: 'copy'
publishDir "results/${params.
filter_bam_quality
_out}", mode: 'copy'
}
}
input:
input:
...
@@ -51,8 +51,8 @@ process filter_bam {
...
@@ -51,8 +51,8 @@ process filter_bam {
container = "${container_url}"
container = "${container_url}"
label "big_mem_multi_cpus"
label "big_mem_multi_cpus"
tag "$file_id"
tag "$file_id"
if (params.
mapping_fastq
_out != "") {
if (params.
filter_bam
_out != "") {
publishDir "results/${params.
mapping_fastq
_out}", mode: 'copy'
publishDir "results/${params.
filter_bam
_out}", mode: 'copy'
}
}
input:
input:
...
@@ -74,6 +74,9 @@ process filter_bam_mapped {
...
@@ -74,6 +74,9 @@ process filter_bam_mapped {
container = "${container_url}"
container = "${container_url}"
label "big_mem_multi_cpus"
label "big_mem_multi_cpus"
tag "$file_id"
tag "$file_id"
if (params.filter_bam_mapped_out != "") {
publishDir "results/${params.filter_bam_mapped_out}", mode: 'copy'
}
input:
input:
tuple val(file_id), path(bam)
tuple val(file_id), path(bam)
...
@@ -93,8 +96,8 @@ process filter_bam_unmapped {
...
@@ -93,8 +96,8 @@ process filter_bam_unmapped {
container = "${container_url}"
container = "${container_url}"
label "big_mem_multi_cpus"
label "big_mem_multi_cpus"
tag "$file_id"
tag "$file_id"
if (params.
mapping_fastq
_out != "") {
if (params.
filter_bam_unmapped
_out != "") {
publishDir "results/${params.
mapping_fastq
_out}", mode: 'copy'
publishDir "results/${params.
filter_bam_unmapped
_out}", mode: 'copy'
}
}
input:
input:
...
@@ -114,6 +117,9 @@ process index_bam {
...
@@ -114,6 +117,9 @@ process index_bam {
container = "${container_url}"
container = "${container_url}"
label "big_mem_mono_cpus"
label "big_mem_mono_cpus"
tag "$file_id"
tag "$file_id"
if (params.index_bam_out != "") {
publishDir "results/${params.index_bam_out}", mode: 'copy'
}
input:
input:
tuple val(file_id), path(bam)
tuple val(file_id), path(bam)
...
@@ -134,8 +140,8 @@ process sort_bam {
...
@@ -134,8 +140,8 @@ process sort_bam {
container = "${container_url}"
container = "${container_url}"
label "big_mem_multi_cpus"
label "big_mem_multi_cpus"
tag "$file_id"
tag "$file_id"
if (params.
mapping_fastq
_out != "") {
if (params.
sort_bam
_out != "") {
publishDir "results/${params.
mapping_fastq
_out}", mode: 'copy'
publishDir "results/${params.
sort_bam
_out}", mode: 'copy'
}
}
input:
input:
...
@@ -156,8 +162,8 @@ process split_bam {
...
@@ -156,8 +162,8 @@ process split_bam {
container = "${container_url}"
container = "${container_url}"
label "big_mem_multi_cpus"
label "big_mem_multi_cpus"
tag "$file_id"
tag "$file_id"
if (params.
mapping_fastq
_out != "") {
if (params.
split_bam
_out != "") {
publishDir "results/${params.
mapping_fastq
_out}", mode: 'copy'
publishDir "results/${params.
split_bam
_out}", mode: 'copy'
}
}
input:
input:
...
@@ -181,8 +187,8 @@ process merge_bam {
...
@@ -181,8 +187,8 @@ process merge_bam {
container = "${container_url}"
container = "${container_url}"
label "big_mem_multi_cpus"
label "big_mem_multi_cpus"
tag "$file_id"
tag "$file_id"
if (params.m
apping_fastq
_out != "") {
if (params.m
erge_bam
_out != "") {
publish
d
ir "results/${params.m
apping_fastq
_out}", mode: 'copy'
publish
D
ir "results/${params.m
erge_bam
_out}", mode: 'copy'
}
}
input:
input:
...
@@ -204,8 +210,8 @@ process merge_multi_bam {
...
@@ -204,8 +210,8 @@ process merge_multi_bam {
container = "${container_url}"
container = "${container_url}"
label "big_mem_multi_cpus"
label "big_mem_multi_cpus"
tag "$file_id"
tag "$file_id"
if (params.m
apping_fastq
_out != "") {
if (params.m
erge_multi_bam
_out != "") {
publish
d
ir "results/${params.m
apping_fastq
_out}", mode: 'copy'
publish
D
ir "results/${params.m
erge_multi_bam
_out}", mode: 'copy'
}
}
input:
input:
...
@@ -228,8 +234,8 @@ process stats_bam {
...
@@ -228,8 +234,8 @@ process stats_bam {
container = "${container_url}"
container = "${container_url}"
label "big_mem_multi_cpus"
label "big_mem_multi_cpus"
tag "$file_id"
tag "$file_id"
if (params.
mapping_fastq
_out != "") {
if (params.
stats_bam
_out != "") {
publish
d
ir "results/${params.
mapping_fastq
_out}", mode: 'copy'
publish
D
ir "results/${params.
stats_bam
_out}", mode: 'copy'
}
}
input:
input:
...
@@ -247,8 +253,8 @@ params.flagstat_2_multiqc = ""
...
@@ -247,8 +253,8 @@ params.flagstat_2_multiqc = ""
params.flagstat_2_multiqc_out = ""
params.flagstat_2_multiqc_out = ""
process flagstat_2_multiqc {
process flagstat_2_multiqc {
tag "$file_id"
tag "$file_id"
if (params.
mapping_fastq
_out != "") {
if (params.
flagstat_2_multiqc
_out != "") {
publish
d
ir "results/${params.
mapping_fastq
_out}", mode: 'copy'
publish
D
ir "results/${params.
flagstat_2_multiqc
_out}", mode: 'copy'
}
}
input:
input:
...
@@ -265,8 +271,8 @@ params.idxstat_2_multiqc = ""
...
@@ -265,8 +271,8 @@ params.idxstat_2_multiqc = ""
params.idxstat_2_multiqc_out = ""
params.idxstat_2_multiqc_out = ""
process idxstat_2_multiqc {
process idxstat_2_multiqc {
tag "$file_id"
tag "$file_id"
if (params.
mapping_fastq
_out != "") {
if (params.
idxstat_2_multiqc
_out != "") {
publish
d
ir "results/${params.
mapping_fastq
_out}", mode: 'copy'
publish
D
ir "results/${params.
idxstat_2_multiqc
_out}", mode: 'copy'
}
}
input:
input:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment