- JupyterLab ^0.30.0
- Node.js >= 5
jupyter labextension install @jupyterlab/fasta-extension
To render fasta output in IPython:
from IPython.display import displaybundle == data= data
To render a
.fasta file, simply open it.
jlpm command is JupyterLab's pinned version of
yarn that is installed with JupyterLab. You may use
npm in lieu of
# Clone the repo to your local environmentgit clone https://github.com/jupyterlab/jupyter-renderers.gitcd jupyter-renderers# Install dependenciesjlpm# Build Typescript sourcejlpm build# Link your development version of the extension with JupyterLabjupyter labextension link packages/fasta-extension# Rebuild Typescript source after making changesjlpm build# Rebuild JupyterLab after making any changesjupyter lab build
You can watch the jupyter-renderers directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.
# Run jupyterlab in watch mode in one terminal tabjupyter lab --watch# Watch the jupyter-renderers directory in another terminal tabjlpm watch
jupyter labextension uninstall @jupyterlab/fasta-extension