Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nextstrain/auspice
Web app for visualizing pathogen evolution
https://github.com/nextstrain/auspice
Last synced: 5 days ago
JSON representation
Web app for visualizing pathogen evolution
- Host: GitHub
- URL: https://github.com/nextstrain/auspice
- Owner: nextstrain
- License: agpl-3.0
- Created: 2016-04-22T19:54:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T04:46:59.000Z (16 days ago)
- Last Synced: 2024-10-24T09:56:48.474Z (16 days ago)
- Language: JavaScript
- Homepage: https://docs.nextstrain.org/projects/auspice/
- Size: 19.9 MB
- Stars: 292
- Watchers: 28
- Forks: 162
- Open Issues: 284
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-starred - nextstrain/auspice - Web app for visualizing pathogen evolution (others)
README
[![Build Status](https://github.com/nextstrain/auspice/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/nextstrain/auspice/actions/workflows/ci.yaml?query=branch:master)
[![NPM version](https://img.shields.io/npm/v/auspice.svg?style=flat)](https://www.npmjs.com/package/auspice)
[![Conda Version](https://img.shields.io/conda/vn/bioconda/auspice)](https://bioconda.github.io/recipes/auspice/README.html)
[![Conda Platform](https://img.shields.io/conda/p/bioconda/auspice)](https://anaconda.org/bioconda/auspice/files)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)## About Nextstrain
**Nextstrain** is an open-source project to harness the scientific and public health potential of pathogen genome data.
We provide a continually-updated view of publicly available data with powerful analytics and visualizations showing pathogen evolution and epidemic spread.
Our goal is to aid epidemiological understanding and improve outbreak response.Resulting data and inferences are available live at the website [nextstrain.org](https://nextstrain.org).
## About Auspice
*Definition: Observation by an augur, ie a prophetic sign.*
**Auspice** is an open-source interactive web app for visualizing phylogenomic data.
It may be used in tandem with nextstrain's bioinformatics toolkit [augur](https://github.com/nextstrain/augur) or on its own.
Auspice may be used to explore datasets locally or run as a server to share results.## Documentation
The main Nextstrain documentation is available at [docs.nextstrain.org](https://docs.nextstrain.org/en/latest/index.html). This includes tutorials, how-to guides, and explanations of concepts to help you get started and answer common questions to achieve your goal(s) with Auspice and other Nextstrain tools.
When getting started with Auspice, it may be helpful to read our [overview of how Auspice fits together with other Nextstrain tools](https://docs.nextstrain.org/en/latest/learn/about-nextstrain.html#open-source-tools-for-the-community).
For more detailed technical information how Auspice works and reference guides describing specific Auspice features, check out the Auspice reference-guide documentation at [docs.nextstrain.org/projects/auspice](https://docs.nextstrain.org/projects/auspice/en/stable/index.html).
## Quickstart
### Installation
See [the relevant page on Auspice docs](https://docs.nextstrain.org/projects/auspice/en/stable/introduction/install.html).
### Obtain datasets to display
To get up & running, you'll need datasets to visualise.
(Please see the [nextstrain docs](https://nextstrain.org/docs/) for tutorials on how to run your own analyses.)If you've installed auspice from `npm` you may get datasets to display via:
```bash
mkdir data
curl http://data.nextstrain.org/zika.json --compressed -o data/zika.json
curl http://data.nextstrain.org/ncov.json --compressed -o data/ncov.json
...
```If you've installed auspice from source, we have a helper script to download a number of datasets for testing:
```bash
# from the auspice src directory
npm run get-data
```### Obtain narratives to view locally
This repository contains a number of "test narratives" which serve both to provide examples of the capability of narratives, as well as being used to test functionality and fix bugs.
These should work out of the box, assuming you have obtained the necessary datasets via the above script.If you wish to view the [nextstrain-maintained narratives](https://nextstrain.org/docs/contributing/sharing-data), then this can be done by checking out the [nextstrain/narratives github repo](github.com/nextstrain/narratives) and telling `auspice` to look for narratives there via the `--narrativeDir` argument.
### Run auspice
```bash
auspice view --datasetDir data
```And view auspice in the browser at [localhost:4000](http://localhost:4000)
If you are editing source code, running the following command will allow hot-reloading.
```bash
auspice develop --datasetDir data
```#### Environment variables
The client looks for some environment variables. All are optional.
> [!NOTE]
> This is an incomplete list. For other variables, search for `process.env.` in the codebase.- `SKIP_REDUX_CHECKS`: Set this to a truthy value to improve dev server responsiveness. Useful when you see a console warning like this:
> ImmutableStateInvariantMiddleware took 200ms, which is more than the warning threshold of 32ms.
> If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode.### CLI (Command Line Interface)
Run `auspice --help` or `auspice view --help` to see all the available command line options.
## Contributor Information
> We have received a number of generous offers to contribute developer effort to nextstrain (and auspice) following our work on hCoV-19. We welcome contributions! To get started, please review these resources before submitting a pull request:
* [Contributor guide](https://github.com/nextstrain/.github/blob/master/CONTRIBUTING.md)
* [Project board with available issues](https://github.com/orgs/nextstrain/projects/5)
* [Developer docs for Auspice](./DEV_DOCS.md)This project strictly adheres to the [Contributor Covenant Code of Conduct](https://github.com/nextstrain/.github/blob/master/CODE_OF_CONDUCT.md).
## License and copyright
Copyright 2014-2022 Trevor Bedford and Richard Neher.
Source code to Nextstrain is made available under the terms of the [GNU Affero General Public License](LICENSE.txt) (AGPL). Nextstrain is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.