Question: What does input of "path '*'" do in script6.nf? #230
-
I've been working through the tutorials here that make use of this repo and I've followed along to this point, but am trying to wrap my head around how the following line in the multiqc process is working: https://github.com/nextflow-io/training/blob/master/nf-training/script6.nf#L72 If you could help to explain and/or point me to documentation, that would be much appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The input block has the following format:
The input qualifier specifies what type of input this process expects. The
But if you follow the workflow scope of the script6.nf, you'll see we use the |
Beta Was this translation helpful? Give feedback.
The input block has the following format:
The input qualifier specifies what type of input this process expects. The
path
qualifier says it's either a single file, multiple files, single folder or multiple folders. For tehpath
qualifier, the input name can either be a variable or the name of the file/folder. If theMULTIQC
expected a single file namedmy_input.csv
, we'd have:But if you follow the workflow scope of the script6.nf, you'll see we use the
collect
channel operator before providing the input to theMULTIQC
process, which means that every channel element is a list with multiple files/folders, so even a singleM…