-
Notifications
You must be signed in to change notification settings - Fork 4
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
terminate called after throwing an instance of 'std::runtime_error' what(): BUG: dead end in get_color_set_id #31
Comments
I would like to try to reproduce the crash to debug it. Is the data used in the indexing available? In the meantime, as a quick workaround, constructing the index with the flag |
Thank you jnalanko for a fast answer. I will create the index with -d 1 and see how it goes. Thx:) |
Could you upload it to Dropbox or Google drive and share the link? |
I will share with the Google drive link. [https://drive.google.com/file/d/1o9DkYThgIk3Vynj9ryQXPG3MwpTByayD/view?usp=share_link] Please let me know if it works and I can delete the file from google? |
Downloaded! Thank you. You can delete the file now. One more request: could please you give the command you used to build the index? |
Thank you for all the help:) Best, |
Hi again, terminate called after throwing an instance of 'std::runtime_error' |
That is strange. We're still working on this. Hang tight. |
I think I found the problem! The following sequence in your input contains an empty line at the end, which messes up our FASTA parser:
So, to fix this, please remove ALL empty lines from the input fasta file. For future, I made it so that the parser now detects this situation, and crashes with an error message: 782009d This error message will be included in the next Themisto release, which will be out shortly. |
We could also make it so that empty lines would just be ignored, but for example the FASTA spec at NCBI says that no empty lines are allowed in the format, so maybe it's better to crash with an error message because empty lines could indicate some problem with the data. |
Thank You!!!! I will remove all blank lines, I did not know I have it in the input file at all! Thank you, have a great day |
Let me know if it works. In that case, I will close the issue. |
Hi Dorota, it's been two weeks. Is your issue fixed? |
Hi Themisto developers,
After running themisto build I wanted to use pseudoaligment.
I am getting an error:
terminate called after throwing an instance of 'std::runtime_error'
what(): BUG: dead end in get_color_set_id
The command is:
themisto pseudoalign --query-file /cluster/work/users/.../Repair_4/1/abc_1.repair.fastq.gz --out-file /cluster/work/users/.../mSWEEP/1/abc_R1_Kleb_pseudo_alignment.aln --rc --index-prefix /cluster/work/users/.../mSWEEP/themisto_index/themisto --temp-dir /cluster/work/users/.../mSWEEP/tmp_sweep --n-threads 8 --sort-output-lines --gzip-output
Could you tell me where is the problem coming from?
I am using themisto_linux_v3.2.0.
Best,
Dorota
The text was updated successfully, but these errors were encountered: