public:jlab:jupyter
I assume you just got a fresh clean BCF account to our system. What follows is a step by step guide on how to set up your account to work through our jupyter hub/lab and one or multiple conda environments:
- ssh into our system
- you might have to set proxy information
export http_proxy="http://proxy.computational.bio.uni-giessen.de:3128" && export https_proxy="http://proxy.computational.bio.uni-giessen.de:3128" && export ftp_proxy="http://proxy.computational.bio.uni-giessen.de:3128"
to be able to connect to the internet
- install Miniconda3: https://docs.conda.io/en/latest/miniconda.html
- using default install prefix is fine
- allow conda to initialize your shell, which should be bash
- either log out and ssh into the system again OR reload environment via
. ~/.profile
to let the system know about the newly installed conda.
- install
nb_conda_kernels
- create a new subdirectory
mkdir -p $HOME/Git/Anaconda-Platform
- change into this new directory
cd $HOME/Git/Anaconda-Platform
- clone the repository
git clone https://github.com/Anaconda-Platform/nb_conda_kernels.git
- change into the newly cloned directory
cd nb_conda_kernels
- install necessary dependencies and make sure you do so for the system python version
/usr/bin/pip install traitlets jupyter_client --user
- install
nb_conda_kernels
/usr/bin/python3 setup.py develop --user
- install Qiime2
- change into your home directory
cd
- install “ggmap”: https://github.com/sjanssen2/ggmap
- create a jupyter configuration file
touch `jupyter --config-dir`
with following content. Should you encounter issues, read up more details at https://github.com/Anaconda-Platform/nb_conda_kernels. Most likely, a subdirectory like
.jupyter
does not exist yet in your home dir.{ "CondaKernelSpecManager": { "kernelspec_path": "--user" } }
- in your base environment execute
/usr/bin/python3 -m nb_conda_kernels list
- you should be done! Log in to https://www.computational.bio.uni-giessen.de/jupyter/
public/jlab/jupyter.txt · Last modified: 2021/10/06 13:19 by sjanssen