Replies: 1 comment 2 replies
-
I have done something similar where I used
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to run my pipeline on each line of a .csv file separately. I understand how to pass eachline of a .csv file to a process by splitting the csv file using the .splitCsv operator and then passing this channel to a process. However, I can't figure out how to do the same for a subworkflow. The subworkflow takes in the entire channel at once and I can't figure out how to split into the individual lines. I tried adding a process at the start of my workflow that just emits the items that I want so that I can access them as p1.out[0], etc, but this seems to result in the same issue. The subworkflow "tale" block doesn't seem to have the same tuple splitting functionality as the process "input:" block. Ultimately, what I am hoping to accomplish is the equivalent of using a bash or python for loop to run my pipeline on each sample in a csv file separately. It would be great to be able to have this functionality in nextflow directly though.
Thanks!
Kevin
Beta Was this translation helpful? Give feedback.
All reactions