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

Can COJO take LD matrix as input #85

Open
Zhang-Rui-2018 opened this issue Jul 12, 2024 · 2 comments
Open

Can COJO take LD matrix as input #85

Zhang-Rui-2018 opened this issue Jul 12, 2024 · 2 comments

Comments

@Zhang-Rui-2018
Copy link

Hi! I am trying to run COJO to calculate conditional p-value, and found the toy example with the following command line:
# Select multiple associated SNPs through a stepwise selection procedure gcta64 --bfile test --chr 1 --maf 0.01 --cojo-file test.ma --cojo-slct --out test_chr1

The option --bfile specifies the genotype data which is in plink binary format to calculate LD matrix.
I am wondering if I already have the LD matrix, can I use this matrix as the input of COJO. I noticed that SMR has the option --bld which can read LD information from a binary file in BLD format. Besides, SMR can be used to make a BLD file from SNP genotype data.
Does COJO have the same option? If so, can I get binary LD file from LD matrix instead of genotype data.

Any insights are highly appreciated! Thank you!

@jianyangqt
Copy link
Owner

jianyangqt commented Jul 13, 2024 via email

@Zhang-Rui-2018
Copy link
Author

Got it! Thanks!

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