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

An error occurred while creating the database #47

Open
green34567 opened this issue Dec 6, 2023 · 5 comments
Open

An error occurred while creating the database #47

green34567 opened this issue Dec 6, 2023 · 5 comments

Comments

@green34567
Copy link

hello,
When I was using args_oap/3.2.4 to create a database, I was prompted to enter the file in an incorrect format.
image
But I was able to run the same command on another server with the same software version and input file, so I don't know what went wrong.
image
Input file for the former:
image
The input file for the latter:
image
I checked the size of the two input files, the number of bytes is exactly the same, I am copying directly, there should not be any difference.
Looking forward to your reply

@xinehc
Copy link
Owner

xinehc commented Dec 6, 2023

hi,

it is likely that diamond is not properly install in this environment, can you try

diamond makedb

and see what happens?

otherwise, you may check the md5 of the two input files using

md5 your_db.fasta

@green34567
Copy link
Author

Thank you very much for your prompt response.
I checked the MD5 of the file and it was not modified.
1701869899846
Then I installed diamond, but the same problem occurred
fa7eec3d8f0bbb6a5fb933613fef594

hi,

it is likely that diamond is not properly install in this environment, can you try

diamond makedb

and see what happens?

otherwise, you may check the md5 of the two input files using

md5 your_db.fasta

@xinehc
Copy link
Owner

xinehc commented Dec 6, 2023

you may not have the write permission to the folder, try:

chmod +rwx your_db_folder

if this is not the case, can you check whether diamond makedb works?

diamond makedb --in your_db_file --db test

@green34567
Copy link
Author

you may not have the write permission to the folder, try:

chmod +rwx your_db_folder

if this is not the case, can you check whether diamond makedb works?

diamond makedb --in your_db_file --db test

None of this will work.
image

image

@xinehc
Copy link
Owner

xinehc commented Dec 6, 2023

that's weird, I didn't manage to reproduce the issue.

Did you install args_oap via bioconda? Can you check whether blast has been installed in your environment? More specifically:

blastx -version
makeblastdb -in PDGs_DB.fasta -dbtype prot -out test

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