Closed endrebak closed 6 years ago
@endrebak, POST request to our /v3/query endpoint is meant to be used as the batch query. The typical use case would be to pass a list of terms to "q" parameter (e.g. comma-separated), and also pass a "scopes" parameter to tell us what ID types you want to query for. In your case, you just need to pass "scopes=symbol" since your query term is a symbol. If needed, you can also pass multiple field names to "scopes" parameter. You can give it a try here:
The list of available field names can be passed to "scopes" parameter:
http://docs.mygene.info/en/latest/doc/data.html#available-fields
Sorry for not reading the docs well enough! Mygene is incredible, glad it exists now that biomart has become a bit wonky.
Clojure example:
You can also just search for CDK3 in the API and see that you get no results. CDK3 and other common gene names work for the get queries though :)
Thanks for the awesome work btw.