poldracklab / cogat

MIT License
1 stars 3 forks source link

cognitive atlas API status #119

Open vsoch opened 7 years ago

vsoch commented 7 years ago

hey @poldrack @rwblair ! I'm excited to see all the work going on with Cognitive Atlas, and wanted to touch bases about the plan for an updated API. I've started working on Experiment Factory (version 2.0) in containers, and the basic version is done (to generate a Docker container to deploy experiments locally) and I'm looking to add a nice search ability for users based on cognitive terms. You know where this is going! For example, the user right now can list experiments in the library like:

docker run vanessa/expfactory-builder list

and given that these experiments have tasks assigned in cognitive atlas, I'd like to add a function like:

docker run vanessa/expfactory-builder search anxiety

the most basic search might search for direct matches. Since these are tasks that unlikely to be a ton. The next (more obvious) use would be to link tasks --> concepts and then search for the concepts. We need the back end API to handle the logic.

So! I'm guessing that the new API is going to be served from here? If so, if it's quasi finished I'd like to offer re-doing the python client to work with it. Or if it's already done, just using it to add this. I'd also want to do some linking from the experiment page itself, eg:

https://expfactory.github.io/experiments/e/motor-selective-stop-signal/

And generate a view that shows how the tasks relate to one another based on concepts.

Glad to help with whatever I can. I've been looking forward to doing this for a bit, because experiments (tasks in Cogat language) linked to concepts seems like a really useful thing and will bring the cognitive atlas another use case.

vsoch commented 7 years ago

oh and it would also be pretty easy to use the Github API to mine existing repos for topics (the tabs at the top) and link various code repositories with cogat. I guess there are an inordinate amount of things that could be mined / linked once it's up and running!