Nested scatter #4323
-
Hi everyone, I have two (chr1 and chr2) TSV files, each with 10 lines, and I would like to run 20 processes in parallel, how do I do this? What I have below works for one file, how do I extend it to multiple files?
I have tried the following but it doesn't work
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Nvm, this fixed it:
|
Beta Was this translation helpful? Give feedback.
-
Follow up question: How do I extend this to work for a process that takes tuple Here's a simplified Python version of what I would like to achieve:
Thank you |
Beta Was this translation helpful? Give feedback.
-
Why can't you load your CSV files with |
Beta Was this translation helpful? Give feedback.
Isn't the following what you want?
If you have multiple files, you can always use globbing to get all of them and
map
+groupTuple
to group them by index and do what I did above.