Skip to content
Discussion options

You must be logged in to vote

I think what you want is something like this:

params.input="https://url/to/csv_file.csv"

fasta_channel = Channel
    .fromPath(params.input)
    .splitCsv(header:true, sep:",")
    .map { file(it.path) }

or if you want to keep the IDs

...
   .map { [it.id, file(it.path)] }

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@hkaspersen
Comment options

Comment options

You must be logged in to vote
2 replies
@hkaspersen
Comment options

@jorgeaguileraseqera
Comment options

Comment options

You must be logged in to vote
1 reply
@hkaspersen
Comment options

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