Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source canonical Nextstrain environment file for Travis CI #421

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ before_install:
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda env create -f environment.yml
- source activate augur
- wget http://data.nextstrain.org/nextstrain.yml -O nextstrain.yml;
- conda env create -f nextstrain.yml
- source activate nextstrain
install:
- pip3 install -e .[dev]
script:
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,12 @@ Augur uses some common external bioinformatics programs which you'll need to ins

Alternatively, all these dependencies (as well as augur itself) can be installed via Conda by running:

conda env create -f environment.yml
curl http://data.nextstrain.org/nextstrain.yml --compressed -o nextstrain.yml
conda env create -f nextstrain.yml

Once installed, Conda the enviroment need to be activated whenever augur is to be used, by running:
Once installed, the environment need to be activated whenever augur is to be used, by running:

conda activate augur
conda activate nextstrain

## Usage

Expand Down
9 changes: 5 additions & 4 deletions docs/installation/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,14 @@ Other Linux distributions will likely have the same packages available, although

Alternatively, augur itself and all of its dependencies can be installed into a [Conda](https://conda.io/miniconda.html) environment:

conda env create -f environment.yml
curl http://data.nextstrain.org/nextstrain.yml --compressed -o nextstrain.yml
conda env create -f nextstrain.yml

> _By default this environment is named "augur" but you can change that by providing a name to the above command with `-n <your-env-name>`_
> _By default this environment is named "nextstrain" but you can change that by providing a name to the above command with `-n <your-env-name>`_

When that finishes, the enviroment needs to be activated whenever you want to use augur:
When that finishes, the environment needs to be activated whenever you want to use augur:

conda activate augur
conda activate nextstrain

## Install from source

Expand Down
15 changes: 0 additions & 15 deletions environment.yml

This file was deleted.