We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b7532d commit 1acd2deCopy full SHA for 1acd2de
main.nf
@@ -1,14 +1,29 @@
1
#!/usr/bin/env nextflow
2
3
4
+
5
+/*
6
+################
7
+params
8
9
+*/
10
+//NOTE: default parameter
11
+params.trimmed=true
12
13
14
/*
15
################
16
NEXTFLOW Global Config
17
18
*/
19
20
-inputRawFilePattern = "./*_{R1,R2}.p.fastq.gz"
21
+inputUntrimmedRawFilePattern = "./*_{R1,R2}.fastq.gz"
22
23
+//NOTE: This pipeline is starts with `trimmed` because of the `p` in the file pattern.
24
+inputTrimmedRawFilePattern = "./*_{R1,R2}.p.fastq.gz"
25
26
+inputRawFilePattern = params.trimmed ? inputTrimmedRawFilePattern : inputUntrimmedRawFilePattern
27
28
Channel.fromFilePairs(inputRawFilePattern, flat: true)
29
.into { ch_in_gzip }
0 commit comments