Skip to content

Python Environment

Damianos P. Melidis edited this page Nov 25, 2021 · 5 revisions

Python Environment

On a linux/unix machine do:

  1. Create genotoscope conda environment with python3.7:

    conda create -n genotoscope_env python=3.7

  2. Activate the environment:

    conda activate genotoscope_env

  3. Add channels to environment:

    conda config --add channels bioconda

    conda config --add channels conda-forge

  4. Install pyvcf and pybedtools through conda:

    conda install pybedtools==0.8.2

    conda install pyvcf==0.6.8

  5. Install all other requirements through pip3:

    pip3 install -r genotoscope_env_requirements.txt

To deactivate the environment use: conda deactivate