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

Error: No valid variant remaining #352

Open
Shrishtee-kandoi opened this issue Feb 27, 2024 · 6 comments
Open

Error: No valid variant remaining #352

Shrishtee-kandoi opened this issue Feb 27, 2024 · 6 comments
Assignees
Labels

Comments

@Shrishtee-kandoi
Copy link

Dear Author,

I am trying to run PRS but keep getting this error:
Error: No valid variant remaining

PRSice 2.3.3 (2020-08-05)
https://github.com/choishingwan/PRSice
(C) 2016-2020 Shing Wan (Sam) Choi and Paul F. O'Reilly
GNU General Public License v3
If you use PRSice in any published work, please cite:
Choi SW, O'Reilly PF.
PRSice-2: Polygenic Risk Score Software for Biobank-Scale Data.
GigaScience 8, no. 7 (July 1, 2019)
2024-02-27 18:36:56
./PRSice_linux
--a1 ref
--a2 alt
--bar-levels 0.001,0.05,0.1,0.2,0.3,0.4,0.5,1
--base GWAS_file.gz
--base-maf MAF:0.01
--binary-target F
--bp pos
--chr chrom
--clump-kb 250kb
--clump-p 1.000000
--clump-r2 0.100000
--interval 5e-05
--lower 5e-08
--num-auto 22
--or
--out Output_file
--pheno phenofile
--print-snp
--pvalue p_value
--seed 2360945017
--snp rsid
--stat beta
--target target_file
--thread 1
--upper 0.5

Warning: MAF field not found in base file. Will not perform
MAF filtering on the base file

Initializing Genotype file:
target_file
(bed)

Start processing GWAS_file

Base file:
GWAS_file.gz
GZ file detected. Header of file is:

rsid chrom pos ref alt neg_log_pvalue beta stderr_beta alt_allele_freq p_value

7227799 variant(s) observed in base file, with:
7227799 NA stat/p-value observed
0 total variant(s) included from base file

Error: No valid variant remaining

Would you please be able to help? Is there something that I'm missing?

@choishingwan
Copy link
Owner

choishingwan commented Feb 27, 2024 via email

@Shrishtee-kandoi
Copy link
Author

I just checked and did not find any NA values. Could you tell what the criteria for invalid p-values is?

The range of p-values is:
[1] 1.937e-110 1.000e+00

@choishingwan
Copy link
Owner

choishingwan commented Feb 27, 2024 via email

@Shrishtee-kandoi
Copy link
Author

Shrishtee-kandoi commented Feb 28, 2024

Is there a different way to upgrade to 2.3.5?
I cloned the repository from Github only a few weeks and also did it again right now but it gives me the same error.

I also had another question (may not be relevant to this): Is it possible to run a PRS without stats and/or A1,A2 values? Because a lot of GWASes don't give out those information..

@choishingwan
Copy link
Owner

choishingwan commented Feb 28, 2024 via email

@Shrishtee-kandoi
Copy link
Author

Yes, I meant PRS sorry! Thanks.
I will try downloading that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants