You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to access 5' and 3' UTR Ensembl sequence page attributes ("5utr" and "3utr") using getBM() but encounter the following error:
Error in read.table(text = postRes, sep = "\t", header = TRUE, quote = quote, :
more columns than column names
If I include an additional attribute (e.g. "external_gene_name") then getBM() will return results without error (however there is still a header/value mismatch as described in issue #108),
I think both this and #108 are because you're asking for both 5utr and 3utr. If you look at the web interface for the sequence attributes, you'll see that those options are a radio button and you can only select one of them:
Unfortunately the BioMart API doesn't provide any way to detect which attributes are mutually exclusive like this, so I can't detect and filter it in biomaRt. It seem the server is also happy to run a query, even if what comes back doesn't reflect exactly what was asked for.
The getSequence() function does a similar job to what you're looking for and will fail if you ask for more than one sequence type, but I'm not sure there's anyway I can catch this in generic calls to getBM(). I think it's an issue server side to even allow a query like this to run if it isn't viable.
I am trying to access 5' and 3' UTR Ensembl sequence page attributes (
"5utr"
and"3utr"
) usinggetBM()
but encounter the following error:If I include an additional attribute (e.g.
"external_gene_name"
) thengetBM()
will return results without error (however there is still a header/value mismatch as described in issue #108),The text was updated successfully, but these errors were encountered: