Biomart with human genes NCBI 35
2
0
Entering edit mode
@marco-zucchelli-1987
Last seen 10.2 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20070619/ 975de046/attachment.pl
• 1.7k views
ADD COMMENT
0
Entering edit mode
@steffen-durinck-1780
Last seen 10.2 years ago
Dear Marco, Selecting archived versions is currently only possible using biomaRt in MySQL mode and will become available soon in web service mode. To see the available archives do: listMarts(mysql=TRUE, archive=TRUE) To connect to a previous version (e.g. Ensembl 44) you have to do: ensembl = useMart("ensembl_mart_44",dataset="hsapiens_gene_ensembl",my sql=TRUE,archive=TRUE) Use the listDatasets function to see the NCBI version, you'll have to go back to Ensembl 37 to get the NCBI35 build. Cheers, Steffen -----Original Message----- From: marco zucchelli [mailto:marco.bioc@gmail.com] Sent: Tue 6/19/2007 7:12 AM To: bioconductor Subject: [BioC] Biomart with human genes NCBI 35 Dear All, is it possible to select within biomart other builds for human genes rather than the current NCBI36 ? I would like to get gene positions according to NCBI35 but seems that there is no way to do that Regards Marco [[alternative HTML version deleted]] _______________________________________________ Bioconductor mailing list Bioconductor at stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/bioconductor Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD COMMENT
0
Entering edit mode
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20070627/ 022b8b9d/attachment.pl
ADD REPLY
0
Entering edit mode
I think you simply need the _current_ version of BioC packages: > mart <- useMart("ensembl_mart_44",dataset="hsapiens_gene_ensembl",mysql=TRUE,a rchive=TRUE) connected to: ensembl_mart_44 Reading database configuration of: hsapiens_gene_ensembl Checking attributes and filters ... ok Checking main tables ... ok > sessionInfo() R version 2.5.0 (2007-04-23) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United States.1252;LC_MONETARY=English_United States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252 attached base packages: [1] "stats" "graphics" "grDevices" [4] "datasets" "utils" "methods" [7] "base" other attached packages: RMySQL DBI biomaRt RCurl XML "0.5-11" "0.2-3" "1.10.0" "0.8-0" "1.7-1" Best, Jim > marco zucchelli wrote: > Dear Steffen, > > seems like it does not work ("archive" is not accepted). Maybe I need the > developer version of biomaRt ? > > > ###### >> ensembl = > useMart("ensembl_mart_44",dataset="hsapiens_gene_ensembl",mysql=TRUE ,archive=TRUE) > Error in useMart("ensembl_mart_44", dataset = "hsapiens_gene_ensembl", : > unused argument(s) (archive = TRUE) >> sessionInfo() > R version 2.4.1 (2006-12-18) > x86_64-unknown-linux-gnu > > locale: > LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_ US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_U S.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=en_US.UTF -8;LC_IDENTIFICATION=C > > attached base packages: > [1] "splines" "tools" "stats" "graphics" "grDevices" "datasets" > [7] "utils" "methods" "base" > > other attached packages: > RMySQL DBI biomaRt RCurl XML annaffy > "0.6-0" "0.2-3" "1.8.2" "0.8-0" "1.6-3" "1.6.2" > vsn affyPLM gcrma matchprobes affydata multtest > "1.12.0" "1.10.0" "2.6.0" "1.6.0" "1.10.0" "1.12.0" > GOstats Category genefilter survival KEGG RBGL > "2.0.4" "2.0.3" "1.12.0" "2.30" "1.14.1" "1.10.0" > graph goTools annotate GO matlab limma > "1.12.1" "1.6.0" "1.12.1" "1.14.1" "0.8-1" "2.9.17" > hgu133plus2 affy affyio Biobase > "1.14.0" "1.12.2" "1.2.0" "1.12.2" > >> listMarts(mysql=TRUE) > [1] "ensembl_mart_45" "vega_mart_45" "snp_mart_45" > "sequence_mart_45" > [5] "danio_snp_mart" "msd_mart_4" "uniprot_mart_17" > ############ > > > Cheers > > Marco > > > On 6/20/07, Durinck, Steffen (NIH/NCI) [F] <durincks at="" mail.nih.gov=""> wrote: >> Dear Marco, >> >> Selecting archived versions is currently only possible using biomaRt in >> MySQL mode and will become available soon in web service mode. >> >> To see the available archives do: >> >> listMarts(mysql=TRUE, archive=TRUE) >> >> To connect to a previous version (e.g. Ensembl 44) you have to do: >> >> ensembl = >> useMart("ensembl_mart_44",dataset="hsapiens_gene_ensembl",mysql=TRU E,archive=TRUE) >> >> Use the listDatasets function to see the NCBI version, you'll have to go >> back to Ensembl 37 to get the NCBI35 build. >> >> Cheers, >> Steffen >> >> -----Original Message----- >> From: marco zucchelli [mailto:marco.bioc at gmail.com] >> Sent: Tue 6/19/2007 7:12 AM >> To: bioconductor >> Subject: [BioC] Biomart with human genes NCBI 35 >> >> Dear All, >> >> is it possible to select within biomart other builds for human genes >> rather >> than the current >> NCBI36 ? >> I would like to get gene positions according to NCBI35 but seems that >> there is no way to >> do that >> >> Regards >> >> Marco >> >> [[alternative HTML version deleted]] >> >> _______________________________________________ >> Bioconductor mailing list >> Bioconductor at stat.math.ethz.ch >> https://stat.ethz.ch/mailman/listinfo/bioconductor >> Search the archives: >> http://news.gmane.org/gmane.science.biology.informatics.conductor >> >> > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.
ADD REPLY
0
Entering edit mode
Hello all, I have loading problem with XML_1.9 under 64 bit R2.3.1, which I got from http://R.research.att.com/. XML_1.9 works fine under 32 bit R2.5.0. I thought that could be installation problem, and I tried install.packages or biocLite, every time the package installed fine, except some warning messages below: ld64 warning: in /usr/lib/libxml2.dylib, file does not contain requested architecture ld64 warning: in /usr/lib/libz.dylib, file does not contain requested architecture ld64 warning: in /usr/lib/libiconv.dylib, file does not contain requested architecture ld64 warning: in /usr/lib/libz.dylib, file does not contain requested architecture ld64 warning: in /usr/lib/libxml2.dylib, file does not contain requested architecture Here is the error messages I got, when XML is loaded: > library(XML) Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library '/usr/local/lib64/R/library/XML/libs/XML.so': dlopen(/usr/local/lib64/R/library/XML/libs/XML.so, 6): Symbol not found: _xmlMemDisplay Referenced from: /usr/local/lib64/R/library/XML/libs/XML.so Expected in: flat namespace Error: .onLoad failed in 'loadNamespace' for 'XML' Error: package/namespace load failed for 'XML' I understand that it has been pointed out in a previous message that Sys.getenv("PATH") needs to be revised in the file XML/R/zzz.R, but I can?t even find that file under XML/R/ directory. Does anybody have any idea what might be the problem, and how to solve it? Thanks a lot! BTW, the reason I need to use R64 is that I have memory limitation issue with R 32 bit version when I load some very large XML trees. Session information > sessionInfo() Version 2.3.1 Patched (2006-06-27 r38447) powerpc64-apple-darwin8.7.0 attached base packages: [1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" [7] "base" Weijun ________________________________________________________________ ____________________ Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
ADD REPLY
0
Entering edit mode
Hi Luo, Try getting help on the appropriate channels i.e. on the R-SIG-Mac mailing list (r-sig-mac at stat.math.ethz.ch) or with the XML maintainer directly. All those warnings telling you that /usr/lib/libxml2.dylib does not contain the requested architecture might indicate that something is wrong with your xml _system_ lib. Not really a Bioconductor issue I'm afraid... Also any reason why you are using R 2.3.1? The version of Bioconductor that must be used with R 2.3.1 is BioC 1.8. This is an old released and is not supported anymore (BTW, if you are using biocLite() with R 2.3.1, as you claim, you should get XML_0.99-7.tgz, not XML_1.9). Have you tried with a more recent version? R-2.5.1 was just released today and works with our latest and greatest release: BioC 2.0 (which _is_ supported). Cheers, H. Luo Weijun wrote: > Hello all, > I have loading problem with XML_1.9 under 64 bit > R2.3.1, which I got from http://R.research.att.com/. > XML_1.9 works fine under 32 bit R2.5.0. I thought that > could be installation problem, and I tried > install.packages or biocLite, every time the package > installed fine, except some warning messages below: > ld64 warning: in /usr/lib/libxml2.dylib, file does not > contain requested architecture > ld64 warning: in /usr/lib/libz.dylib, file does not > contain requested architecture > ld64 warning: in /usr/lib/libiconv.dylib, file does > not contain requested architecture > ld64 warning: in /usr/lib/libz.dylib, file does not > contain requested architecture > ld64 warning: in /usr/lib/libxml2.dylib, file does not > contain requested architecture > > Here is the error messages I got, when XML is loaded: >> library(XML) > Error in dyn.load(x, as.logical(local), > as.logical(now)) : > unable to load shared library > '/usr/local/lib64/R/library/XML/libs/XML.so': > dlopen(/usr/local/lib64/R/library/XML/libs/XML.so, > 6): Symbol not found: _xmlMemDisplay > Referenced from: > /usr/local/lib64/R/library/XML/libs/XML.so > Expected in: flat namespace > Error: .onLoad failed in 'loadNamespace' for 'XML' > Error: package/namespace load failed for 'XML' > > I understand that it has been pointed out in a > previous message that Sys.getenv("PATH") needs to be > revised in the file XML/R/zzz.R, but I can?t even find > that file under XML/R/ directory. Does anybody have > any idea what might be the problem, and how to solve > it? Thanks a lot! > BTW, the reason I need to use R64 is that I have > memory limitation issue with R 32 bit version when I > load some very large XML trees. > > Session information >> sessionInfo() > Version 2.3.1 Patched (2006-06-27 r38447) > powerpc64-apple-darwin8.7.0 > > attached base packages: > [1] "methods" "stats" "graphics" "grDevices" > "utils" "datasets" > [7] "base" > > Weijun > > > > ______________________________________________________________ ______________________ > Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center. > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor
ADD REPLY
0
Entering edit mode
On Jun 27, 2007, at 8:09 PM, Luo Weijun wrote: > Hello all, > I have loading problem with XML_1.9 under 64 bit > R2.3.1, which I got from http://R.research.att.com/. > XML_1.9 works fine under 32 bit R2.5.0. I thought that > could be installation problem, and I tried > install.packages or biocLite, every time the package > installed fine, except some warning messages below: > ld64 warning: in /usr/lib/libxml2.dylib, file does not > contain requested architecture > ld64 warning: in /usr/lib/libz.dylib, file does not > contain requested architecture > ld64 warning: in /usr/lib/libiconv.dylib, file does > not contain requested architecture > ld64 warning: in /usr/lib/libz.dylib, file does not > contain requested architecture > ld64 warning: in /usr/lib/libxml2.dylib, file does not > contain requested architecture > > Here is the error messages I got, when XML is loaded: >> library(XML) > Error in dyn.load(x, as.logical(local), > as.logical(now)) : > unable to load shared library > '/usr/local/lib64/R/library/XML/libs/XML.so': > dlopen(/usr/local/lib64/R/library/XML/libs/XML.so, > 6): Symbol not found: _xmlMemDisplay > Referenced from: > /usr/local/lib64/R/library/XML/libs/XML.so > Expected in: flat namespace > Error: .onLoad failed in 'loadNamespace' for 'XML' > Error: package/namespace load failed for 'XML' > > I understand that it has been pointed out in a > previous message that Sys.getenv("PATH") needs to be > revised in the file XML/R/zzz.R, but I can?t even find > that file under XML/R/ directory. Does anybody have > any idea what might be the problem, and how to solve > it? Thanks a lot! > BTW, the reason I need to use R64 is that I have > memory limitation issue with R 32 bit version when I > load some very large XML trees. XML is a CRAN package, not a Bioconductor package. Try R-help People will likely point out that you are using a 1-year old version of R and that you should upgrade if you want help. Kasper > Session information >> sessionInfo() > Version 2.3.1 Patched (2006-06-27 r38447) > powerpc64-apple-darwin8.7.0 > > attached base packages: > [1] "methods" "stats" "graphics" "grDevices" > "utils" "datasets" > [7] "base" > > Weijun > > > > > ______________________________________________________________________ > ______________ > Park yourself in front of a world of choices in alternative > vehicles. Visit the Yahoo! Auto Green Center. > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/ > gmane.science.biology.informatics.conductor
ADD REPLY
0
Entering edit mode
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20070628/ 1fa98648/attachment.pl
ADD REPLY
0
Entering edit mode
Hi Marco, marco zucchelli wrote: > Dear James and Steffen, > > thanks , workks properly now. At the same time seems that the functions > defined in biomaRt do not work on > the archived versions. Actually, your code doesn't work with the MySQL interface regardless of the dataset. Although, interestingly enough the error message is different depending on what dataset you use. > mart <- useMart("ensembl","hsapiens_gene_ensembl", mysql=T) Loading required package: RMySQL Loading required package: DBI connected to: ensembl Reading database configuration of: hsapiens_gene_ensembl Checking attributes and filters ... ok Checking main tables ... ok > gene.list <- getFeature(chromosome=1, type="entrezgene", mart=mart) Error in queryGenerator(attributes = attributes, filter = filters, values = values, : 'length(filter)' must be 1 when using biomaRt in MySQL mode. > ensmart <- useMart("ensembl_mart_37",dataset="hsapiens_gene_ensembl", mysql=TRUE,archive=TRUE) connected to: ensembl_mart_37 Reading database configuration of: hsapiens_gene_ensembl Checking attributes and filters ... ok Checking main tables ... ok > gene.list <- getFeature(chromosome=1, type="entrezgene", mart=ensmart) Error in getFeature(chromosome = 1, type = "entrezgene", mart = ensmart) : This function only works when using to ensembl. To use this function use: mart = useMart('ensembl') ## This works > cmart <- useMart("ensembl", "hsapiens_gene_ensembl") Checking attributes and filters ... ok > gene.list <- getFeature(chromosome=1, type="entrezgene", mart=cmart) > gene.list chromosome_name entrezgene 1 1 79501 2 1 26683 3 1 81399 4 1 729759 This looks like something for Steffen. Best, Jim > > ####### >> ensmart <- > useMart("ensembl_mart_37",dataset="hsapiens_gene_ensembl",mysql=TRUE ,archive=TRUE) > > connected to: ensembl_mart_37 > Reading database configuration of: hsapiens_gene_ensembl > Checking attributes and filters ... ok > Checking main tables ... ok >> gene.list <- getFeature(chromosome=1,type="entrezgene", > mart=ensmart) > Error in getFeature(chromosome = 1, type = "entrezgene", mart = ensmart) : > This function only works when using to ensembl. To use this function > use: mart = useMart('ensembl') > ######## -- James W. MacDonald, M.S. Biostatistician Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623 ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.
ADD REPLY
0
Entering edit mode
@steffen-durinck-1780
Last seen 10.2 years ago
Hi Marco, James, Thank you for reporting this. It looks indeed like something goes wrong when using getFeature with biomaRt in MySQL mode, I'll investigate what causes this and provide a fix as soon as possible. Part of the error is due to different naming of the attributes in different versions of Ensembl this results in the failure of getFeature when used on ensembl_mart_37 However I would recommend you to use the more generic getBM function, which doesn't contain hardcoded attribute/filter names (and thus works with any Ensembl version), you should be able to get the data as follows: ensmart <- useMart("ensembl_mart_37",dataset="hsapiens_gene_ensembl",m ysql=TRUE,archive=TRUE) gene.list = getBM(c("entrezgene","chr_name"), filters="chr_name",values=1, mart=ensmart) > gene.list[3:8,] entrezgene chr_name 3 441866 1 4 81399 1 5 135896 1 6 26683 1 7 79854 1 8 148398 1 Cheers, Steffen -----Original Message----- From: James W. MacDonald [mailto:jmacdon@med.umich.edu] Sent: Thu 6/28/2007 11:55 AM To: marco zucchelli Cc: Durinck, Steffen (NIH/NCI) [F]; bioconductor Subject: Re: [BioC] Biomart with human genes NCBI 35 Hi Marco, marco zucchelli wrote: > Dear James and Steffen, > > thanks , workks properly now. At the same time seems that the functions > defined in biomaRt do not work on > the archived versions. Actually, your code doesn't work with the MySQL interface regardless of the dataset. Although, interestingly enough the error message is different depending on what dataset you use. > mart <- useMart("ensembl","hsapiens_gene_ensembl", mysql=T) Loading required package: RMySQL Loading required package: DBI connected to: ensembl Reading database configuration of: hsapiens_gene_ensembl Checking attributes and filters ... ok Checking main tables ... ok > gene.list <- getFeature(chromosome=1, type="entrezgene", mart=mart) Error in queryGenerator(attributes = attributes, filter = filters, values = values, : 'length(filter)' must be 1 when using biomaRt in MySQL mode. > ensmart <- useMart("ensembl_mart_37",dataset="hsapiens_gene_ensembl", mysql=TRUE,archive=TRUE) connected to: ensembl_mart_37 Reading database configuration of: hsapiens_gene_ensembl Checking attributes and filters ... ok Checking main tables ... ok > gene.list <- getFeature(chromosome=1, type="entrezgene", mart=ensmart) Error in getFeature(chromosome = 1, type = "entrezgene", mart = ensmart) : This function only works when using to ensembl. To use this function use: mart = useMart('ensembl') ## This works > cmart <- useMart("ensembl", "hsapiens_gene_ensembl") Checking attributes and filters ... ok > gene.list <- getFeature(chromosome=1, type="entrezgene", mart=cmart) > gene.list chromosome_name entrezgene 1 1 79501 2 1 26683 3 1 81399 4 1 729759 This looks like something for Steffen. Best, Jim > > ####### >> ensmart <- > useMart("ensembl_mart_37",dataset="hsapiens_gene_ensembl",mysql=TRUE ,archive=TRUE) > > connected to: ensembl_mart_37 > Reading database configuration of: hsapiens_gene_ensembl > Checking attributes and filters ... ok > Checking main tables ... ok >> gene.list <- getFeature(chromosome=1,type="entrezgene", > mart=ensmart) > Error in getFeature(chromosome = 1, type = "entrezgene", mart = ensmart) : > This function only works when using to ensembl. To use this function > use: mart = useMart('ensembl') > ######## -- James W. MacDonald, M.S. Biostatistician Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623 ********************************************************** Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.
ADD COMMENT

Login before adding your answer.

Traffic: 540 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