-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'latest' into lirber/rust_1.75beta_lints
- Loading branch information
Showing
9 changed files
with
101 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# Installing sourmash | ||
|
||
This tutorial should run without modification on Linux or Mac OS X, | ||
under [Miniforge](https://github.com/conda-forge/miniforge). | ||
|
||
You'll need about 5 GB of free disk space. | ||
|
||
## Install miniforge | ||
|
||
If you don't have the `mamba` command installed, you'll need to install | ||
[miniforge](https://github.com/conda-forge/miniforge#install). | ||
|
||
On Linux, this should work: | ||
``` | ||
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh" | ||
bash Miniforge3-$(uname)-$(uname -m).sh -b | ||
~/miniforge3/bin/mamba init | ||
echo 'source ~/.bashrc' > ~/.bash_profile | ||
source ~/.bash_profile | ||
``` | ||
otherwise, follow the instructions [here](https://github.com/conda-forge/miniforge#install). | ||
|
||
## Add bioconda | ||
|
||
sourmash is installed from the [bioconda software channel](https://bioconda.github.io/), so you'll need to add that to your config: | ||
|
||
``` | ||
conda config --add channels defaults | ||
conda config --add channels bioconda | ||
conda config --add channels conda-forge | ||
conda config --set channel_priority strict | ||
``` | ||
|
||
## Install sourmash | ||
|
||
To install sourmash, create a new environment named `smash` and install sourmash: | ||
|
||
``` | ||
mamba create -y -n smash sourmash | ||
``` | ||
|
||
and then activate: | ||
``` | ||
conda activate smash | ||
``` | ||
|
||
You should now be able to use the `sourmash` command: | ||
|
||
``` | ||
sourmash info | ||
``` | ||
|
||
Voila! |
Oops, something went wrong.