Skip to content
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

The number of labels (['KO14', 'KO-control']) must be equal to the number of fastq files provided. #62

Closed
zhouzhendiao opened this issue Jul 31, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@zhouzhendiao
Copy link

zhouzhendiao commented Jul 31, 2023

Description of the bug

command:

nextflow run /path-to/nf-core-crisprseq-2.0.0/workflow \
    -preview \
    --analysis screening \
    --library library.csv \
    --genome GRCh37 \
    -profile singularity \
    --igenomes_base /path-to/references \
    -offline \
    --outdir . \
    --input samplesheet.csv \
    -resume \
    --max_cpus 16 \
    --max_memory 64.GB \
    --max_time 256.h

samplesheet.csv

sample,fastq_1,fastq_2,condition
KO14,KO14_S1_L003_R1_001.fastq.gz,KO14_S1_L003_R2_001.fastq.gz,KO14
KO-control,KO-control_S6_L005_R1_001.fastq.gz,KO-control_S6_L005_R2_001.fastq.gz,KO-control

Error:

Command error:
  WARNING: Skipping mount /var/lib/singularity/mnt/session/etc/resolv.conf [files]: /etc/resolv.conf doesn't exist in container
  INFO  @ Mon, 31 Jul 2023 18:09:46: Parameters: /usr/local/bin/mageck count -l library.csv -n count_table --sample-label KO14,KO-control --fastq KO14_S1_L003_R1_001.fastq.gz KO14_S1_L003_R2_001.fastq.gz KO-control_S6_L005_R1_001.fastq.gz KO-control_S6_L005_R2_001.fastq.gz
  INFO  @ Mon, 31 Jul 2023 18:09:46: Welcome to MAGeCK v0.5.9. Command: count
  ERROR @ Mon, 31 Jul 2023 18:09:46: The number of labels (['KO14', 'KO-control']) must be equal to the number of fastq files provided.

In megeck count --fastq, replicates seperated by comma, and samples with different condition seperated by space. However, crisprseq pipeline wrongly seperated fastq1 and fastq2 by comma, which fastq2 should be passed to --fastq-2.

image
  --fastq-2 FASTQ_2 [FASTQ_2 ...]
                        Paired sample fastq files (or fastq.gz files), the
                        order of which should be consistent with that in fastq
                        option.

Command used and terminal output

No response

Relevant files

No response

System information

No response

@zhouzhendiao zhouzhendiao added the bug Something isn't working label Jul 31, 2023
@LaurenceKuhl
Copy link
Contributor

Hi @zhouzhendiao,

thanks for adding the bug, working on the solution right now :)
Thanks a lot for taking the time to open these issues, it really is helpful!
Laurence

@zhouzhendiao
Copy link
Author

Hi @LaurenceKuhl

Thanks for your contribution!

@zhouzhendiao
Copy link
Author

Hi @LaurenceKuhl ,

I left fastq2 empty and run everything successfully. Is it not necessary using fastq2 since sgRNA usually way shorter than read1? I tried add fastq2, however mageck failed to estimated trim length of 5' adatpter of read2.

@LaurenceKuhl
Copy link
Contributor

Hi @zhouzhendiao
could you please try rerunning this now with our new version 2.1.0?
Let me know if everything works smoothly :)

@LaurenceKuhl
Copy link
Contributor

Hi, I will close this feel free to reopen if you have any updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants