forked from seqeralabs/nextflow-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript8.nf
More file actions
executable file
·33 lines (27 loc) · 806 Bytes
/
script8.nf
File metadata and controls
executable file
·33 lines (27 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* Example showing pipeline modularizaion
* Using Nextfloq DSL2
*
* Author: Paolo Di Tommaso
*/
nextflow.preview.dsl=2
/*
* pipeline input parameters
*/
params.reads = "$baseDir/data/ggal/gut_{1,2}.fq"
params.transcript = "$baseDir/data/ggal/transcriptome.fa"
params.multiqc = "$baseDir/multiqc"
params.outdir = "results"
log.info """\
R N A S E Q - N F P I P E L I N E
===================================
transcriptome: ${params.transcript}
reads : ${params.reads}
outdir : ${params.outdir}
"""
.stripIndent()
include { rnaseqFlow } from './rnaseq-flow.nf'
workflow {
read_pairs_ch = Channel .fromFilePairs( params.reads, checkIfExists:true )
rnaseqFlow( params.transcript, read_pairs_ch )
}