check if files in input CSV exists #3444
-
I have a CSV file as input that looks like this:
I use the following channel factory to handle the input:
However, I noticed that if any of the paths to the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, @hkaspersen! You have a typo in your Nextflow code at the second line. It's
The content of
As you can see, I don't have a
I get what you're looking for:
|
Beta Was this translation helpful? Give feedback.
Hello, @hkaspersen! You have a typo in your Nextflow code at the second line. It's
checkIfExists
with an s at the end. Having said that, you can use the same option with thefile
function. I have the following file structure in my machine:The content of
input.csv
is:As you can see, I don't have a
sampleC
file. By running the Nextflow script below (check the option I added to thefile
function),