Hi all,
I downloaded BioMart 0.9 on a local server and I easily managed to compile, build and run it. I tested it and it is working fine. I also tried the REST API (e.g. localhost:9000/martservice/portal) and it is working as well.
However, when I try to connect to it using biomaRt:
> listMarts(host="localhost", port=9000, path="/martservice")
I get the following error:
Attempting web service request: http://localhost:9000/martservice?type=registry&requestid=biomaRt Error in listMarts(host = "localhost", port = 9000, path = "/martservice", : Unexpected format to the list of available marts. Please check the following URL manually, and try ?listMarts for advice. http://localhost:9000/martservice?type=registry&requestid=biomaRt
I googled it a bit and I found (e.g. here) that there was a compatibility problem between the biomaRt package and BioMart versions 0.8 and 0.9, but it seems they were working on it.
Anyone knows if the issue has been solved?
Best,
Alex
> sessionInfo() R version 3.4.3 (2017-11-30) Platform: x86_64-redhat-linux-gnu (64-bit) Running under: CentOS Linux 7 (Core) Matrix products: default BLAS/LAPACK: /usr/lib64/R/lib/libRblas.so locale: [1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 [5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 [7] LC_PAPER=en_GB.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] biomaRt_2.32.1 loaded via a namespace (and not attached): [1] Rcpp_0.12.15 IRanges_2.10.5 XML_3.98-1.9 [4] digest_0.6.14 bitops_1.0-6 DBI_0.7 [7] stats4_3.4.3 RSQLite_2.0 pillar_1.1.0 [10] rlang_0.1.6 blob_1.1.0 S4Vectors_0.14.7 [13] tools_3.4.3 bit64_0.9-7 Biobase_2.36.2 [16] RCurl_1.95-4.10 bit_1.1-12 parallel_3.4.3 [19] compiler_3.4.3 BiocGenerics_0.22.1 AnnotationDbi_1.38.2 [22] memoise_1.1.0 tibble_1.4.1
Hi Mike,
Thanks for your reply. I have developed a web-based platform - now under testing by some other postdocs in my department - that potentially could be widely used. The computational core is based on R, and currently I am using biomaRt in my scripts to query one Ensembl mart. However, I was thinking to have a local BioMart on my server for the public release of my tool.
I looked into BioMart 0.9 just because it was the latest version but I guess I can give version 0.7 a try. Thanks.
Best,
Alex