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

Index is not valid, missing files error #39

Closed
belarus1941 opened this issue Apr 2, 2024 · 2 comments
Closed

Index is not valid, missing files error #39

belarus1941 opened this issue Apr 2, 2024 · 2 comments

Comments

@belarus1941
Copy link

belarus1941 commented Apr 2, 2024

Dear Developers, I am trying to use and run your software, however nothing helps to fix the errors, which appear:

#!/bin/bash 

sudo docker run --rm=True -v $PWD:/home/mat29/indata/ -u $(id -u):$(id -g) staphb/drprg drprg index --download  -o/home/mat29/indata/   

sudo docker run --rm=True -v $PWD:/home/mat29/indata/ -u $(id -u):$(id -g) staphb/drprg drprg predict -x/home/mat29/indata/mtb -i/home/mat29/indata/reads.fastq  --illumina -o/home/mat29/indata/ 

System shows:

#[2024-03-27T17:25:47Z INFO ] mtb index version 20230308 already downloaded. Skipping...
#[2024-03-27T17:25:47Z INFO ] Done!
#Error: Index is not valid due to missing file "/home/mat29/indata/mtb/dr.prg.kX.wY.idx"

If I create the new file dr.prg.kX.wY.idx, system throws the other similar error that there is another file missing. And it never ends
I need to run your software on the M. Tuberculosis FASTQ Illumina genomic files.

Please advise what Shell code to run and what to change, how to fix the problem?
Thank you.

Dr. Matvey

@mbhall88
Copy link
Owner

mbhall88 commented Apr 2, 2024

When you specify a different path to download the index to, you need to use the explicit path to the index you want when predicting. So your predict command should be

sudo docker run --rm=True -v $PWD:/home/mat29/indata/ -u $(id -u):$(id -g) staphb/drprg drprg predict -x/home/mat29/indata/mtb/mtb-20230308 -i/home/mat29/indata/reads.fastq  --illumina -o/home/mat29/indata/

@belarus1941
Copy link
Author

thank you, it works...

@mbhall88 mbhall88 closed this as completed Apr 3, 2024
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