Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nextflow
read-quality-control
Commits
2d250508
Commit
2d250508
authored
Sep 03, 2018
by
Lukas Jelonek
Browse files
Add multiqc step
parent
e7e81203
Changes
1
Hide whitespace changes
Inline
Side-by-side
main.nf
View file @
2d250508
#!/usr/bin/env nextflow
params.location = 's3://lj-nf-fastq-testdata/data/*.fastq.gz'
Channel.fromPath(params.location).set{ch_fastqs}
params.publish = 's3://lj-nf-fastq-testdata/results/'
Channel.fromPath(params.location).into{ch_fastqs1}
process run_fastqc {
publishDir params.publish
process debug_print_file_name {
echo true
input:
file f from ch_fastqs
file f from ch_fastqs1
output:
file "*.zip" into ch_qc_reports
script:
"""
fastqc $f
"""
}
process run_multiqc {
publishDir params.publish
input:
file f from ch_qc_reports.collect()
output:
file "multiqc*" into ch_multiqc_result
script:
"""
echo
$f
multiqc
$f
"""
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment