Dendritic call regulatory network explorer
This repository uses Jupyter notebooks and encrypted data.
You must provide a decryption key when running the notebooks//Decrypt data.ipynb
notebook to
decrypt the data before viewing the data using the
notebooks//Visualize network.ipynb to view the network.
The repository is designed to use
repo2docker
to build a docker container which includes
the code for running the analysis and all needed dependencies.
The repo2docker tool requires the docker infrastructure
and Python 3 to run. See the
installation instructions.
To build the docker image from the command line
jupyter-repo2docker --no-run \
--image-name dc_network \
https://github.com/flatironinstitute/dc_networkTo run the image after it has been built use docker run:
docker run -it --rm -p 8888:8888 dc_network:latestWhen the docker instance starts up the log output looks like this:
[I 19:34:40.443 NotebookApp] Writing notebook server cookie secret to /home/rstudio/.local/share/jupyter/runtime/notebook_cookie_secret
[I 19:34:40.935 NotebookApp] Serving notebooks from local directory: /home/rstudio
[I 19:34:40.935 NotebookApp] 0 active kernels
[I 19:34:40.935 NotebookApp] The Jupyter Notebook is running at:
[I 19:34:40.935 NotebookApp] http://0.0.0.0:8888/?token=7baca1829f0665df26adf9943c6f04279647171eb3ffd12c
[I 19:34:40.935 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 19:34:40.935 NotebookApp] No web browser found: could not locate runnable browser.
[C 19:34:40.936 NotebookApp]
Copy/paste this URL into your browser when you connect for the first time,
to login with a token:
http://0.0.0.0:8888/?token=7baca1829f0665df26adf9943c6f04279647171eb3ffd12c
Paste the http:... URL into your browser including your token (which will be different
from the one shown above) to connect to the Jupyter server.