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

Please limit usage to sequential requests only. #34

Open
YanRuochen1 opened this issue Aug 25, 2024 · 4 comments
Open

Please limit usage to sequential requests only. #34

YanRuochen1 opened this issue Aug 25, 2024 · 4 comments

Comments

@YanRuochen1
Copy link

LDtrait(
snps=snps,
pop = "ALL",
r2d = "r2",
r2d_threshold = 0.1,
win_size = 5e+05,
token = "my token",
file = FALSE,
genome_build = "grch37",
api_root = "https://ldlink.nih.gov/LDlinkRest"),
and it has shown "LDlink server is working...
Error in LDtrait(snps, pop = "EUR", r2d = "r2", r2d_threshold = 0.1, win_size = 5e+05, :
error: Concurrent API requests restricted. Please limit usage to sequential requests only. Contact system administrator if you have issues accessing API: [email protected]"
what should i do to deal with it?

@timyers
Copy link
Collaborator

timyers commented Aug 27, 2024

Are you still having an issue with this?

@Dr-lxl
Copy link

Dr-lxl commented Sep 29, 2024

How was this problem finally solved?

@eva-mariastauffer
Copy link

I have the same issue. Did anyone find a solution?

@timyers
Copy link
Collaborator

timyers commented Oct 8, 2024

When I try the example code given above with my SNPs (see below), it works for me with no error message. Is anyone still experiencing this issue? Perhaps it's an intermittent??? If so please let me know and I'll investigate further. Thanks.

snps <- c("rs114", "rs496202", "rs345")

LDtrait(
snps=snps,
pop = "ALL",
r2d = "r2",
r2d_threshold = 0.1,
win_size = 5e+05,
token = Sys.getenv("LDLINK_TOKEN"),
file = FALSE,
genome_build = "grch37",
api_root = "https://ldlink.nih.gov/LDlinkRest")

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

4 participants