This repository contains the source for the Jan 30 - Feb 4 2022 Microbiome Bioinformatics with QIIME 2 workshop tutorial at FAES.
This content is presented as a JupyterBook at insert URL when available. You shouldn't need to access this source repository if you're interested in following the tutorial or reading other parts of the JupyterBook.
If you're interested in building this JupyerBook on your own computer, or in building other QIIME 2 Usage-enabled JupyterBooks, instructions follow below.
QIIME 2 Usage API enabled JupyterBooks allow for the development of JupyterBooks that can illustrate QIIME 2 workflows as steps in different QIIME 2 interfaces. This README.md illustrates how to build this particular QIIME 2 Usage API enabled JupyterBooks, and since this is first of these, it also illustrates how to build your own QIIME 2 Usage API enabled JupyterBook.
-
Install QIIME 2 following the instructions in the QIIME 2 documentation here.
-
Install JupyterBook following the instructions in the JupyterBook documentation here.
-
Install the most recent development version of the QIIME 2 Sphinx extension (q2doc) in developer mode:
git clone git@github.com:qiime2/sphinx-ext-qiime2.git pip install -e .
-
Obtain or create JupyterBook content:
- To build this JupyterBook on your computer, clone this repository and
change into the new directory that is created:
git clone git@github.com:gregcaporaso/2022.1-faes-tutorial.git cd 2022.1-faes-tutorial
- Alternatively, to create your own JupyterBook:
- Start by creating a template
JupyterBook:
jupyter-book create book/
- Edit
book/_config.yml
, adding the following to the bottom of the document:sphinx: extra_extensions : ["q2doc.usage"] config : {'html_baseurl': 'http://localhost:8000'}
- Start by creating a template
JupyterBook:
- To build this JupyterBook on your computer, clone this repository and
change into the new directory that is created:
-
Build the book and initiate http server to host the book content:
jupyter-book build book && cd book/_build/html/ && python -m http.server && cd -
-
Open
http://localhost:8000
in your web browser. -
Read and enjoy. 📚 ☕
docker pull github/super-linter:latest
docker run -e RUN_LOCAL=true -e VALIDATE_JSCPD=false -v $PWD:/tmp/lint github/super-linter