All Projects → genepattern → genepattern-notebook

genepattern / genepattern-notebook

Licence: BSD-3-Clause license
Platform for integrating genomic analysis with Jupyter Notebooks.

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to genepattern-notebook

genepattern-server
The GenePattern Server web application
Stars: ✭ 26 (-29.73%)
Mutual labels:  reproducible-research, genepattern
binderhub-deploy
Deploy a BinderHub from scratch on Microsoft Azure
Stars: ✭ 27 (-27.03%)
Mutual labels:  reproducible-research
groundhog
Reproducible R Scripts Via Date Controlled Installing & Loading of CRAN & Git Packages
Stars: ✭ 58 (+56.76%)
Mutual labels:  reproducible-research
galaksio
An easy-to-use way for running Galaxy workflows.
Stars: ✭ 19 (-48.65%)
Mutual labels:  reproducible-research
Rmarkdown tutorial
Reproducible Research with Rmarkdown: data management, analysis, and reporting all-in-one
Stars: ✭ 18 (-51.35%)
Mutual labels:  reproducible-research
reproducibility-guide
⛔ ARCHIVED ⛔
Stars: ✭ 119 (+221.62%)
Mutual labels:  reproducible-research
fertile
creating optimal conditions for reproducibility
Stars: ✭ 52 (+40.54%)
Mutual labels:  reproducible-research
Kervolution
Kervolution implementation using TF2.0
Stars: ✭ 20 (-45.95%)
Mutual labels:  reproducible-research
renv
Creating virtual environments for R.
Stars: ✭ 18 (-51.35%)
Mutual labels:  reproducible-research
jupyter-guide
Guide for Reproducible Research and Data Science in Jupyter Notebooks
Stars: ✭ 111 (+200%)
Mutual labels:  reproducible-research
rcompendium
📦 Create a package or compendium structure
Stars: ✭ 26 (-29.73%)
Mutual labels:  reproducible-research
papeR
A toolbox for writing Sweave or other LaTeX-based papers and reports and to prettify the output of various estimated models.
Stars: ✭ 26 (-29.73%)
Mutual labels:  reproducible-research
ck-analytics
Collective Knowledge repository with actions to unify the access to different predictive analytics engines (scipy, R, DNN) from software, command line and web-services via CK JSON API:
Stars: ✭ 35 (-5.41%)
Mutual labels:  reproducible-research
FACIL
Framework for Analysis of Class-Incremental Learning with 12 state-of-the-art methods and 3 baselines.
Stars: ✭ 411 (+1010.81%)
Mutual labels:  reproducible-research
ITKPythonPackage
A setup script to generate ITK Python Wheels
Stars: ✭ 59 (+59.46%)
Mutual labels:  reproducible-research
targets-tutorial
Short course on the targets R package
Stars: ✭ 87 (+135.14%)
Mutual labels:  reproducible-research
panoptes
Monitor computational workflows in real time
Stars: ✭ 45 (+21.62%)
Mutual labels:  reproducible-research
openscience
Empirical Software Engineering journal (EMSE) open science and reproducible research initiative
Stars: ✭ 28 (-24.32%)
Mutual labels:  reproducible-research
bulker
Manager for multi-container computing environments
Stars: ✭ 16 (-56.76%)
Mutual labels:  reproducible-research
software-dev
Coding Standards for the USC Biostats group
Stars: ✭ 33 (-10.81%)
Mutual labels:  reproducible-research

Version Build Documentation Status Docker Pulls Join the chat at https://gitter.im/genepattern

GenePattern Notebook for JupyterLab

The GenePattern Notebook environment gives GenePattern users the ability to interleave text, graphics, and code with their GenePattern analyses to create "notebooks" that can be edited, shared, and published.

GenePattern Notebooks are built on the Jupyter environment and extend it so that users can take advantage of its ease of use and ability to encapsulate an entire scientific research narrative, without the need to write code. They are a core component of the g2nb project.

Looking for classic Jupyter Notebook support?

Jupyter Notebook support in is available, albeit no longer in active development. You can find it in its own branch. Just click here!

