-
Notifications
You must be signed in to change notification settings - Fork 177
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]: Error in mtfrm.default(list(url = "https://api.opengwas.io/api/ld/clump", : cannot mtfrm #495
Comments
I have encountered the same issue, how should I handle it? |
1 similar comment
I have encountered the same issue, how should I handle it? |
I have encountered the same issue when I use the
May it was a server issue? |
you can use this code: options(ieugwasr_api = 'gwas-api.mrcieu.ac.uk/') i believe you will appreciate me |
Thank you so much for your help!your code solute perfectly addressed my issues,I really appreciate it
---- Replied Message ----
| From | ***@***.***> |
| Date | 04/02/2024 23:00 |
| To | MRCIEU/TwoSampleMR ***@***.***> |
| Cc | xhxingjinyi ***@***.***>,
Comment ***@***.***> |
| Subject | Re: [MRCIEU/TwoSampleMR] [BUG]: Error in mtfrm.default(list(url = "https://api.opengwas.io/api/ld/clump", : cannot mtfrm (Issue #495) |
you can use this code:
options(ieugwasr_api = 'gwas-api.mrcieu.ac.uk/')
i believe you will appreciate me
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
options(ieugwasr_api = 'gwas-api.mrcieu.ac.uk/')
You can try this code,a kind guy sent it to me.
---- Replied Message ----
| From | Student ***@***.***> |
| Date | 04/02/2024 17:11 |
| To | MRCIEU/TwoSampleMR ***@***.***> |
| Cc | xhxingjinyi ***@***.***>,
Comment ***@***.***> |
| Subject | Re: [MRCIEU/TwoSampleMR] [BUG]: Error in mtfrm.default(list(url = "https://api.opengwas.io/api/ld/clump", : cannot mtfrm (Issue #495) |
I have encountered the same issue when I use the mv_extract_exposures_local function. Recently,when I use extract_outcome_data funciton, it always returns a NULL result even if it showed the message as below:
Extracting data for 10 SNP(s) from 1 GWAS(s)
Finding proxies for 10 SNPs in outcome ebi-a-GCST90025956
Extracting data for 10 SNP(s) from 1 GWAS(s)
May it was a server issue?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Thanks a lot. I solved this problem. Now, I can run
|
Thanks for your help. It works.
|
Thanks for this solution and it works. But it needs to be input every time. Any way to make it as default? |
Thanks a lot. |
I only input the command
|
Thanks for your help. What should I do to get this code into .Rprofile? I don't know how to do this. |
I am having the same error, after clumping using TwoSampleMR version 0.6.3 and packageVersion("ieugwasr") |
OMG, You are my god. |
do you run this code before the packages or after, it did not work for me No encoding supplied: defaulting to UTF-8. |
I run this code after library package
…---- Replied Message ----
| From | ***@***.***> |
| Date | 06/10/2024 23:02 |
| To | ***@***.***> |
| Cc | ***@***.***>***@***.***> |
| Subject | Re: [MRCIEU/TwoSampleMR] [BUG]: Error in mtfrm.default(list(url = "https://api.opengwas.io/api/ld/clump", : cannot mtfrm (Issue #495) |
do you run this code before the packages or after, it did not work for me
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
it is giving me the same error after traffic, tried several times Please look at vignettes for options on running this locally if you need to run many instances of this command. |
I have a similar problem: "when I use I am not sure whether it is a good way to solve this problem. |
I have tried putting it in my R environment but it doesn't work. Also, if you try running it in RMarkdown it doesn't work. If you run it on the console it works. Right now even that is not working, I get the 'server is possibly experiencing traffic, trying again...' message until it stops and saus 'cannot mtfrm' again. But that DOES sound like a server issue ;) ? |
As a fail safe backup it would be nice to get some guidance on what to specify under plink_bin and bfile (the same plink binaries for both?) if you want to use local reference files. |
Can anyone who is experiencing this issue provide a reproducible example? For example a list of SNPs and p-values that you are using that leads to the 'cannot mtfrm' error? |
experiencing the same problem
This persists even when I input options(ieugwasr_api = 'gwas-api.mrcieu.ac.uk/'), this used to work until few days ago. Same thing happen when I input ieugwasr::api_status() ieugwasr::api_status() |
That's really helpful. But I still have thesame issue when I try to knit the Rmarkdown file. See the error below Error in
|
I am having the same issue when try to knit the Rmarkdown. Were you able to resolve it? |
Yes, I come here to thank you, and very much. |
Great. That works. Thanks |
Please make sure that this is a bug! If you have questions about how to use TwoSampleMR please use the Discussions function instead.
Describe the bug (required)
TwoSampleMR package can not query the IEU OpenGWAS database normally through API access.
Describe the current behaviour you observe (required)
Because of the API issue, TwoSampleMR package can not query any IEU OpenGWAS data online.
Attachment is API status. FYI.
Describe the behaviour you expect (required)
ex_dat<-extract_instruments(outcomes="ukb-b-19953")
ex_clump<- clump_data(
ex_dat,
clump_kb = 10000,
clump_r2 = 0.001,
clump_p1 = 1,
clump_p2 = 1,
pop = "EUR")
Contribute a solution (optional)
Please submit a pull request and/or briefly describe your proposed solution
System information
macOS
platform aarch64-apple-darwin20
version.string R version 4.3.3 (2024-02-29)
nickname Angel Food Cake
Additional context
Add any other context about the problem here
The text was updated successfully, but these errors were encountered: