dbsnp
dbsnp copied to clipboard
Error when running graf pop in other folder
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
Please try to set environment variable "GRAFPATH" to the directory where the cpp files are located.