Closed Robinnibor closed 2 years ago
Hi. Could you attach to this issue the first two lines of your layout file and the complete nextflow.config file please? Ideally, please get those first two lines with head -n 2 rather than copy and paste, because there may be some invisible bytes in a header there that cause problems.
For the first line as written in the issue, do you have those space characters between each column header and the commas? If so, that might be the problem right there.
Thanks.
Thank you @rich7409 rich7409. It works after I deleted the spaces.
That's interesting, because yesterday I tried running it with spaces in the header names for the layout file and _readcsv, the function that reads the file, trimmed the headers automatically. Even when I put quotes around them to make sure the spaces were included. In short, I couldn't make it fail the way you have!
I am getting the following error while running INVAR2. Seems it is not getting my csv format. However I can't figure out which part is broken. Do you have any idea? Thank you!
This is the first line of my layoutfile looks like:
STUDY, SAMPLE_ID, BAM_FILE, CASE_OR_CONTROL, PATIENT, INPUT_INTO_LIBRARY_NG, SAMPLE_NAME, SAMPLE_TYPE, TIMEPOINT
First few lines of my nextflow.config are these: