Skip to content

Commit 648722f

Browse files
committed
idk what happened
2 parents d9a084e + a3a2655 commit 648722f

7 files changed

Lines changed: 190 additions & 159 deletions

File tree

conf/modules.config

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,31 +42,35 @@ process {
4242
}
4343

4444
withName: '.*:CRAMINO_PRE' {
45+
ext.prefix = { "${meta.id}_${meta.type}" }
4546
ext.args = '--ubam'
4647
publishDir = [
4748
path: { "${params.outdir}/${meta.id}/qc/${meta.type}/cramino_ubam_${meta.replicate}/" },
4849
mode: params.publish_dir_mode,
49-
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
50+
saveAs: { filename -> filename.equals('versions.yml') || filename.endsWith('.arrow') ? null : filename }
5051
]
5152
}
5253

5354
withName: '.*:CRAMINO_POST' {
55+
ext.prefix = { "${meta.id}_${meta.type}" }
5456
publishDir = [
5557
path: { "${params.outdir}/${meta.id}/qc/${meta.type}/cramino_aln" },
5658
mode: params.publish_dir_mode,
57-
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
59+
saveAs: { filename -> filename.equals('versions.yml') || filename.endsWith('.arrow') ? null : filename }
5860
]
5961
}
6062

6163
withName: '.*:NANOPLOT_PRE' {
64+
ext.prefix = { "${meta.id}_${meta.type}_ubam" }
6265
publishDir = [
63-
path: { "${params.outdir}/${meta.id}/qc/${meta.type}/nanoplot_ubam_${meta.replicate}/" },
66+
path: { "${params.outdir}/${meta.id}/qc/${meta.type}/nanoplot_ubam_${meta.replicate}" },
6467
mode: params.publish_dir_mode,
6568
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
6669
]
6770
}
6871

6972
withName: '.*:NANOPLOT_POST' {
73+
ext.prefix = { "${meta.id}_${meta.type}_aln" }
7074
publishDir = [
7175
path: { "${params.outdir}/${meta.id}/qc/${meta.type}/nanoplot_aln" },
7276
mode: params.publish_dir_mode,

modules/nf-core/nanoplot/main.nf

Lines changed: 19 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nextflow.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ params {
3232
// Skip options
3333
skip_qc = false
3434
skip_cramino = false
35+
skip_nanoplot = false
3536
skip_mosdepth = false
3637
skip_bamstats = false
3738
skip_ascat = false

nextflow_schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@
210210
"skip_m6a": {
211211
"type": "boolean",
212212
"description": "Skip m6a calling by Fibertools"
213+
},
214+
"skip_nanoplot": {
215+
"type": "boolean",
216+
"description": "Skip Nanoplot"
213217
}
214218
}
215219
},

tests/.nftignore

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,11 @@ pipeline_info/*.{html,json,txt,yml}
1717
*/variants/severus/read_ids.csv
1818
*/variants/severus/severus.log
1919
*/variants/severus/{all_SVs,somatic_SVs}/*.{vcf.gz,vcf.gz.tbi}
20-
*/qc/{tumor,normal}/{cramino_aln}/*_cramino.txt
21-
*/qc/{tumor,normal}/{cramino_ubam}_*/*_cramino.txt
22-
*/qc/{tumor,normal}/{nanoplot_ubam}_*/*.html
23-
*/qc/{tumor,normal}/{nanoplot_aln}/*.html
24-
*/qc/{tumor,normal}/{nanoplot_ubam}_*/*.txt
25-
*/qc/{tumor,normal}/{nanoplot_aln}/*.txt
26-
*/qc/{tumor,normal}/{mosdepth}/*.txt
20+
*/variants/phased/*.{vcf.gz,vcf.gz.tbi}
21+
*/qc/{tumor,normal}/cramino_ubam_*/*_cramino.txt
22+
*/qc/{tumor,normal}/cramino_aln/*_cramino.txt
23+
*/qc/{tumor,normal}/nanoplot_ubam_*/*.html
24+
*/qc/{tumor,normal}/nanoplot_aln/*.html
25+
*/qc/{tumor,normal}/nanoplot_ubam_*/*.txt
26+
*/qc/{tumor,normal}/nanoplot_aln/*.txt
27+
*/qc/{tumor,normal}/mosdepth/*.txt

0 commit comments

Comments
 (0)