ghm17 / LOGODetect

LOGODetect is a powerful tool to identify small segments that harbor local genetic correlation between two traits/diseases.
GNU General Public License v3.0
23 stars 5 forks source link

bug #1

Closed lgbTime closed 3 years ago

lgbTime commented 3 years ago

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

ghm17 commented 3 years ago

Could you let me know what's the error message?

lgbTime commented 3 years ago

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.

ghm17 commented 3 years ago

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.

lgbTime commented 3 years ago

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.