Open ivirshup opened 5 years ago
A little bit more on what I've done:
I've pretty much just translated some code from biomaRt for getting a list of filters, as biomaRt has many more available. The column name handling isn't pretty. As far as I can tell, that weird handling is for dealing with biomaRt archives 10 years ago. Since the oldest ensembl archive is from under 10 years ago this could no longer be relevant. That said, I haven't found documentation matching the call I'm making, so maybe there are other edge cases.
I didn't update setting attributes since there are more of them returned by get("configuration")
than from get("attributes")
.
It might be possible to get filters out of the configuration, but it seems complicated, as there are >10000 options. In case filters are being missed, maybe the error for the filter or attribute not being found could be thrown only if the server rejects it?
Ping @jrderuiter?
Increased available filters, should now have parity with biomaRt.
However, this seems to break a lot of the mocking tests, but I haven't quite figured out what to do about that. I'm not too familiar with mocking like this, and could use some pointers.