Nicolas Vannieuwkerke
10/07/2024, 1:53 PMJúlia Mir
10/07/2024, 1:54 PM- - my_boolean:
type: boolean
description: bla blahNicolas Vannieuwkerke
10/07/2024, 1:54 PMNicolas Vannieuwkerke
10/07/2024, 1:55 PMinput:
tuple val(meta), path(bams), path(bais), path(bed)
tuple val(meta2), path(fasta)
tuple val(meta3), path(fasta_fai)
val(run_test)
I'm talking about run_test in this caseJúlia Mir
10/07/2024, 1:55 PMNicolas Vannieuwkerke
10/07/2024, 1:56 PMNicolas Vannieuwkerke
10/07/2024, 1:56 PMJúlia Mir
10/07/2024, 1:56 PMNicolas Vannieuwkerke
10/07/2024, 1:56 PMmashehu
10/07/2024, 1:59 PMPhil Ewels
10/07/2024, 2:42 PMPhil Ewels
10/07/2024, 2:42 PMPhil Ewels
10/07/2024, 2:42 PMPhil Ewels
10/07/2024, 2:42 PMPhil Ewels
10/07/2024, 2:42 PMPhil Ewels
10/07/2024, 2:43 PMPhil Ewels
10/07/2024, 2:43 PMPhil Ewels
10/07/2024, 2:44 PMtuple val(run_test) which is different..Nicolas Vannieuwkerke
10/07/2024, 2:50 PMJúlia Mir
10/07/2024, 2:51 PMnf-core modules lint --fix will have to be fixedJúlia Mir
10/07/2024, 2:52 PMPhil Ewels
10/07/2024, 2:58 PMPhil Ewels
10/07/2024, 2:58 PMPhil Ewels
10/07/2024, 3:00 PM- - meta:
type: object
- bams:
type: path
- bais:
type: path
- bed:
type: path
- - meta2:
type: object
- fasta:
type: path
- - meta3:
type: object
- fasta_fai:
type: path
- run_test:
type: booleanJúlia Mir
10/07/2024, 3:01 PMPhil Ewels
10/07/2024, 3:02 PMval(run_test) a tuple with one element? Or is it not a tuple at all? I was thinking the latter..Júlia Mir
10/07/2024, 3:03 PMJúlia Mir
10/07/2024, 3:03 PMtuple val(run_test)Júlia Mir
10/07/2024, 3:04 PM- - meta3:
type: object
- fasta_fai:
type: path
- - run_test:
type: boolean
was always this in my head
tuple val(meta3), path(fasta_fai)
val tun_testNicolas Vannieuwkerke
10/07/2024, 3:09 PMNicolas Vannieuwkerke
10/07/2024, 3:10 PM╭─ [✗] 1 Module Test Failed ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ ╷ ╷ │
│ Module name │ File path │ Test message │
│╶─────────────┼──────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────────╴│
│ vardictjava │ modules/nf-core/vardictjava/meta.yml │ The meta.yml of the module vardictjava is not valid: {'run_test': {'type': 'boolean', 'description': 'Run tests │
│ │ │ using teststrandbias.R or testsomatic.R\nWhen false, the --fisher option will be automatically added to the │
│ │ │ arguments\nhttps://github.com/AstraZeneca-NGS/VarDictJava/issues/300#issuecomment-638085125\n'}} is not of type │
│ │ │ 'array'. Check the entry for input. │
│ ╵ ╵ │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯Phil Ewels
10/07/2024, 3:45 PMPhil Ewels
10/07/2024, 3:46 PMPhil Ewels
10/07/2024, 3:46 PMJúlia Mir
10/07/2024, 4:40 PMJúlia Mir
10/07/2024, 4:41 PMPhil Ewels
10/08/2024, 7:08 AMPhil Ewels
10/08/2024, 7:08 AMJúlia Mir
04/04/2025, 1:28 PMmain.nf
input:
tuple val(meta), path(fasta)
val(run_test)
output:
tuple val(meta), path("*.bam"), emit: bam
path("versions.yml"), emit: versions
Would result in meta.yml
input:
- - meta:
type: map
- fasta:
type: file
- run_test:
type: boolean
output:
- bam:
- - meta:
type: map
- "*.bam":
type: file
- versions:
- "versions.yml":
type: file
correct?Nicolas Vannieuwkerke
04/04/2025, 2:45 PMPhil Ewels
04/04/2025, 7:43 PMoutput block need to be an array or can it be a dict? Is emit always unique? I think so, right? 🤔
Wondering if we can do this:
output:
bam:
- - meta:
type: map
- "*.bam":
type: file
versions:
- "versions.yml":
type: fileJúlia Mir
04/07/2025, 7:07 AM