Skip to content

Commit 40634d3

Browse files
committed
rewriting output directories - publishDir, unifying outputs in a commonsense way, adding these to each modules nextflow.config file, NOT tested yet
1 parent 9062504 commit 40634d3

60 files changed

Lines changed: 306 additions & 930 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

conf/test.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
includeConfig "../modules/local/isoquant/isoquant/test_nextflow.config"
1414
includeConfig "../modules/local/gffcompare/gffcompare/nextflow.config"
15+
includeConfig "../modules/local/nanoq/nanoq/nextflow.config"
1516

1617
params {
1718
config_profile_name = 'Test profile'

conf/test_full.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*/
1212

1313
includeConfig "../modules/local/gffcompare/gffcompare/nextflow.config"
14+
includeConfig "../modules/local/nanoq/nanoq/nextflow.config"
1415

1516
params {
1617
config_profile_name = 'Full test profile'
@@ -61,7 +62,7 @@ params {
6162
extra_stringtie_options = null
6263
skip_jaffal = true
6364
skip_jaffal_download = true
64-
jaffal_reference = null
65+
jaffal_reference = "assets/fulltest_data/for_jaffal"
6566
// TRANSCRIPT QUANTIFICATION
6667
skip_transcript_quantification = false
6768
skip_oarfish = false

modules.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,8 @@
2020
"git_sha": "b7ebe95761cd389603f9cc0e0dc384c0f663815a",
2121
"installed_by": ["modules"]
2222
},
23-
"ucsc/bedclip": {
24-
"branch": "master",
25-
"git_sha": "81880787133db07d9b4c1febd152c090eb8325dc",
26-
"installed_by": ["bedgraph_bedclip_bedgraphtobigwig"]
2723
},
28-
"ucsc/bedgraphtobigwig": {
29-
"branch": "master",
30-
"git_sha": "81880787133db07d9b4c1febd152c090eb8325dc",
31-
"installed_by": ["bedgraph_bedclip_bedgraphtobigwig"]
3224
},
33-
"untar": {
34-
"branch": "master",
35-
"git_sha": "05954dab2ff481bcb999f24455da29a5828af08d",
36-
"installed_by": ["modules"]
3725
}
3826
}
3927
},
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
process {
2+
withName: 'ALFRED' {
3+
publishDir = [
4+
path: { "${params.outdir}/mapping_qc/alfred/${meta.id}_${meta.replicate}" },
5+
//mode: params.publish_dir_mode
6+
]
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
process {
2+
withName: 'TRANSPOSE' {
3+
publishDir = [
4+
path: { "${params.outdir}/mapping_qc/alfred/${meta.id}_${meta.replicate}" },
5+
//mode: params.publish_dir_mode
6+
]
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
process {
2+
withName: 'BAMBU' {
3+
publishDir = [
4+
path: { "${params.outdir}/transcript_reconstruction/bambu/${meta.id}_${meta.replicate}" },
5+
//mode: params.publish_dir_mode
6+
]
7+
}
8+
}

modules/local/bedtools/bam_to_bedgraph/main.nf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ process BAM_TO_BEDGRAPH {
55
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
66
'https://depot.galaxyproject.org/singularity/bedtools:2.31.1--hf5e1c6e_2':
77
'biocontainers/bedtools:2.31.1--hf5e1c6e_2' }"
8-
//publishDir "
98

109
input:
1110
tuple val(meta), path(bam)
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
process {
2+
withName: 'BAM_TO_BEDGRAPH' {
3+
publishDir = [
4+
path: { "${params.outdir}/mapping_visualisation/${meta.id}_${meta.replicate}" },
5+
//mode: params.publish_dir_mode
6+
]
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
process {
2+
withName: 'BEDTOOLS_JACCARD' {
3+
publishDir = [
4+
path: { "${params.outdir}/transcriptome_assessment/jaccard/${meta.id}_${meta.replicate}" },
5+
//mode: params.publish_dir_mode
6+
]
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
process {
2+
withName: 'CRAMINO' {
3+
publishDir = [
4+
path: { "${params.outdir}/mapping_qc/cramino/${meta.id}_${meta.replicate}" },
5+
//mode: params.publish_dir_mode
6+
]
7+
}
8+
}

0 commit comments

Comments
 (0)