spikodrome / administrative

An administrative area for orchestrating the project
Apache License 2.0
0 stars 0 forks source link

Docker image for spike sorting of nwb files #8

Open magland opened 4 years ago

magland commented 4 years ago

Toward the goal of running spike sorting on some data in docker container

@yarikoptic @bendichter

magland commented 4 years ago

Revised plan, since I decided to keep the SF data in original spikeforest format rather than converting to nwb. This is partly because .nwb spikeinterface wrapper PR is not integrated yet. The other part is that the mda format is a lot simpler.

yarikoptic commented 4 years ago

This is partly because .nwb spikeinterface wrapper PR is not integrated yet.

The plan sounds good to me -- thanks for keeping the project going forward! I hope that .nwb interface would be finalized soon, and then SF / the docker image would simply acquire additional super powers of being able to consume/produce .nwb files. I will soon stop traveling, and hope to finally contribute more than just words here and there ;-)

magland commented 4 years ago

Finished the above checklist -- prototypes only. And the docker containers are here: https://github.com/flatironinstitute/spikeforest/tree/master/future_containers

The most exciting thing is that we (James and I) managed to use matlab compiler to dockerize ironclust and kilosort2

@yarikoptic

yarikoptic commented 4 years ago

@magland

yarikoptic commented 4 years ago

did you push pre-generated images to any hub already?

silly me now realized -- MATLAB! but I wonder if it could still be legit for redistribution, after all license is not redistributed and could be provided "at run time" by the user.

magland commented 4 years ago

It's perfectly fine and legal to distribute compiled MATLAB programs -- but the person generating the binaries needs to have a license for matlab compiler.

Yes, images have been pushed to dockerhub.

For an example, see: https://github.com/flatironinstitute/spikeforest/blob/master/future_containers/sorters/spykingcircus/test1_docker.sh

The call is a bit complex... but that's partly because I'm using kachery to auto-download the needed recording files. (pip install kachery)

magland commented 4 years ago

First pass is one container per sorter (because that's hard enough). At some point we can think about one bit container. But there are many disadvantages when things are in flux.