Prerequisites

  • JupyterLab >= 3.0.0
  • ipywidgets >= 7.0.0

Docker

A Docker image with nbtools and the full JupyterLab stack is available through DockerHub.

docker pull genepattern/lab
docker run --rm -p 8888:8888 genepattern/lab

Installation

Full installation instructions for casual use are detailed on the GenePattern Notebook website. Users should also consider the g2nb Notebook Repository, which provides an install-free cloud deployment of the full suite of g2nb tools, including GenePattern Notebook.

Development Install

The installation instructions below are intended for developers who want to install the project from PIP or GitHub for the purposes of software development.

Install Python

In order to get the GenePattern Notebook working you will first need to install a compatible version of Python. This means you will need Python 3.6+. We recommend using the Anaconda Python distribution. This is a scientific version of Python that ships with many of the most popular Python packages for science, math and data analysis (ex: NumPy, SciPy, Pandas, Matplotlib, IPython, etc.).

Note for Mac Users: Mac comes with Python, but if you have an older version of the OS you will need to install a newer version, as many older versions of MacOS ship with Python 2.

Install GenePattern Notebook from GitHub

Copy the contents of genepattern-notebook/extension to your development computer and ensure that the resulting directory if on your Python path. To test this, open Python and try to import genepattern. If this is successful, you have a copy of the extension available.

If you don't already have Jupyter installed, you can install it from PIP by running:

pip install jupyter

From here go to the "Load the GenePattern extension" step below.

Install GenePattern Notebook from PIP or Conda

The easiest way to install GenePattern Notebook is through either PIP or conda. It can be installed by executing one of the following commands:

pip install genepattern-notebook

or

conda install -c genepattern genepattern-notebook

Load the nbtools extension

# Install ipywidgets, if you haven't already
jupyter nbextension enable --py widgetsnbextension
jupyter labextension install @jupyter-widgets/jupyterlab-manager

# Clone the nbtools repository
git clone https://github.com/genepattern/nbtools-lab-prototype.git
cd nbtools-lab-prototype

# Install the nbtools JupyterLab prototype
pip install .
jupyter labextension install .
jupyter nbextension install --py nbtools --sys-prefix
jupyter nbextension enable --py nbtools --sys-prefix

Launch Jupyter

Finally, you may launch JupyterLab by issuing the following command at the terminal:

jupyter lab

This will start up the notebook kernel and launch your web browser pointing to the Notebook.

Related Repositories

The following GitHub repositories contain code or other data related to the GenePattern Notebook environment.

  • g2nb: A meta-package which installs all of the g2nb tools and extensions.
  • genepattern-python: The GenePattern Library allows for programmatic access to GenePattern from Python, and is used by GenePattern Notebook behind the scenes.
  • nbtools: The Notebook Tool Manager is a tool-agnostic interface and registry for searching, browsing and launching available notebook tools in a Jupyter environment.
  • jupyter-wysiwyg: A WYSIWYG editor for markdown cells.
  • example-notebooks: A repository of example notebooks that demonstrate functionality or analysis techniques in the GenePattern Notebook environment.
  • workspace: Scripts, services and other infrastructure used in the operation of the GenePattern Notebook Repository.

Known Issues

The current version of the code only works with GenePattern 3.9.3 and up!

Users using the GenePattern Notebook with an older version of GenePattern (3.9.3 or 3.9.4) may need to log into the GenePattern UI before making use of the notebook. The server status message and child jobs will also be unavailable. If you are using one of these older versions, we recommend that you upgrade to the latest version of GenePattern.

Code of Conduct

We are dedicated to providing a harassment-free experience for all members of the GenePattern community, regardless of gender, gender identity and expression, sexual orientation, disability, physical appearance, body size, age, race, or religion. We do not tolerate harassment of participants in any form. This code of conduct applies to all GenePattern spaces, including the Google Group, our Git repositories, and our social media accounts, both online and off. Anyone who violates this code of conduct may be sanctioned or expelled from these spaces at the discretion of the GenePattern team.

For more details, see our Code of Conduct.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].