add nextflow d30e48d

This commit is contained in:
2026-04-29 23:01:54 +02:00
parent d0b12d668d
commit 97cc9058d3
2840 changed files with 730250 additions and 0 deletions

50
nextflow/tests/records.nf Normal file
View File

@@ -0,0 +1,50 @@
#!/usr/bin/env nextflow
nextflow.enable.types = true
process TOUCH {
input:
id: String
output:
record(
id: id,
fastq_1: file('*_1.fastq'),
fastq_2: file('*_2.fastq')
)
script:
"""
touch ${id}_1.fastq
touch ${id}_2.fastq
"""
}
process FASTQC {
input:
record(
id: String,
fastq_1: Path,
fastq_2: Path
)
output:
record(
id: id,
html: file('*.html'),
zip: file('*.zip')
)
script:
"""
touch ${id}.html
touch ${id}.zip
"""
}
workflow {
ch_samples = TOUCH( channel.of('a', 'b', 'c') )
ch_fastqc = FASTQC(ch_samples)
ch_fastqc.view()
}