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: Invalid .bed file size for .bed #353

Open
zfchen1 opened this issue Feb 29, 2024 · 4 comments
Open

Error: Invalid .bed file size for .bed #353

zfchen1 opened this issue Feb 29, 2024 · 4 comments
Assignees
Labels

Comments

@zfchen1
Copy link

zfchen1 commented Feb 29, 2024

Describe the bug
I got the problem"Error: Invalid .bed file size for xxxx.bed". And I have no idea to deal with it.

Error Log
PRSice 2.3.5 (2021-09-20)
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-29 15:05:12
D:\PRSice\PRSice_win64 ABCDv\ABCD\test\PRSice_win64.exe
--a1 A1
--a2 A2
--bar-levels 0.001,0.05,0.1,0.2,0.3,0.4,0.5,1
--base GWAS.assoc
--beta
--binary-target F
--bp BP
--chr CHR
--clump-kb 250kb
--clump-p 1.000000
--clump-r2 0.100000
--interval 5e-05
--lower 5e-08
--num-auto 22
--out PRSice
--pvalue P
--seed 1959031011
--snp SNP
--stat BETA
--target ABCD
--thread 1
--upper 0.5

Initializing Genotype file: ABCD (bed)

Start processing GWAS

Base file: GWAS.assoc
Header of file is:
SNP CHR BP A1 A2 EAF BETA SE P

1047456 variant(s) observed in base file, with:
156922 ambiguous variant(s) excluded
890534 total variant(s) included from base file

Loading Genotype info from target

3016 people (0 male(s), 0 female(s)) observed
3016 founder(s) included

Error: Invalid .bed file size for ABCD.bed

To Reproduce
If possible, provide a minimum working example for me to reproduce the problem. This can usually speed up the debugging process.

Additional context
Add any other context about the problem here.

@choishingwan
Copy link
Owner

choishingwan commented Feb 29, 2024 via email

@zfchen1
Copy link
Author

zfchen1 commented Mar 1, 2024

Thanks for your reply! But my teacher used this .bed file and worked successfully. I'm sure the .bed file is right. Is there any possibility of this problem? Thanks!

@choishingwan
Copy link
Owner

choishingwan commented Mar 1, 2024 via email

@zfchen1
Copy link
Author

zfchen1 commented Mar 1, 2024

I got it. Thanks for your reply.

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