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

Inquiry about error message #20

Open
simonwisnovsky opened this issue Oct 27, 2023 · 5 comments
Open

Inquiry about error message #20

simonwisnovsky opened this issue Oct 27, 2023 · 5 comments

Comments

@simonwisnovsky
Copy link

simonwisnovsky commented Oct 27, 2023

My lab has recently switched from Mageck to guide-counter for generating count tables, we find it a faster and more accurate alternative. We've processed a number of screens without problems. However, I've recently been trying to re-process some older data and keep getting this error message that we have not seen before, see command below:

(base) guide-counter count --input Sig9_C_R1_RC.fastq --library CRISPRilib-20-Top5.txt --output Sig9_C1_R1
[2023-10-27T18:36:57Z INFO guide_counter::guide] Loaded library with 103072 guides for 18787 genes; 0=essential, 0=nonessential, 0=control, 103072=other.
[2023-10-27T18:36:57Z INFO guide_counter::commands::count] Building lookup.
[2023-10-27T18:36:58Z INFO guide_counter::commands::count] Lookup built with 6285562 entries.
thread 'main' panicked at 'range end index 20 out of range for slice of length 19', src/commands/count.rs:258:38
note: run with RUST_BACKTRACE=1 environment variable to display a backtrac

Any ideas as to what is going wrong here? The only difference between these fastq files and ones we have previously used successfully is that the read length is slightly shorter (21 bp vs. 25 bp). Otherwise conditions are exactly the same.

Thanks in advance!

@tfenne
Copy link
Member

tfenne commented Oct 30, 2023

Thanks for the report @simonwisnovsky - I took a brief look at the code and it's not entirely obvious to me why this is occurring.

Would you be able to share some of your input data with me to help me diagnose? I suspect that the library file and the first few hundred lines of the input FASTQ would be sufficient (if that reproduces the error). I can provide contact info if you don't want to share them publicly but can share privately.

Also, can you please confirm you're using v1.0.3?

@simonwisnovsky
Copy link
Author

simonwisnovsky commented Oct 30, 2023 via email

@tfenne
Copy link
Member

tfenne commented Oct 31, 2023

Thanks @simonwisnovsky - I was able to replicate the error with version 0.1.2 but not 0.1.3. Could you please try 0.1.3? Thanks!

@simonwisnovsky
Copy link
Author

simonwisnovsky commented Oct 31, 2023 via email

@tfenne
Copy link
Member

tfenne commented Oct 31, 2023

Yes - version 0.1.3 is on bioconda (see https://anaconda.org/bioconda/guide-counter). I'm not an expert on conda update, but I think if you run conda install -c bioconda guide-counter=0.1.3 directly it should force the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants