A repository for keeping conda env and docker image file for running single cell analysis using scanpy. Example notebooks are kept at examples
dir and template notebooks are kept in templates
dir.
List of prerequisites for using these example notebooks:
- JupyterLab Documentation
- Single cell analysis using Cellranger (10X genomics)
- Scanpy package for single cell data analysis
Please check the Dockerfile
and environment.yml
file for all the detail.
Explore the example notebooks from this repo in examples
dir using nbviewer:
Launce notebooks in binder for exploratory analysis:
-
Install Docker following these instructions: Docker Engine overview
-
Use the following command to pull docker image from Docker hub
- Pull the latest image
docker pull imperialgenomicsfacility/scanpy-notebook-image
- Pull a specific release
docker pull imperialgenomicsfacility/scanpy-notebook-image:release-xyz
-
Run notebook container in docker
docker run
-p 8888:8888
-v /path/:/tmp
imperialgenomicsfacility/scanpy-notebook-image:tag
- Build singularity image
singularity
build
scanpy-notebook-image.sif
docker://imperialgenomicsfacility/scanpy-notebook-image
- Run jupyter notebook or nbconvert from singularity container
singularity
run
--bind /path:/tmp
scanpy-notebook-image.sif
jupyter nbconvert /tmp/notebook.ipynb --execute