qiime2/q2view

Name: q2view

Owner: QIIME 2

Description: A web-based "serverless" viewer of QIIME 2 Artifacts and Visualizations

Created: 2016-10-03 19:38:24.0

Updated: 2016-12-23 20:48:53.0

Pushed: 2018-01-17 23:27:34.0

Homepage: https://view.qiime2.org

Size: 211

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

This README is for developers and people interested in learning more about q2view. If you just need the functionality, q2view is already compiled and hosted at https://view.qiime2.org

q2view

This HTML 5 interface provides a way to view .qza/.qzv files produced by QIIME 2. It provides:

This interface uses the Service Worker API to “hoist” the contents of a .qzv's /data directory into the interface allowing relative links within a visualization to work via standard HTTP requests.

To build, first install the dependencies (while in root of the repo):

install

Then run:

run build

This will create a build directory containing the constructed contents. These should then be hosted somewhere capable of managing static pages. Important: HTTPS is required (by service worker API) when not hosting from localhost.

It is also possible to use webpack HMR, though it doesn't work very well at the moment due to the nature of service workers:

start

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.