Hi Ruben,
I suspect that there is inconsistency between the spelling of the internal name of the filter and the attribute. I will look into it and try to fix it for release 54 (approx end of April). Many apologies for any inconvenience caused.
Regards,
Rhoda


On 14 Apr 2009, at 12:27, Ruben wrote:

Hi to all,

I am trying to invoke the following R code,

ensembl = useMart("ensembl");
ensembl = useDataset("drerio_gene_ensembl", mart=ensembl);
ids <- getBM(attributes = c("ensembl_gene_id","agilent_g2519F"), filters = "with_agilent_g2519f", values =TRUE,mart=ensembl);

but the result is always the same:

1 Query ERROR: caught BioMart::Exception::Usage: Attribute agilent_g2519F NOT FOUND Error en getBM(attributes = c("ensembl_gene_id", "agilent_g2519F"), filters = c("with_agilent_g2519f"), : Number of columns in the query result doesn't equal number of attributes in query. This is probably an internal error, please report.

However, if I retrieve the list of available attributes I can see "agilent_g2519F" in the list.

Can you help me? There is a mistake in my code or there is something wrong in biomart?

Thanks in advance,
Rubén.

Rhoda Kinsella Ph.D.
Ensembl Bioinformatician,
European Bioinformatics Institute (EMBL-EBI),
Wellcome Trust Genome Campus,
Hinxton
Cambridge CB10 1SD,
UK.

Reply via email to