We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16bf0bc commit 4aa51feCopy full SHA for 4aa51fe
subworkflows/local/prepare_genome.nf
@@ -81,9 +81,9 @@ workflow PREPARE_GENOME {
81
82
//
83
// Detect gff file name stripped of extension and .gz
84
- //
+ //
85
extension = (gff - '.gz').tokenize('.')[-1]
86
- id = gff.toString() - '.gz' - ".${extension}"
+ id = file(gff).baseName.toString() - '.gz' - ".${extension}"
87
88
ch_gtf = GFFREAD(ch_gff.map { [[id: id], it] }, []).gtf.map { it[1] }
89
0 commit comments