-
Notifications
You must be signed in to change notification settings - Fork 7
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
how to install "bcftools +blup", exactly? #26
Comments
CHOLMOD4 is only required if you want to use BCFtools/pgs. If you remove BCFtools/pgs, then you can skip the whole installation of CHOLMOD4. However, I strongly discourage using BCFtools/blup, as it does not generate very predictive polygenic scores. To generate competitive polygenic scores you should really use BCFtools/pgs. If your Ubuntu distribution is coming with BCFtools 1.13, it likely means you are using Ubuntu 22.04. This does not include CHOLMOD4 (or CHOLMOD5), so you would likely have to manually compile everything. I strongly advise to switch to Ubuntu 24.04 to install BCFtools/pgs. As for downloading the CHOLMOD headers, try this:
The problem might be that you are not running the commands inside BASH which is responsible for expanding the curly braces |
Thanks! I now upgraded to Ubuntu 24. If I replace libcholmod4 with "libcholmod5", it now worked. I also manually downloaded the latest version bcftools 1.2.1. However, please see the screenshots below, I still could NOT download the plugins file before running make. You said that I should really use BCFtools/pgs. I did not see a mentioning of this in the 2023 paper. It only said BLUPx-ldgm is also implemented in bcftools. So, what is the difference between BCFtools/pgs vs. bcftools/blup? Thank you very much! Best regards, |
For whatever reasons, it seems like your system is resolving raw.githubusercontent.com as 0.0.0.0. I think this is a problem with your system. You need to fix that first. As for BCFtools/pgs, there is no official paper yet. The published paper is only about blup, though many aspects of the model are shared. Nevertheless, you should use BCFtools/pgs and not BCFtools/blup. |
Thanks! I finally made this work, after i manually downloaded those files and copied to the "bcftools/plugins" direcotry. Please see the screenshot below. Your Github says Download latest version of [HTSlib] and [BCFtools]. But then there is no more mention of [HTSlib] thereafter. Should I also compile it and copy binaries to the $HOME/bin directory? The above screenshot shows that -- pgs -- Compute best linear unbiased predictor from GWAS-VCF summary statistics. So, bcftools/pgs is like LDpred and PCS-cs, that takes GWAS summary statistics as input? After this, I need to use something like plink --score to calculate actual PGS for individuals, correct? Thank you & best regadrs, |
If BCFtools is running on your side, it means HTSlib was correctly installed. BCFtools/pgs is in the class of tools like LDpred and PRS-cs. It is meant to be easy to use and it works with GWAS-VCF files and LDGM-VCF files. The output loading files you generate can then be used with BCFtools/score to compute PGS values. You don't need to convert anything to PLINK format |
Dear Guilio:
Your clarificaiton and teaching would be greatly appreciated! Best regards, |
|
Hi, there:
I try to get bcftools _ blup work on the Linux Ubuntu coming with Windows 11.
When I run the first command in the "Installation" section, I got E: Unable to locate package libcholmod4. Is this package a must?
After the above command, bcftools is installed. However, I had to remove it since it is version 1.13. Even after i tried to "apt upgrade bcftools", it is still version 1.13. Then I manually dowloaded the latest version from http://github.com/samtools/bcftools/releases/download/1.20/**bcftools-1.20.tar.bz2**.
After I run tar xjvf bcftools-1.20.tar.bz2, the next command failed wget -P bcftools-1.20 http://raw.githubusercontent.com/DrTimothyAldenDavis/SuiteSparse/stable/{SuiteSparse_config/SuiteSparse_config,CHOLMOD/Include/cholmod}.h. Can you please check if the link is valid?
Please help.
Thanks!
JH.
The text was updated successfully, but these errors were encountered: