dbsnp icon indicating copy to clipboard operation
dbsnp copied to clipboard

Error when running graf pop in other folder

Open dietmarfdz opened this issue 4 years ago • 1 comments

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

dietmarfdz avatar Mar 26 '21 12:03 dietmarfdz

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

jinyu-ncbi avatar May 13 '21 16:05 jinyu-ncbi