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

Incompatible indices error message seems to refer to incorrect version numbers #400

Open
jdreyf opened this issue Sep 25, 2023 · 3 comments

Comments

@jdreyf
Copy link

jdreyf commented Sep 25, 2023

Hi,

I got the following error message from kallisto quant, but kallisto seems to be on version 0.50.0 and it doesn't explain what those versions refer to.

[quant] fragment length distribution will be estimated from the data
Error: incompatible indices. Found version 10, expected version 12
Rerun with index to regenerate

I've also seen others get error message e.g. "Error: incompatible indices. Found version 0, expected version 10" ENCODE-DCC/rna-seq-pipeline#19 and "incompatible indices. Found version 559903, expected version 10" (https://www.reddit.com/r/bioinformatics/comments/14dt9n5/suggestionsquestions_on_rna_seq_analysis_kallisto/) so I think there is an issue with the produced version numbers in this error message.

Thanks for the helpful software!
JD

@Yenaled
Copy link
Collaborator

Yenaled commented Sep 25, 2023

kallisto version 0.50.0 utilizes an updated kallisto index. Therefore, if you made an index using an older version of kallisto, it will not work with kallisto 0.50.0.

As the message suggests, "rerun with index to regenerate" (means you have to run the "kallisto index" command on a reference transcriptome FASTA file to build a new index), as follows (example below uses 8 threads):

kallisto index -i new_index.idx -t 8 reference_transcriptome.fasta

@jdreyf
Copy link
Author

jdreyf commented Sep 25, 2023

Hi @Yenaled,

I agree that "Rerun with index to regenerate" is clear. But what I & others online find unclear is "Found version 10, expected version 12" or "Found version 559903, expected version 10". Presumably this sentence can be improved to avoid some of that confusion.

Thanks for all your work on kallisto,
JD

@Yenaled
Copy link
Collaborator

Yenaled commented Sep 25, 2023

Yeah, don't worry about the version numbers -- it's just for our own internal use (and those numbers are arbitrary and simply to prevent memory corruption when someone uses a wrong index). Though if someone found version 559903, that probably means that their index file was majorly corrupted in some way haha or maybe they accidentally supplied something like a text file, pdf file, image file, etc. rather than an index.

Anyway, feel free to post any further questions about kallisto -- I'm usually super responsive on GitHub :)

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