File tree 2 files changed +24
-12
lines changed
2 files changed +24
-12
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
nextflow. preview. output = true
8
-
9
- /*
10
- * Default pipeline parameters. They can be overriden on the command line eg.
11
- * given `params.reads` specify on the run command line `--reads some_value`.
12
- */
13
-
14
- params. reads = null
15
- params. transcriptome = null
16
- params. outdir = " results"
17
- params. multiqc = " $projectDir /multiqc"
8
+ nextflow. preview. params = true
18
9
19
10
/*
20
11
* import modules
21
12
*/
22
13
include { RNASEQ } from ' ./modules/rnaseq'
23
14
include { MULTIQC } from ' ./modules/multiqc'
24
15
16
+ /*
17
+ * Pipeline parameters can be overridden on the command line,
18
+ * e.g. `--reads myreads.csv --transcriptome myref.fa`.
19
+ */
20
+ params {
21
+ /* *
22
+ * CSV file of FASTQ pairs to analyze.
23
+ */
24
+ reads
25
+
26
+ /* *
27
+ * FASTA file for the reference transcriptome.
28
+ */
29
+ transcriptome
30
+
31
+ /* *
32
+ * Directory containing the configuration for MultiQC.
33
+ */
34
+ multiqc = " $projectDir /multiqc"
35
+ }
36
+
25
37
/*
26
38
* main script flow
27
39
*/
@@ -32,7 +44,7 @@ workflow {
32
44
===================================
33
45
transcriptome: ${ params.transcriptome}
34
46
reads : ${ params.reads}
35
- outdir : ${ params.outdir }
47
+ outdir : ${ workflow.outputDir }
36
48
""" . stripIndent()
37
49
38
50
inputs_ch = channel. fromPath(params. reads)
Original file line number Diff line number Diff line change 13
13
manifest {
14
14
description = ' Proof of concept of a RNA-seq pipeline implemented with Nextflow'
15
15
author = ' Paolo Di Tommaso'
16
- nextflowVersion = ' >=23.10 .0'
16
+ nextflowVersion = ' >=25.04 .0'
17
17
}
18
18
19
19
/*
You can’t perform that action at this time.
0 commit comments