Open ivirshup opened 5 years ago
I also came across this problem and implemented a basic solution: https://github.com/kpj/pybiomart
So far it only works if at most one filter is provided, because I wasn't sure how to split multiple long filter lists (can they interact. If yes, how?).
Basically, you can't pass many values for filters. I'll give an example of what I mean. Here's the setup:
Now, making queries with
filters
:biomaRt
gets around this by automatically splitting a query into multiple parts (if it's too big), and combining the results. I'd be happy to implement this in a PR, but would like to hear that a maintainer would be here to merge it.