Skip to content

Question: What does input of "path '*'" do in script6.nf? #230

Answered by mribeirodantas
jgbaum asked this question in Q&A
Discussion options

You must be logged in to vote

The input block has the following format:

input:
<input qualifier> <input name>

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 teh path qualifier, the input name can either be a variable or the name of the file/folder. If the MULTIQC expected a single file named my_input.csv, we'd have:

input:
path 'my_input.csv'

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 the MULTIQC process, which means that every channel element is a list with multiple files/folders, so even a single M…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jgbaum
Comment options

@mribeirodantas
Comment options

@jgbaum
Comment options

@mribeirodantas
Comment options

Answer selected by jgbaum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #229 on March 31, 2023 03:26.