Ensemble Service error
0
0
Entering edit mode
11 days ago
anasjamshed ▴ 140

I am trying to convert enseml to gene ids:

library(biomaRt)
library(stringr)


# Use biomaRt to map Ensembl IDs to gene names
mart <- useMart("ensembl", dataset = "mmusculus_gene_ensembl")

expression_data <- read.delim("combined_expression.tsv", header = TRUE, sep = "\t")

# Extract Ensembl IDs from the first column
ensembl_ids <- expression_data[,1]  # Assuming the first column contains Ensembl IDs



gene_ids <- str_replace(ensembl_ids,
                        pattern = ".[0-9]+$",
                        replacement = "")

test_annotation <- getBM(attributes = c("ensembl_gene_id", "external_gene_name", "ensembl_transcript_id"),
                         filters = "ensembl_transcript_id",
                         values = gene_ids ,
                         mart = mart)

but its giving following error:

Error: Your query has been redirected to http://status.ensembl.org indicating this Ensembl service is currently unavailable.
Ensembl Gene • 459 views
ADD COMMENT
0
Entering edit mode

Ensembl services have overall become less stable over the last few months. You have no option but to wait the downtime out.

ADD REPLY
0
Entering edit mode

do we have other options like use some other server?

ADD REPLY
0
Entering edit mode

Download the annotation GTF and parse locally.

ADD REPLY
0
Entering edit mode

how can I do this for mmusculus_gene_ensembl?

ADD REPLY
0
Entering edit mode

GTF file for GRCm39: https://ftp.ensembl.org/pub/release-113/gtf/mus_musculus/

You should be able to figure out where to get GRCm38 version if you need that.

ADD REPLY

Login before adding your answer.

Traffic: 2727 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6