Closed nzernov01 closed 11 months ago
Could you double check that you have population-specific reference panels (specifically snpinfo_mult_ukbb_hm3 and ldblk_ukbb_eur) under /home/nzernov/med_partners/LRC/prscsx/reference_dir/UK_biobank
Also if you only have one set of summary statistics you can use PRS-CS, although PRS-CSx should be mathematically equivalent to PRS-CS when there is only input from a single population.
Here is content of the /UK_biobank
directory:
ls -F /home/nzernov/med_partners/LRC/prscsx/reference_dir/UK_biobank
'ldblk_ukbb_afr.tar.gz?dl=0' 'ldblk_ukbb_eas.tar.gz?dl=0' 'ldblk_ukbb_eur.tar.gz?dl=0' 'snpinfo_mult_ukbb_hm3?dl=0'
'ldblk_ukbb_amr.tar.gz?dl=0' ldblk_ukbb_eur/ 'ldblk_ukbb_sas.tar.gz?dl=0'
I've tried to move the 'snpinfo_mult_ukbb_hm3?dl=0'
file to the ldblk_ukbb_eur/
directory, but it doesn't work. The same error occured. Maybe I'm missing some file?
Also I've tried to test the PRS-CS by the following command:
PRScs.py \
--ref_dir=/home/nzernov/med_partners/LRC/prscsx/reference_dir/UK_biobank/ldblk_ukbb_eur \
--bim_prefix=/home/nzernov/med_partners/LRC/prscsx/PRScsx/test_data/test \
--sst_file=/home/nzernov/med_partners/LRC/prscsx/PRScsx/test_data/EUR_sumstats.txt \
--n_gwas=200000 \
--chrom=22 \
--out_dir=/home/nzernov/med_partners/LRC/prscs/prscs_results
It works! Thank you for the suggestion to use PRS-CS in case of one set of summary statistics.
Great - if you want to get PRS-CSx working in the future when you have more than one set of summary statistics:
The download for those files with "?dl=0" at the end of the filename didn't seem to be complete. You might want to try downloading again.
Hello, I am trying to run PRScsx test by command as follow:
python PRScsx.py --ref_dir=/home/nzernov/med_partners/LRC/prscsx/reference_dir/UK_biobank --bim_prefix=/home/nzernov/med_partners/LRC/prscsx/PRScsx/test_data/test --sst_file=/home/nzernov/med_partners/LRC/prscsx/PRScsx/test_data/EUR_sumstats.txt --n_gwas=200000 --pop=EUR --out_dir=/home/nzernov/med_partners/LRC/prscsx/prscsx_results --out_name=test_LRC_posterior_effect_size --chrom=22
but keep getting the same error:Could you please explain what is going wrong? Thank you in advance!