Dear all,
i having troubles since 2 weeks with the biomaRt function getBM or useMart. Before i did it like this and i get the info, please i want to know if it is server problem or im doing really something wrong.
Thank you.
I will explain my self to connect to biomart i've been using..
Ensembl_Fun <- useMart(biomart = "ENSEMBL_MART_FUNCGEN",
dataset="hsapiens_annotated_feature",
host = "sep2015.archive.ensembl.org")
and.... (i tried win other way too)
Ensembl_Fun <- useMart(biomart="ENSEMBL_MART_FUNCGEN"
host="grch37.ensembl.org",
path="/biomart/martservice",
dataset="hsapiens_gene_ensembl")
PD: i was asking for different "datasets", but i have troubles for all of them ("hsapiens_annotated_feature","hsapiens_motif_feature","hsapiens_regulatory_feature","hsapiens_mirna_target_feature","hsapiens_segmentation_feature","hsapiens_external_feature")
Them the attributes im asking for... (i know for each case is different but is an example)
Annotation_Ensembl_Fun <- getBM(attributes = c("chromosome_name",
"chromosome_start",
"chromosome_end",
"feature_type_name",
"feature_type_class",
"feature_type_description",
"cell_type_name",
"so_accession"),
filters = "chromosomal_region",
values = Chr_Region,
mart = Ensembl_Fun)
And each time i run (it take like 20mins), i got:
Error in value[[3L]](cond) :
Request to BioMart web service failed. Verify if you are still connected to the internet. Alternatively the BioMart web service is temporarily down.
Here i put the SESSION INFO:
sessionInfo()
R version 3.2.4 (2016-03-10)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.11.5 (El Capitan)
locale:
[1] C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] reshape_0.8.5 ggplot2_2.1.0 biomaRt_2.26.1
loaded via a namespace (and not attached):
[1] Rcpp_0.12.5 IRanges_2.4.8 XML_3.98-1.4 bitops_1.0-6 grid_3.2.4
[6] plyr_1.8.3 gtable_0.2.0 DBI_0.4-1 stats4_3.2.4 RSQLite_1.0.0
[11] scales_0.4.0 S4Vectors_0.8.11 labeling_0.3 tools_3.2.4 Biobase_2.30.0
[16] munsell_0.4.3 RCurl_1.95-4.8 parallel_3.2.4 BiocGenerics_0.16.1 AnnotationDbi_1.32.3
[21] colorspace_1.2-6
and the TRACE BACK....
traceback()
6: stop("Request to BioMart web service failed. Verify if you are still connected to the internet. Alternatively the BioMart web service is temporarily down.")
5: value[[3L]](cond)
4: tryCatchOne(expr, names, parentenv, handlers[[1L]])
3: tryCatchList(expr, classes, parentenv, handlers)
2: tryCatch(postForm(paste(martHost(mart), "?", sep = ""), query = xmlQuery),
error = function(e) {
stop("Request to BioMart web service failed. Verify if you are still connected to the internet. Alternatively the BioMart web service is temporarily down.")
})
1: getBM(attributes = c("chromosome_name", "chromosome_start", "chromosome_end",
"feature_type_name", "feature_type_class", "feature_type_description",
"cell_type_name", "so_accession"), filters = "chromosomal_region",
values = Chr_Region, mart = Ensembl_Fun)
Thanks a lot,
If you want people to be able to help, you need to include a self-contained example that shows the problem you are seeing. As it stands, nobody can reproduce your results, because nobody knows what Chr_region is. Ideally you would subset whatever that is down to something that will cause the problem you are seeing in much less time than 20 minutes, because nobody is going to wait 20 minutes to help somebody they don't know.
Thanks for your help