Notebooks

Bioinformatics Club - 05/04/18

Jupyter notebook install

# Downloading virtualenv Python lib
$ curl -O https://pypi.python.org/packages/d4/0c/9840c08189e030873387a73b90ada981885010dd9aea134d6de30cd24cb8/virtualenv-15.1.0.tar.gz
$ tar xvfz virtualenv-15.1.0.tar.gz

# Installing a virtualenv
$ cd virtualenv-15.1.0
$ python virtualenv.py ~username/myfolder/Env01

# Activate the virtualenv
$ cd ~username/myfolder/Env01/bin
$ bash
$ source activate

# Install Jupyter
$ pip install Jupyter

Security breach (Jupyter)

  • Jupyter notebook allow any user on a notebook to browse files from where the ipynb file is stored
  • Potential solutions:
    • Embed the notebook in a docker
    • Use GitHub binder system

Jupyter - GitHub - Binder

Jupyter extensions

(jupyter_contrib_nbextensions)

  • Clickable table content
  • Hide code
  • Pop-up cells
  • etc.

Miscellaneous

  • Shiny for R corresponds to Dash in Python
  • Interactive with Jupyter: ipywidget lib
  • For both platforms, plenty of good documentation
  • Google Drive Jupyter maybe good for collaboration

Resources (1)

Resources (2)

Notebooks

By biocompibens

Notebooks

Bioinformatics Club - 18/04/05

  • 265