The data visualisation aspect of nextstrain.org 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.
Nextstrain.org 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 ;).
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 nextstrain.org, 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!
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.