Nextstrain.org uses Auspice to visualize JSON files that are created by Augur. While this is the most visible example, there are many other ways to use Auspice to visualize your results.
We'll walk through each of these in detail, roughly in order from the simplest and most private to the slightly more complex and publicly shareable.
If none of these options meet your needs, please get in touch!
Below, we describe the privacy considerations for each of the available options.
One approach to handling sensitive metadata is to simply keep it entirely separate. With any of these options, you can also choose to drag-and-drop a separate TSV file onto the Auspice visualization.
Doing so will enable you to color by any of the values in this extra metadata file, but none of that data ever leaves your local computer.
- Create a TSV file with a
strain
orname
column that matches all the samples in your dataset - Add your sensitive metadata to the remaining columns
- On your computer, drag and drop the file onto the browser window where Auspice is visualizing your JSON
For more help formatting this metadata file, including how to do so using Excel, see this page
- Quickstart: Drag-and-drop the file from
./auspice/sarscov2_global.json
onto the page at https://auspice.us. - Advantages: Quick, no-setup viewing of results, including sensitive data.
- Limitations: Requires separate management of JSON file sharing and version control. Sharing a specific view via a URL isn't possible with this method.
- Navigate to https://auspice.us
- Drag the output JSON file from
./auspice/<buildname>.json
onto the page
Share the JSON file and instructions directly.
When your browser connects to auspice.us, it downloads from the server a version of the Auspice code which runs solely on your computer, within your browser. Then, when you drag a file onto the page, that code processes the data in your browser and displays it to you without ever sending it back to the auspice.us server. All the heavy bioinformatics computations were already performed and stored in the file you provide, which is what lets everything work quickly just on your computer.
- Quickstart:
sarscov2-tutorial$ auspice view
- Advantages: Offline, entirely local viewing of results, including sensitive data.
- Limitations: Requires collaborators to install Auspice locally. Requires separate management of JSON file sharing and version control. Sharing a specific view via a URL isn't possible with this method.
- Follow the instructions here to install Auspice on your computer.
- Make sure the JSON you'd like to visualize is in
./auspice/<mybuildname>.json
; alternatively, pass the--datasetDir
flag to specify another directory. - Run
auspice view
and select the build of interest.
Share the JSON file and instructions directly.
When running locally, both the server and the client run on your computer; no internet connection is requried. No data ever leaves your local machine.
- Example: https://nextstrain.org/groups/blab/
- Advantages: Web-based viewing of results with full authentication / login controls; accommodates both public and private datasets. Sharing a specific view via URL is possible with this method.
- Limitations: Setup is slightly more involved, but we're ready to help!
Nextstrain Groups are a new feature; if you'd like to use this option, please get in touch and we'll help you get started right away!
With Nextstrain Groups, you can choose whether each dataset is publicly viewable or private to only other users in your group. Data is hosted in an AWS S3 bucket under your control, and is not shared with the Nextstrain team or anyone else.
- Advantages: Fully featured, plug-and-play visualization of any JSON file hosted on Github.
- Limitations: Only available for publicly viewable JSON files in public repositories.
Quickstart:
- Put your JSON in a github repository like so:
myGithubOrganization/myRepository/auspice/<myBuildName>.json
- Navigate to
https://nextstrain.org/community/myGithubOrganization/myRepository/myBuildName
Check out our full guide to community pages here.
Community builds are visible to anyone with the URL.
- Example: XXX
- Advantages: Fully-featured Auspice instance, natively hosted on your own domain.
- Limitations: More technically involved, especially if user authentication is required.
Independently hosted Auspice servers can be configured with any security protocols necessary.