UNPKG

4.67 kBMarkdownView Raw
1[![Build Status](https://travis-ci.com/nextstrain/auspice.svg?branch=master)](https://travis-ci.com/nextstrain/auspice)
2[![GitHub CI Status](https://travis-ci.com/nextstrain/auspice.svg?branch=master)](https://github.com/nextstrain/auspice/actions?query=workflow%3Aci)
3[![NPM version](https://img.shields.io/npm/v/auspice.svg?style=flat)](https://www.npmjs.com/package/auspice)
4[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](https://www.gnu.org/licenses/agpl-3.0)
5
6## About Nextstrain
7
8**Nextstrain** is an open-source project to harness the scientific and public health potential of pathogen genome data.
9We provide a continually-updated view of publicly available data with powerful analytics and visualizations showing pathogen evolution and epidemic spread.
10Our goal is to aid epidemiological understanding and improve outbreak response.
11
12Resulting data and inferences are available live at the website [nextstrain.org](https://nextstrain.org).
13
14## About Auspice
15
16*Definition: Observation by an augur, ie a prophetic sign.*
17
18**Auspice** is an open-source interactive web app for visualizing phylogenomic data.
19It may be used in tandem with nextstrain's bioinformatics toolkit [augur](https://github.com/nextstrain/augur) or on its own.
20Auspice may be used to explore datasets locally or run as a server to share results.
21
22## Documentation
23
24Full documentation may be found at: [nextstrain.github.io/auspice](https://nextstrain.github.io/auspice).
25The following are helpful when beginning to use Auspice:
26
27* [Overview of how Auspice fits together with other Nextstrain tools](https://nextstrain.org/docs/getting-started/introduction#open-source-tools-for-the-community)
28* [Auspice documentation](https://nextstrain.github.io/auspice/introduction/overview)
29
30## Quickstart
31
32### Installation
33
34Install auspice for use as a global command.
35This requires nodejs 10+. We recommend using a conda environment, but this is not the only way.
36(See [here](https://nextstrain.github.io/auspice/introduction/install) for more installation methods & help).
37
38#### Install with conda (Recommended)
39
40Create and activate a [conda](https://docs.conda.io) environment:
41
42```bash
43conda create --name auspice nodejs=10
44conda activate auspice
45```
46
47Now that the conda environment is activated, install auspice:
48
49```bash
50npm install --global auspice
51```
52
53#### Install from source
54
55```bash
56git clone https://github.com/nextstrain/auspice.git
57cd auspice
58npm install --global .
59```
60
61### Obtain datasets to display
62
63To get up & running, you'll need datasets to visualise.
64(Please see the [nextstrain docs](https://nextstrain.org/docs/) for tutorials on how to run your own analyses.)
65
66If you've installed auspice from `npm` you may get datasets to display via:
67
68```bash
69mkdir data
70curl http://data.nextstrain.org/zika.json --compressed -o data/zika.json
71curl http://data.nextstrain.org/ncov.json --compressed -o data/ncov.json
72...
73```
74
75If you've installed auspice from source, we have helper scripts to make all the datasets & narratives you see on nextstrain.org available locally:
76
77```bash
78# from the auspice src directory
79npm run get-data
80npm run get-narratives
81```
82
83### Run auspice
84
85```bash
86auspice view --datasetDir data
87```
88
89And view auspice in the browser at [localhost:4000](http://localhost:4000)
90
91If you are editing source code, running the following command will allow hot-reloading.
92
93```bash
94auspice develop --datasetDir data
95```
96
97### CLI (Command Line Interface)
98
99Run `auspice --help` or `auspice view --help` to see all the available command line options.
100
101## Contributor Information
102
103> 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:
104
105* [Contributor guide](https://github.com/nextstrain/.github/blob/master/CONTRIBUTING.md)
106* [Project board with available issues](https://github.com/orgs/nextstrain/projects/5)
107* [Developer docs for Auspice](./DEV_DOCS.md)
108
109This project strictly adheres to the [Contributor Covenant Code of Conduct](https://github.com/nextstrain/.github/blob/master/CODE_OF_CONDUCT.md).
110
111## License and copyright
112
113Copyright 2014-2020 Trevor Bedford and Richard Neher.
114
115Source 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.