Skip to content

Commit

Permalink
docs: fix tutorial setup instructions for MacOS. (#1383)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Feb 9, 2022
1 parent 7db614f commit b57b749
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions docs/tutorial/setup.rst
Expand Up @@ -120,7 +120,7 @@ Assuming that you have a 64-bit system, on Linux, download and install Miniconda

.. code:: console
$ wget https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh
$ curl -L https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-Linux-x86_64.sh -o Mambaforge-Linux-x86_64.sh
$ bash Mambaforge-Linux-x86_64.sh
On MacOS with x86_64 architecture, download and install with
Expand Down Expand Up @@ -165,11 +165,19 @@ First, we download some example data on which the workflow shall be executed:

.. code:: console
$ wget https://github.com/snakemake/snakemake-tutorial-data/archive/v5.24.1.tar.gz
$ tar --wildcards -xf v5.24.1.tar.gz --strip 1 "*/data" "*/environment.yaml"
$ curl -L https://github.com/snakemake/snakemake-tutorial-data/archive/v5.24.1.tar.gz -o snakemake-tutorial-data.tar.gz
Next we extract the data. On Linux, run

.. code:: console
$ tar --wildcards -xf snakemake-tutorial-data.tar.gz --strip 1 "*/data" "*/environment.yaml"
On MacOS, run

.. code:: console
$ tar -xf snakemake-tutorial-data.tar.gz --strip 1 "*/data" "*/environment.yaml"
This will create a folder ``data`` and a file ``environment.yaml`` in the working directory.
If your tar command does not provide a ``--wildcards`` flag, you can also just unpack the file without it (which will just leave some more unneeded files in the working directory).

Step 3: Creating an environment with the required software
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Expand Down

0 comments on commit b57b749

Please sign in to comment.