-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to retrieve sequence lengths from Ensembl #134
Comments
From the code snipped above it seems there is a problem retrieving the sequence (chromosome) lengths form Ensembl ( Before digging into this, would it be possible to use the official If you need mus musculus annotations for Ensembl 97: > library(AnnotationHub)
> ah <- AnnotationHub()
snapshotDate(): 2022-04-21
> query(ah, "EnsDb.Mmusculus.v97")
AnnotationHub with 1 record
# snapshotDate(): 2022-04-21
# names(): AH73905
# $dataprovider: Ensembl
# $species: Mus musculus
# $rdataclass: EnsDb
# $rdatadateadded: 2019-05-02
# $title: Ensembl 97 EnsDb for Mus musculus
# $description: Gene and protein annotations for Mus musculus based on Ensem...
# $taxonomyid: 10090
# $genome: GRCm38
# $sourcetype: ensembl
# $sourceurl: http://www.ensembl.org
# $sourcesize: NA
# $tags: c("97", "AHEnsDbs", "Annotation", "EnsDb", "Ensembl", "Gene",
# "Protein", "Transcript")
# retrieve record with 'object[["AH73905"]]'
> edb <- ah[["AH73905"]]
loading from cache
> edb
EnsDb for Ensembl:
|Backend: SQLite
|Db type: EnsDb
|Type of Gene ID: Ensembl Gene ID
|Supporting package: ensembldb
|Db created by: ensembldb package from Bioconductor
|script_version: 0.3.4
|Creation time: Sun Jul 7 08:07:59 2019
|ensembl_version: 97
|ensembl_host: localhost
|Organism: Mus musculus
|taxonomy_id: 10090
|genome_build: GRCm38
|DBSCHEMAVERSION: 2.1
| No. of genes: 56393.
| No. of transcripts: 144404.
|Protein data available. This database will be cached locally - and that way you can also ensure reproducibility, because this database will never change and will always be there (in |
Hello, i have a problem creating an annotation file for Seurat with GetGrangesFromEnsDb().
While curating the single-cell experiments, a certain GTF was used for genomic annotations.
When i try to load this file with ensDbFromGtf() the step Processing chromosomes ... Fetch seqlengths from ensembl ... FAILs.
Because of this GetGrangesFromEnsDb() throws an error as it cannot create a GRanges object from a Seqinfo object with NA seqlengths. I also tried the makeTxDbFromGFF() method from the GenomicFeatures library and run GetGrangesFromEnsDb() with the newly created DB, but suffer the same issue.
The following comprises all of the above and shows the exact phrasing of the error:
Weirdly, the code snippet worked previously. However, I had to update my R version and libraries and now it doesn't.
EDIT: here are my attached libraries from SessionInfo():
The text was updated successfully, but these errors were encountered: