Open JohnTigue opened 4 years ago
Lowest hanging fruit (with minimum requirements of Colab supported features) would be static image generation.
One really crude solution is to download the SWC and then upload it to, say, https://neuroinformatics.nl/HBP/morphology-viewer/
AllenSDK Cell Types example code: The Alleneurs plotting SWCs as 2 part mugshot (front and side) via matplotlib
Cell Morphology Reconstructions The Cell Types Database also contains 3D reconstructions of neuronal morphologies. The data are presented in the SWC format. We'll download a particular cell's reconstrution here. The AllenSDK contains a module that makes it easier to work with the SWC files. We can use this data to draw lines between each node and all its children to get a drawing of the cell. We'll do it looking at it from the front and from the side.
If interactivity happens, to sync both mugshot subviews: Linking two similar widgets.
Goal is to view SWCs on Colab.
[Viewing on desktop apps is nice but this project has an explicit goal of realizing all UI in Jupyter. But the ShuTu desktop app runs on windows, macOS, Linux – if one wishes to go desktop app old-school.]
Various potential types of tools, simplest first:
Note: The gold standard SWCs distinguish between axon and dendrites. What of somas?
Styling
See #62.
Initially, following the style of the paper handout from the first Challenge meeting, the viewer should do render
Various existing skeleton viewer codebases: