Hello,
I wanted to retrieve Annotation information of Ustilago maydis using the bioconductor package since it was not available at database list of AnnotationHub. But I came across with an Error such as:
processing gene2pubmed
processing gene_info: chromosomes
processing gene_info: description
processing alias data
processing refseq data
processing accession data
processing GO data
Error in get(name, envir = asNamespace(pkg), inherits = FALSE) :
object 'lookup_tax_id_by_organism' not found
Calls: makeOrgPackageFromNCBI ... unlist -> lapply -> lapply -> match.fun -> ::: -> get
In addition: Warning messages:
1: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
2: call dbDisconnect() when finished working with a connection
3: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
4: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
5: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
6: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
7: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
8: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
9: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
Execution halted
The R script was:
#!/usr/bin/env Rscript
library("AnnotationForge", lib.loc="/scratch/lzeo/anaconda3/lib/R/library")
makeOrgPackageFromNCBI(version ="0.1", author ="Leo Zeo leozeo@gmail.com", maintainer="Leo Zeo", outputDir = "/scratch/lzeo/anaconda3/lib/R/library", tax_id = "237631",genus = "Ustilago", species = "maydis")
Looking for the positive solution from the author.
Thank You!
Thanks for the reply.
Do you mean by this package installation https://anaconda.org/bioconda/bioconductor-genomeinfodb ?
or shall I contact anaconda?
I don't know anything about bioconda, so can't help you there. If that's how you install GenomeInfoDb using bioconda, then yes, that's what I mean. Also you should ensure that you have the latest version of R/BioC, which again I have no idea how you divine that using bioconda. They are a completely different group, unaffiliated with Bioconductor, so really if you have questions about their stuff you should ask where ever one asks about that.
Hello James,
I did installed GenomeInfoDb and here is the error:
getting data for gene2pubmed.gz
extracting data for our organism from : gene2pubmed
getting data for gene2accession.gz
extracting data for our organism from : gene2accession
getting data for gene2refseq.gz
extracting data for our organism from : gene2refseq
getting data for gene_info.gz
rebuilding the cache
extracting data for our organism from : gene_info
getting data for gene2go.gz
rebuilding the cache
extracting data for our organism from : gene2go
processing gene2pubmed
processing gene_info: chromosomes
processing gene_info: description
processing alias data
processing refseq data
processing accession data
processing GO data
Error in result_create(conn@ptr, statement) : no such table: altGO_date
Calls: makeOrgPackageFromNCBI ... new -> initialize -> initialize -> result_create -> .Call
In addition: Warning messages:
1: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
2: call dbDisconnect() when finished working with a connection
3: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
4: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
5: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
6: In result_fetch(res@ptr, n = n) :
Don't need to call dbFetch() for statements, only for queries
Execution halted
As I mentioned above it seems you have an old R/Bioc installation. On a current version, this is what I get
Hello James,
Can you comment on this thread Vidger library error ?
Hello Jim,
This thread A: Easy way to turn OrgDb object from AnnotationHub into package? was quite helpful for creating the package from AnnotationHub listed organisms.
Thanks!