1

I want to associate a subset of channel models in the NeuroML Database with the cell models they're embedded in. I'm wondering if there is a quick and easy way to get all the associated cells for a given channel model.

Here's the "first" channel model on the web portal (https://neuroml-db.org/model_info?model_id=NMLCH000001). It says that it belongs to a cell model toward the bottom.

I've collected all channel model details ("Type":"CH") using https://neuroml-db.org/api/models?id=NMLCHxxxxxx so I have the JSON for each channel model I want to look at. I can't find an "Associated Cell" field.

Is there a place with a list for all the NMLCLxxxxxx for associated cells? I may be missing it.

1 Answers1

0

You can get all cell models to which a channel model is associated with using the parents key of the model API.

Example

For example, this channel shows it is included in the following cell models:

enter image description here

To get the list of those cells from the API:

In the channel model detail API url: https://neuroml-db.org/api/model?id=NMLCH000134

Find the top-level parents key in resulting JSON, which lists all of the above cell models and some of their detail:

enter image description here

Justas
  • 5,718
  • 2
  • 34
  • 36