Skip to content

# change directory to your tutorial directory cd /gpfs/mskmindhdp_emc/user/shared_data_folder/pathology-tutorial/snakemake # create the virtual environment python3 -m venv venv-snakemake # activate the virtual environment source venv-snakemake/bin/activate # upgrade pip python3 -m pip install --upgrade pip # install ipykernel pip install ipykernel # install snakemake pip install snakemake # Register this env with jupyter lab. It’ll now show up in the # launcher & kernels list once you refresh the page python -m ipykernel install --user --name venv-snakemake --display-name "venv-snakemake" # List kernels to ensure it was created successfully jupyter kernelspec list

cd data-processing/ pip install -e . cd classifier pip install -r requirements.txt

export PYTHONPATH='/opt/spark-3.0.0-bin-hadoop3.2/python/'

snakemake --cores 1