-
Notifications
You must be signed in to change notification settings - Fork 179
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
[BUG]:Failed to connect to api.opengwas.io port 443: Connection refused #580
Comments
facing the same issue. Could you please help if you have solve the issues |
@mrciu.. could you please at least let us know if this package is working at all.. even the tutorial is not working .. Please dont delete comments.. rather answer something so that we can understand.... |
@mrciu .. any suggestion or brief tutorial ?? or is it possible we can access the dataset at FTP ??? we would be thankful if we get any suggestions.. |
If others are looking for alternative approaches... This might be one solution but manually you have to download dataset import numpy as np def two_sample_mr_test(exposure_snps, exposure_betas, exposure_ses,
Example usagenp.random.seed(42) Simulated exposure SNPsexposure_snps = ['rs1', 'rs2', 'rs3', 'rs4', 'rs5'] Simulated outcome SNPsoutcome_snps = ['rs1', 'rs2', 'rs3', 'rs4', 'rs5'] Perform two-sample MR testcausal_effect, se, p_value = two_sample_mr_test( print("Two-Sample MR Test Results:") |
Error in api_query("user", opengwas_jwt = opengwas_jwt, override_429 = TRUE) :
The following error was encountered in trying to query the MR-Base server:
Error in curl::curl_fetch_memory(url, handle = handle): Couldn't connect to server [api.opengwas.io]: Failed to connect to api.opengwas.io port 443: Connection refused
When I use the package TwoSample MR, it couldn't query the MR-base, could you please grant me the access? Thank you very much!
The text was updated successfully, but these errors were encountered: