Hi,
For the getBM function in the biomaRt package. There is a bug when if we had the attributes "cdna" or "gene_exon" in the getBM function (see the print out of the seq variable in the following R code) where the column names has been shifted. It would be nice to have this bug fixed.
##The R code
library(biomaRt)
mart<-useMart(biomart = "ensembl",host="www.ensembl.org",dataset ="mmusculus_gene_ensembl")
seq<-getBM(filter="ensembl_gene_id",values="ENSMUSG00000000103",
attributes=c("ensembl_transcript_id","cdna"),#"gene_exon very messy"
mart=mart)
print(seq)
##the output of print(seq)
ensembl_transcript_id
1 AGAACTATGGGGCCAG.....
2 AGAAAGACTGGTGAA.....
cdna
1 ENSMUST00000115891
2 ENSMUST00000187148