Getting an array from 1 to number of columns from csv output #3381
Unanswered
zillurbmb51
asked this question in
Q&A
Replies: 1 comment
-
Try: my_out_ch.splitCsv(skip:1) see https://www.nextflow.io/docs/latest/operator.html#splitcsv |
Beta Was this translation helpful? Give feedback.
0 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.
-
One of my process gives output of one csv file. I want to create an array channel from 1 to number of columns. For example:
My output
Assume, test.csv has 11 columns. Now I want to create a channel which gives me:
How could I get this? I have tried with
splitText
operator as below without luck:But it only gives me the columns names. There is a parameter
elem
, I am not sure ifelem
could give me the array and also not sure how to use it. Any help?Beta Was this translation helpful? Give feedback.
All reactions