How to capture arguments from command line argument in workflow #3515
-
Hi! I want to capture value from arguments not options.
I can catch Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
If you want to provide several values to a parameter in Nextflow, you can either wrap them with quotes or concatenate them with a comma. See the examples below:
You can run this Nextflow script in the two ways below to get all values:
Output:
Or
You should also check the
And then create a file named
Now, when we run
|
Beta Was this translation helpful? Give feedback.
-
Thank you, It is what I wanted to know! |
Beta Was this translation helpful? Give feedback.
If you want to provide several values to a parameter in Nextflow, you can either wrap them with quotes or concatenate them with a comma. See the examples below:
example.nf
You can run this Nextflow script in the two ways below to get all values:
Output:
Or