Francesco Tabaro
11/20/2024, 10:44 AMprefix variable is empty if task.ext.prefix is defined? What's the point of having null.gtf as output?
https://github.com/nf-core/modules/blob/ba85edc3a62136980a647338558c402f67487430/modules/nf-core/gffread/main.nf#L25Matthias De Smet
11/20/2024, 10:45 AMtask.ext.prefix if it exists, else it’s ${meta.id}Matthias De Smet
11/20/2024, 10:46 AMprefix is never nullMatthias De Smet
11/20/2024, 10:46 AMMatthias De Smet
11/20/2024, 10:46 AMFrancesco Tabaro
11/20/2024, 11:11 AMprepare_genome subworkflow: `modules.config` does not set `ext.prefix` for GFFREAD and, in `prepare_genome.ng`, the input channel does not define `meta.id` . This results in the output file name to be null.gtf . Which may be fine. Is the simple fix to explicit ext.prefix in modules.config to something fixed (e.g. genes), or should I implement some logic to get the actual name from the input gff?
• https://github.com/nf-core/chipseq/blob/76e2382b6d443db4dc2396e6831d1243256d80b0/conf/modules.config#L71
• https://github.com/nf-core/chipseq/blob/76e2382b6d443db4dc2396e6831d1243256d80b0/subworkflows/local/prepare_genome.nf#L75Matthias De Smet
11/20/2024, 11:12 AMmeta.id from the gff fileMatthias De Smet
11/20/2024, 11:13 AMFrancesco Tabaro
11/20/2024, 11:13 AMMatthias De Smet
11/20/2024, 11:14 AMMaxime Garcia
12/05/2024, 3:55 PMFrancesco Tabaro
12/05/2024, 4:40 PMMaxime Garcia
12/05/2024, 4:43 PMFrancesco Tabaro
12/05/2024, 4:51 PM