I am trying to use BioMart. Selecting a database works:
mart = useMart(host="useast.ensembl.org", biomart="ENSEMBL_MART_ENSEMBL", dataset="mmusculus_gene_ensembl", verbose=T)
If I try to get annotations using TSS featureType, it takes a few seconds, but works:
martAnnot = getAnnotation(mart=mart, featureType="TSS")
However, if I use Exon:
martAnnot = getAnnotation(mart=mart, featureType="Exon")
It fails after several minutes:
Error in value[[3L]](cond) : Request to BioMart web service failed. Verify if you are still connected to the internet. Alternatively the BioMart web service is temporarily down.
If the TSS works, then the connection and the service are both functional. I tried repeating both several times with same results. What is going on?