I'm trying to download TxDB from BioMart for Schizosaccharomyces pombe using:
library(GenomicFeatures)
library(biomaRt)
makeTxDbFromBiomart(biomart ="fungal_mart" ,dataset="spombe_eg_gene" ,host="fungi.ensembl.org")
but I get error message:
Download and preprocess the 'transcripts' 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 '.Ensembl_getMySQLCoreDir(dataset)':
found 0 or more than 1 subdir for "spombe_eg_gene" dataset at ftp://ftp.ensembl.org/pub/current_mysql/
It seems that my host declaration is ignored. I've tried to specify full host address, but I can't find find information what is this full address.
If I use:
biomaRt::useMart( biomart="fungal_mart",dataset="spombe_eg_gene", host="fungi.ensembl.org")
it works and I get
"Object of class 'Mart':
Using the fungal_mart BioMart database
Using the spombe_eg_gene dataset" but I have no idea how to convert it to TxDB.
This would work with the correct name