Skip to content

LDmatrix 504 error #38

@shujiechen11

Description

@shujiechen11

Hi,

My name is Shujie. I am performing several calculations of ldmatrix for pop afr and amr and the number of input snps are 1366 and 2232. But when I run my script, it will give the error: Error in LDmatrix(my_proxies$RS_Number, pop = pop, r2d = "r2", token = tokenid, :
Gateway Timeout (HTTP 504).
Calls: calculate_pld -> LDmatrix ->
Execution halted.

I am wondering how to solve this error. I appreciate your help!

One corresponding code is:

library(LDlinkR)

discovery_snp<-"rs11072209"
genome_build <- "hg19"
pop<- "AFR"
win_size <- "500000"

if(genome_build=="hg19"){genome_build="grch37"}

my_proxies <- LDproxy(
snp = discovery_snp,
pop = pop,
r2d = "r2",
token = tokenid,
genome_build=genome_build,
win_size = win_size
)
my_proxies = my_proxies[my_proxies$RS_Number != ".", ]
matrix<-LDmatrix(my_proxies$RS_Number,pop=pop,r2d="r2",token = tokenid,genome_build = genome_build)

Best,
Shujie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions