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

No PROTS_FIRST_ROUND.csv #6

Open
tthye1 opened this issue Jun 4, 2019 · 4 comments
Open

No PROTS_FIRST_ROUND.csv #6

tthye1 opened this issue Jun 4, 2019 · 4 comments

Comments

@tthye1
Copy link

tthye1 commented Jun 4, 2019

Hello,

When running the docker version of the viga script I got the following errror message.
Running DIAMOND to predict the protein function according to homology inference using default parameters
Traceback (most recent call last):
File "/program/VIGA.py", line 713, in
with open("PROTS_FIRST_ROUND.csv", "rU") as diamondresults:
IOError: [Errno 2] No such file or directory: 'PROTS_FIRST_ROUND.csv'

Somehow diamond does not create the .csv file.
What went wrong?
Best,

Thorsten

@EGTortuero
Copy link
Owner

Hi Thorsten,

First of all, thank you for using VIGA to annotate viral sequences. I did not check yet the docker version but, according to the source code, in principle there would not be problems as PROTS_FIRST_ROUND.csv should be created after running diamond (or creating as an empty file in case there were no proteins at all). I have a simple question in order to detect the real matter:

  1. Did you try to run diamond out of VIGA with the following command:
    diamond blastp -q PROTS_FIRST_ROUND.faa -d <reference_database> -e 0.00001 -f 6 -o PROTS_FIRST_ROUND.csv -p <number_cpus>?
    If yes, may I kindly ask for the output of the program? That could help to improve the pipeline

Thanks in advance,

Enrique

@tthye1
Copy link
Author

tthye1 commented Jun 4, 2019 via email

@EGTortuero
Copy link
Owner

Thanks for your input.

That is very odd. In principle I would expect to see such behaviour if Diamond did not create the file at all regardless the docker. I will try to replicate your error in the docker version and I hope to bring a solution for this issue asap.

Best,

Enrique

@FTouzain
Copy link

Update 2022, error message is:
Running DIAMOND to predict the protein function according to homology inference using default parameters
Error: Database was built with a different version of Diamond and is incompatible.
Traceback (most recent call last):
File "/program/VIGA.py", line 713, in
with open("PROTS_FIRST_ROUND.csv", "rU") as diamondresults:
IOError: [Errno 2] No such file or directory: 'PROTS_FIRST_ROUND.csv'

Which Diamond version do you use in docker please? (because we need to install Diamond to create databases, but indexes created by last version are incompatibles with the one you use).

Thank you.
Best regards.

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

3 participants