Skip to content

Instantly share code, notes, and snippets.

@erictleung
Last active January 9, 2020 22:17
Show Gist options
  • Save erictleung/03b95c8174f986dcf641df843d6dbbb6 to your computer and use it in GitHub Desktop.
Save erictleung/03b95c8174f986dcf641df843d6dbbb6 to your computer and use it in GitHub Desktop.
Setup DADA2 R environment with Anaconda

Anaconda Setup on Exacloud

  1. SSH into Exacloud

  2. Visit Conda website https://docs.conda.io/en/latest/miniconda.html

  3. Copy link to installer

    # Go to home directory and download install script
    cd
    wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
  4. Install conda, a general purpose but Python centered package manager.

    bash Miniconda3-latest-Linux-x86_64.sh
  5. Follow prompts on installer screen; accept defaults for now

  6. Exit Exacloud and SSH into it again

  7. Test to see if installation worked with typing conda list

  8. If successful, go into KarstensLab to find an environment.yml file

    cd /home/exacloud/lustre1/teamMicrobiome/KarstensLab
    ls
  9. Create a conda environment with this environment.yml file; installation may take a while

    conda env create -f environment.yml
  10. Check if installation is successful by listing environments

    conda env list
  11. Activate environment

    conda activate dada2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment