Conda environment setup for PIASO#
Prerequisites#
You need Jupyter Lab installed to run the tutorial notebooks.
Setting up the environment#
Create a new conda environment with Python 3.9:
conda create -n piaso_env python=3.9
Activate the environment:
conda activate piaso_env
Install scanpy using conda:
conda install -c conda-forge scanpy
Install PIASO tools using pip:
pip install piaso-tools
Install scrublet for cell filtering:
pip install scrublet
Install louvain for community detection:
pip install louvain
Install leidenalg version 0.10.2 for clustering:
conda install -c conda-forge leidenalg=0.10.2
Install ipykernel to use this environment with Jupyter notebooks:
conda install -c anaconda ipykernel
Add the environment to the Jupyter kernel list:
python -m ipykernel install --user --name=piaso_env
Running the Tutorials#
Open any tutorial notebook in Jupyter Lab.
Select
piaso_env
from the kernel dropdown in the top right corner.Now you can run all cells in the notebook.
Your environment is now successfully set up to run all the PIASO tutorials.