-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Samplesheet info discrepancy #224
Comments
Yeah I think we can simply update the python tool to ignore cases where there is no fastq2 header present - I'll do this 👍 |
Dear Nextflow smrnaseq team, Is this solved in the stable conda version of nextflow? I did try to use it with only 3 columns, placing nothing in the 3rd column like this: sample,fastq_1,fastq_2 But ,I received the following errors: check_samplesheet.py cat <<-END_VERSIONS > versions.yml Command exit status: Command output: Command error: Work dir: Tip: view the complete command output by changing to the process work dir and entering the command -- Check '.nextflow.log' file for details Edit2: I also tried the following structure for the CSV file: and received the following error: Command output: Command error: Thanks in advance, |
This is fixed in |
I'm using Suggesting checking for that and giving an informative error. Currently, the message is very misleading. For the 3-sample sheet (with an empty line), the code gives:
Everything is wrong here - the header has 2 columns, the number of rows, not columns, is 3. Here's the sample sheet, samplesheet_test.csv, and to reproduce: I'm not as familiar with Python to make a PR, even with the help of ChatGPT. Reporting here, it should be a simple but very valuable fix. |
THanks @mdozmorov - I have added this to the open PR for 2.2.4 now. #281, see here: 21b10e9 |
Description of the bug
There is a discrepancy in the information regarding the format for the design samplesheet.
The documentation states "there is a strict requirement for the first 3 columns to match those defined in the table below", yet the table shown is an example of a 2 column csv file with "sample,fastq_1" headers. The pipeline currently throws an error with this column file.
he documentation should be fixed to avoid confusion since a the pipeline will only work with a 3 column csv file with "sample,fastq_1,fastq_2" as headers, even though the pipeline only accepts single-end fastq files.
Command used and terminal output
No response
Relevant files
No response
System information
No response
The text was updated successfully, but these errors were encountered: