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

instructions for indexing database files? #1

Open
kapsakcj opened this issue Aug 1, 2023 · 2 comments
Open

instructions for indexing database files? #1

kapsakcj opened this issue Aug 1, 2023 · 2 comments

Comments

@kapsakcj
Copy link

kapsakcj commented Aug 1, 2023

Hi, I was hoping to test out ShigaPass and when I went to run the script, it threw an error that no index files were found.

### ipaH checkpoint ###
BLAST Database error: No alias or index file found for nucleotide database [SCRIPT/ShigaPass_DataBases//IPAH/ipaH_150-mers.fasta] in search path [/home/curtis_kapsak/github/ShigaPass::]

Could you provide instructions on how to index the databases? I assume I can use the makeblastdb command, but wasn't sure what options should be used, if any.

It would be helpful to have these instructions on the main README.md.

Thank you

@kapsakcj
Copy link
Author

kapsakcj commented Aug 2, 2023

I ended up running makeblastdb -dbtype nucl <fasta> on all the fasta files included w/ ShigaPass, and ShigaPass ran successfully afterwards

@kapsakcj
Copy link
Author

kapsakcj commented Aug 2, 2023

Apologies, I did not see the command line option -u for indexing the databases, though it seems that I got the command correct:

for database in ${DBPATHWAY}/*/*.fasta; do makeblastdb -dbtype nucl -in ${database}; done

Maybe it would be worth highlighting on the README.md here, so that users like myself do not miss it! https://github.com/imanyass/ShigaPass#installation

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

1 participant