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

Yaml file not found #32

Open
erichy91 opened this issue Nov 26, 2022 · 3 comments
Open

Yaml file not found #32

erichy91 opened this issue Nov 26, 2022 · 3 comments

Comments

@erichy91
Copy link

Hello,

I first ran docker-entrypoint.sh and now I try to run vpf-tools, and I get the following error message :

stack exec -- vpf-class --data-index ../index.yaml -i vMAGs_unique_mod2.fna -o test-classified
error loading data file index:
YAML exception:
Yaml file not found: ../index.yaml

I tried to move the index.yaml and run the command from other directories, but the program still can't recognize the index.yaml.

Thanks for your help.

@bielr
Copy link
Collaborator

bielr commented Nov 29, 2022

Hi,

Which instructions are you following? There are none that I know that require you to run docker-entrypoint.sh.

In addition, if you are using the Docker image there's no need to specify --data-index. If not, it looks like you specified the wrong path to index.yaml.

@erichy91
Copy link
Author

Hi,

I ran docker-entrypoint.sh to download the index.yaml file, the vpf_classification folder and the uvigs_scores folder.

I am not using the Docker image, I have installed stack and compiled vpf-tools. I have tried both giving the full path (/path/to/index.yaml) or from the folder I run the command in (../index.yaml) and I always get the same error message.

@bielr
Copy link
Collaborator

bielr commented Dec 9, 2022

That shouldn't happen, but also docker-entrypoint.sh is written with the single purpose of being the Docker entrypoint.

I would recommend downloading and extracting the data yourself and then pointing to the yaml file yourself, as the docker-entrypoint.sh script may have polluted the environment or had permission issues when extracting the data files.

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