Access to the single cell recordings on DANDI

Hi,

I am trying to download ephys traces from DANDI (Gouwens et al. 2020), as indicated in this example. However, when I type !dandi download https://girder.dandiarchive.org/api/v1/item/5edb30e22dace54b6f9b4051/download I get the following error Error: HTTPSConnectionPool(host='girder.dandiarchive.org', port=443): Max retries exceeded with url: /api/v1/item/5edb30e22dace54b6f9b4051/download (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffad6887250>: Failed to establish a new connection: [Errno -2] Name or service not known')). On the other hand I can download some other files from DANDI, as indicated in DANDI examples, so I don’t think that there is a problem with DANDI per se. Could you please suggest how I can get access to the files from Gouwens et al. 2020?

Thank you in advance!

Hi Maria,

The DANDI archive changed the backend system that they use to serve files.

The easiest option for you may be just to download the whole set using:
dandi download DANDI:000020/0.210913.1639

For specific files, you may choose to get a single-file download link by browsing for the experiment of interest in this interface: DANDI Archive

For a single file, you can get the correct URL from that site and then download with:
dandi download https://api.dandiarchive.org/api/assets/cc720736-2f21-415b-b7d2-bf49f1dbc5da/download/

I will need to update that file manifest with new links soon.

Best regards,
Wayne

Just to follow up on Wayne’s response, the example notebook linked to in the original post used older DANDI URLs, but a file manifest with the updated links is available on this page:
http://portal.brain-map.org/explore/classes/multimodal-characterization/multimodal-characterization-mouse-visual-cortex

Follow the link in the “Downloads” table titled Manifest of Raw Data Files for Individual Cells to get the table with links for each cell.

Thanks for pointing out the old links in the notebook example - we should have an updated version of the notebook with the correct links shortly. And the DANDI link for the particular cell used in the notebook is https://api.dandiarchive.org/api/assets/5a0d8719-3b7c-41f7-b235-3640d3f242e7/download/

Thanks for your replies!
Now I can read the data :slight_smile:

1 Like