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

[E::idx_find_and_load] Could not retrieve index file #59

Open
Xuelei-Dai opened this issue Jan 13, 2021 · 7 comments
Open

[E::idx_find_and_load] Could not retrieve index file #59

Xuelei-Dai opened this issue Jan 13, 2021 · 7 comments

Comments

@Xuelei-Dai
Copy link

Hello,
I used the test-data to run the multigrmpy.py

the command:

multigrmpy.py \
                          -i ./candidates.vcf \
                          -m ./samples.txt \
                          -r ./dummy.fa \
                          -o test

The error:

[E::idx_find_and_load] Could not retrieve index file for 'test/variants.vcf.gz'

finally, I can get the result file genotypes.vcf.gz, does the error have any effect, or how to solve it?

Best wishes~

@jebrosen
Copy link

I encountered the same issue, both with the precompiled binaries for 2.4a and built from source. The produced variants.vcf.gz file is also missing the last several columns of the reference output.

@quanc1989
Copy link

Same issue for 2.4a, any suggestions?

@cassisnaro
Copy link

I have also the same error, is there a workaround?

@cassisnaro
Copy link

Is it possible that this bug appears only if executing in a folder where there was already a prior execution of the tool? I am testing this right now, will have the result in some hours, but from the looks of line [https://github.com/Illumina/paragraph/blob/e805e261336117a0c6901cdb3d61fd9d7d464611/src/python/bin/multigrmpy.py#L339], if the problematic file is present, it seems to take precedence over the input one, maybe explaining why I did not encounter the error before.

@ColyFu
Copy link

ColyFu commented Aug 8, 2021

I also encountered the same bug. -_-

@ivargr
Copy link

ivargr commented Mar 9, 2022

I also encountered the same problem, both when using the test data and when using other data. I think adding this after line 58 in multigrmpy.py should fix the problem:

 pysam.tabix_index(vcf_with_event_ids_path, preset="vcf", force=True)

@janawold1
Copy link

@ivargr This solution fixed it for me! Many thanks!

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

7 participants