Closed javier-pardodiaz closed 3 years ago
I have the same question. After I run the examples(completely follow scripts in part of 'Making use of makeOrgPackage'):(https://bioconductor.org/packages/release/bioc/vignettes/AnnotationForge/inst/doc/MakingNewOrganismPackages.html), I run this scripts to retrieve some information. However got the same error. Please check the example codes and help us to solve it, thank you!
library("org.Tguttata.eg.db") kk <- keys(org.Tguttata.eg.db, keytype = "GID") a<-select(org.Tguttata.eg.db, keys = kk, keytype = "GID",columns = c("GO", "ONTOLOGY")) Error in FUN(X[[i]], ...) : Two fields in the source DB have the same name.
This https://support.bioconductor.org/p/130924/#132633 implies that the problem is fixed in the most recent version. Do you have
BiocManager::version()
return 3.12
and
BiocManager::valid()
return TRUE
?
@mtmorgan I run BiocManager::version() and returns 3.10. Run packageVersion("AnnotationDbi") and return 1.48.0 How can I solve? Shall I download R (version:4) and download AnnotationDbi in latest version?
Yes, update to R version 4.0.3 / Bioconductor 3.12. Make sure that BiocManager::valid()
returns TRUE so that all of your packages are updated. Post here if successful, so the issue can be closed.
Yes, update to R version 4.0.3 / Bioconductor 3.12. Make sure that
BiocManager::valid()
returns TRUE so that all of your packages are updated. Post here if successful, so the issue can be closed.
Yes, it works. 🙂
Hello,
I am getting an error when using the Bioconductor packages AnnotationDbi and AnnotationForge. I am generating an organism package using the makeOrgPackage function in the AnnotationForge package. To do so, I am using two dataframes: gids, with two columns "GID" and "SYMBOL", and "go_info" with three columns "GID", "GO" and "EVIDENCE". The latter dataframe is the goTable.
After generating and installing the package, I try to use the godata function in the AnnotationDbi package but I get an error. It says that two fields in the source DB have the same name. The same error raises when trying to get the keys for "GO" and "EVIDENCE".
Could you please help me to solve this issue? Thank you very much!
I copy the code and error messages below.