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

Error when running graf pop in other folder #21

Open
dietmarfdz opened this issue Mar 26, 2021 · 1 comment
Open

Error when running graf pop in other folder #21

dietmarfdz opened this issue Mar 26, 2021 · 1 comment
Assignees

Comments

@dietmarfdz
Copy link

Hi,

I have in a folder the plink files. When running grafpop (which is in another folder) I got the following:

~/software/Graf_over2.4/GrafPop/grafpop my_plink_project result.txt
Assertion `FileExists(ancSnpFile.c_str())` failed in AncestrySnps.cpp line 39: File AncInferSNPs.txt does not exist!

terminate called without an active exception
Aborted (`core' generated)

But if I put "my_plink_project" exactly where the grafpop script is located then it runs perfectly.

./grafpop my_plink_project test.txt
@jinyu-ncbi
Copy link

Please try to set environment variable "GRAFPATH" to the directory where the cpp files are located.

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