Closed lgbTime closed 3 years ago
Could you let me know what's the error message?
cd LOGODetect for chr in $(seq 22) do Rscript ./Code/random_vector_generation.R ${chr} done
| | 0%Error in fread(paste0("Data/LDmatrix/chr", ch, "/LD", 1, "_", 2, ".ld")) : File 'Data/LD_matrix/chr1/LD_1_2.ld' does not exist or is non-readable. getwd()=='/home/luogb/GWAS/LOGODetect' Calls: as.matrix -> fread Execution halted
At 2021-04-10 16:27:14, "ghm17" @.***> wrote:
Could you let me know what's the error message?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
You will need to run source ./Code/calculateLD.txt
first. Specially, you would need to install plink
(downloaded here) to calculate LD matrix. And make sure that you have added plink
to your environment variables. Hope it works.
thank you, I will check it later
At 2021-04-11 21:39:44, "ghm17" @.***> wrote:
You will need to run source ./Code/calculateLD.txt first. Specially, you would need to install plink (downloaded here) to calculate LD matrix. And make sure that you have added plink to your environment variables. Hope it works.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
cd ./LOGODetect source ./Code/calculateLD.txt
for chr in $(seq 22) do Rscript ./Code/random_vector_generation.R ${chr} Rscript ./Code/aggregation.R ${chr} done