Open karlmakepeace opened 1 month ago
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),