Hi!
I was trying to use OrganismDbi package to build an annotation package for osativa indica.
I used the following code chunk but it throws an error at the end
library(OrganismDbi)
oindica <- makeOrganismDbFromBiomart(biomart="plants_mart",
dataset="oindica_eg_gene",
transcript_ids=NULL,
circ_seqs=NULL,
filter="",
id_prefix="ensembl_",
host="plants.ensembl.org",
port=80,
miRBaseBuild=NA,
keytype = "ENSEMBL",
orgdb = NA)
Download and preprocess the 'transcripts' data frame ... OK
Download and preprocess the 'chrominfo' data frame ... OK
Download and preprocess the 'splicings' data frame ... OK
Download and preprocess the 'genes' data frame ... OK
Prepare the 'metadata' data frame ... Error in GenomeInfoDb:::lookup_tax_id_by_organism(organism) :
Oryza indica: unknown organism. Please use 'loadTaxonomyDb()' to see viable genus/species and taxonomy IDs.
How can I inform GenomeInfoDb about the correct Taxon-ID of oryza? I need this package to run clusterprofiler package for GO term analysis.
Also GenomeInfoDb:::lookup_tax_id_by_organism(organism)
does not work and lacks manual for reference.
Hi James W. MacDonald
I'll buy it all and therefore I tried to find a way around this. I downloaded the GO annotations from plant biomart of ensemble in .csv format and later on processed it using
AnnotationForge
package to generate the org.Oindica.eg.db which is currently hosted here. I needed it for GO term enrichment analysis. I would be highly obliged if you could take out some time to see if it works well. In case if it does, we would like to add it to the OrgDb. It can be found hereIf all you need to do is a GO enrichment analysis, why do you want an
OrganismDb
? That sort of object is intended to facilitate mappings between genome-based annotations and functional-based annotations. AnOrgDb
like you have already built is sufficient for GO stuff. Unless you want to usetopGO
, which won't work with your package without some work on your part. ButGOstats
is fine with it.If you want to use
topGO
, then you probably have to generate your own version ofannFUN.org
that will generate the correct SQL query from your SQLite datbase. Which might be fun if you are into that sort of thing, but otherwiseGOstats
is what I normally use, and it works, so tha's what I would probably do.