Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@ workflow ORFTABLE_FASTA_GTF_BUILDORFCATALOGUE {

// 1. Normalise each caller's output. The same module is invoked once per
// input emission; dispatch happens inside the template based on the
// `caller` val. Append the caller to meta.id so the normaliser's
// default `${meta.id}` prefix yields caller-disambiguated filenames
// `caller` val. Stash it in `meta.caller` too so this subworkflow's own
// `ext.prefix` config can disambiguate output filenames per caller
// (the merger stages multiple BED12s into `beds/*` and needs unique
// names per caller-sample combination).
// names per caller-sample combination) while meta.id keeps carrying
// the true sample id through to CUSTOM_ORFNORMALISE's sample_id column.
ch_normalise_in = ch_orf_tables.map { meta, table, caller ->
[ meta + [ id: "${meta.id}.${caller}" ], table, caller ]
[ meta + [ caller: caller ], table, caller ]
Comment thread
pinin4fjords marked this conversation as resolved.
Outdated
}
CUSTOM_ORFNORMALISE ( ch_normalise_in, ch_gtf.first() )

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
process {
withName: '.*ORFTABLE_FASTA_GTF_BUILDORFCATALOGUE:CUSTOM_ORFNORMALISE' {
ext.prefix = { "${meta.id}.${meta.caller}.normalised" }
}
withName: '.*ORFTABLE_FASTA_GTF_BUILDORFCATALOGUE:BEDTOOLS_GETFASTA' {
ext.prefix = { "${meta.id}.catalogue.nt" }
ext.args = '-split -s -nameOnly'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{
"id": "cohort"
},
"cohort.catalogue.tsv:md5,84c090458a1a96c1ba599e8ae73622e3"
"cohort.catalogue.tsv:md5,991031c264cbd81aaf4df0a18dd11ddd"
]
],
"2": [
Expand Down Expand Up @@ -55,7 +55,7 @@
{
"id": "cohort"
},
"cohort.catalogue.consensus.tsv:md5,84c090458a1a96c1ba599e8ae73622e3"
"cohort.catalogue.consensus.tsv:md5,991031c264cbd81aaf4df0a18dd11ddd"
]
],
"7": [
Expand Down Expand Up @@ -87,7 +87,7 @@
{
"id": "cohort"
},
"cohort.catalogue.tsv:md5,84c090458a1a96c1ba599e8ae73622e3"
"cohort.catalogue.tsv:md5,991031c264cbd81aaf4df0a18dd11ddd"
]
],
"consensus_bed12": [
Expand All @@ -111,7 +111,7 @@
{
"id": "cohort"
},
"cohort.catalogue.consensus.tsv:md5,84c090458a1a96c1ba599e8ae73622e3"
"cohort.catalogue.consensus.tsv:md5,991031c264cbd81aaf4df0a18dd11ddd"
]
],
"multiqc": [
Expand All @@ -132,11 +132,11 @@
]
}
],
"timestamp": "2026-09-06T21:45:07.866746663",
"meta": {
"nf-test": "0.9.3",
"nextflow": "25.04.8"
},
"timestamp": "2026-06-26T13:34:49.442717716"
"nf-test": "0.9.5",
"nextflow": "26.04.6"
}
},
"homo_sapiens [chr20] - ribotish + ribocode - collapse disabled": {
"content": [
Expand All @@ -154,7 +154,7 @@
{
"id": "cohort"
},
"cohort.catalogue.tsv:md5,84c090458a1a96c1ba599e8ae73622e3"
"cohort.catalogue.tsv:md5,991031c264cbd81aaf4df0a18dd11ddd"
]
],
"2": [
Expand Down Expand Up @@ -194,7 +194,7 @@
{
"id": "cohort"
},
"cohort.catalogue.consensus.tsv:md5,84c090458a1a96c1ba599e8ae73622e3"
"cohort.catalogue.consensus.tsv:md5,991031c264cbd81aaf4df0a18dd11ddd"
]
],
"7": [
Expand Down Expand Up @@ -226,7 +226,7 @@
{
"id": "cohort"
},
"cohort.catalogue.tsv:md5,84c090458a1a96c1ba599e8ae73622e3"
"cohort.catalogue.tsv:md5,991031c264cbd81aaf4df0a18dd11ddd"
]
],
"consensus_bed12": [
Expand All @@ -250,7 +250,7 @@
{
"id": "cohort"
},
"cohort.catalogue.consensus.tsv:md5,84c090458a1a96c1ba599e8ae73622e3"
"cohort.catalogue.consensus.tsv:md5,991031c264cbd81aaf4df0a18dd11ddd"
]
],
"multiqc": [
Expand All @@ -271,10 +271,10 @@
]
}
],
"timestamp": "2026-09-06T21:45:15.573125652",
"meta": {
"nf-test": "0.9.3",
"nextflow": "25.04.8"
},
"timestamp": "2026-06-26T13:34:56.775003133"
"nf-test": "0.9.5",
"nextflow": "26.04.6"
}
}
}