New website

The data visualisation aspect of has been under a lot of development over the last year, with new features and new datasets, but we’ve fallen behind with documentation and explanations of everything that’s going on. We’ve now expanded Nextstrain to include pages explaining the ideas behind the project, documentation of features and code, as well as the ability to write blogposts such as this one. Content’s still being added, and soon we’ll have some tutorials to help people understand and use the data visualisations at the core of Nextstrain.

Technical details is built from this repo using Heroku. It’s really only a simply node server which, upon deployment, fetches built versions of auspice and the static site. The only complicated aspect is deciding whether to serve auspice or Gatsby files for a given request.

The static site: can be found here and is build using Gatsby. This comprises the splash page and documentation (docs, about, blogs etc) all build from markdown files. This page explains the structure of the static page and shows how to add content – it’s really easy ;).

Auspice: is the visualisation app, build as a single page javascript application (github). This is what used to be, but is now only used to visualise datasets (e.g. Removing the splash & about pages from auspice allows for easier development of auspice, and makes adding static content a matter of writing markdown rather than modifying the JavaScript of auspice.

Deploying: All three repos use travis CI, which checks to see if code pushed to GitHub can be successfully built, so you can see the build statuses for, the static code and auspice. When certain branches (master for the static site, release for auspice) successfully pass Travis CI, Heroku is notified and rebuilds itself using the latest versions. This means that to update the static site, for instance if you’ve added some markdown content or a blog post like this one, all that’s needed is to push to master (or submit a PR and have it merged into master) and the entire website will be updated!

All source code is freely available under the terms of the GNU Affero General Public License. Screenshots may be used under a CC-BY-4.0 license and attribution to must be provided.

This work is made possible by the open sharing of genetic data by research groups from all over the world. We gratefully acknowledge their contributions. Special thanks to Kristian Andersen, Josh Batson, David Blazes, Jesse Bloom, Peter Bogner, Anderson Brito, Matt Cotten, Ana Crisan, Tulio de Oliveira, Gytis Dudas, Vivien Dugan, Karl Erlandson, Nuno Faria, Jennifer Gardy, Nate Grubaugh, Becky Kondor, Dylan George, Ian Goodfellow, Betz Halloran, Christian Happi, Jeff Joy, Paul Kellam, Philippe Lemey, Nick Loman, Duncan MacCannell, Erick Matsen, Sebastian Maurer-Stroh, Placide Mbala, Danny Park, Oliver Pybus, Andrew Rambaut, Colin Russell, Pardis Sabeti, Katherine Siddle, Kristof Theys, Dave Wentworth, Shirlee Wohl and Cecile Viboud for comments, suggestions and data sharing.

Nextstrain is supported by


© 2015-2021 Trevor Bedford and Richard Neher