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 in LD proxies #21

Open
Xuemin-Wang opened this issue May 27, 2022 · 0 comments
Open

error in LD proxies #21

Xuemin-Wang opened this issue May 27, 2022 · 0 comments

Comments

@Xuemin-Wang
Copy link

Hi gwasvcf developer(s) and users,

I tried to get proxies for variants but encountered an error below. This is similar to a previous issue (#13), which hasn't been responded. So I opened this one here.

bmi_proxy <- query_gwas(bmi, rsid=bmi_snps$snp, proxies = "only", bfile = ldfile, tag_r2=0.6)
Determining searchspace...
Proxy lookup...
Finding proxies...
Taking input= as a system command ('gunzip -c C:\Users\xueminW\AppData\Local\Temp\RtmpwvwlJ4\file2d1c5b7c431a.targets.ld.gz') and a variable has been used in the expression passed to input=. Please use fread(cmd=...). There is a security concern if you are creating an app, and the app could have a malicious user, and the app is not running in a secure environment; e.g. the app is running as root. Please read item 5 in the NEWS file for v1.11.6 for more information and for the option to suppress this message.
'gunzip' is not recognized as an internal or external command,
operable program or batch file.
Warning in (if (.Platform$OS.type == "unix") system else shell)(paste0("(", :
'(gunzip -c C:\Users\xueminW\AppData\Local\Temp\RtmpwvwlJ4\file2d1c5b7c431a.targets.ld.gz) > C:\Users\xueminW\AppData\Local\Temp\RtmpwvwlJ4\file2d1c3b995ac2' execution failed with error code 1
Warning in data.table::fread(paste0("gunzip -c ", outname), header = TRUE) :
File 'C:\Users\xueminW\AppData\Local\Temp\RtmpwvwlJ4\file2d1c3b995ac2' has size 0. Returning a NULL data.table.
Error:
! Problem with filter() input ..1.
i Input ..1 is .data[["R"]]^2 > tag_r2.
x Column R not found in .data.
Backtrace:

  1. gwasvcf::query_gwas(...)
  2. dplyr <fn>(<rln_____>)

Was this because the query makes changes to the environment and I don't have admin rights?

Many thanks,
patrick

@nicholsn nicholsn mentioned this issue Feb 2, 2023
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

1 participant