Skip to content

Commit 75109ef

Browse files
authored
Merge pull request #15 from nextflow-hub/develop
add sub-sections for the params
2 parents e3826e1 + f1084a4 commit 75109ef

File tree

1 file changed

+39
-4
lines changed

1 file changed

+39
-4
lines changed

main.nf

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,53 @@ code documentation
99

1010
/*
1111
#==============================================
12-
params
12+
PARAMS
1313
#==============================================
1414
*/
1515

16+
17+
/*
18+
#----------------------------------------------
19+
flags
20+
#----------------------------------------------
21+
*/
22+
23+
params.FLAG = false
24+
25+
/*
26+
#----------------------------------------------
27+
directories
28+
#----------------------------------------------
29+
*/
30+
1631
params.resultsDir = 'results/FIXME'
17-
params.saveMode = 'copy'
18-
params.filePattern = "./*_{R1,R2}.fastq.gz"
1932

2033

21-
ch_refFILE = Channel.value("$baseDir/refFILE")
34+
/*
35+
#----------------------------------------------
36+
file patterns
37+
#----------------------------------------------
38+
*/
39+
40+
params.refFasta = "NC000962_3.fasta"
41+
params.readsFilePattern = "./*_{R1,R2}.fastq.gz"
42+
43+
/*
44+
#----------------------------------------------
45+
misc
46+
#----------------------------------------------
47+
*/
2248

49+
params.saveMode = 'copy'
50+
51+
/*
52+
#----------------------------------------------
53+
channels
54+
#----------------------------------------------
55+
*/
2356

57+
Channel.value("$workflow.launchDir/$params.refFasta")
58+
.set { ch_refFasta }
2459

2560
Channel.fromFilePairs(params.filePattern)
2661
.set { ch_in_PROCESS }

0 commit comments

Comments
 (0)