From aec86047442a826c124948ad46a56de6eec95a0a Mon Sep 17 00:00:00 2001 From: Rachel LEGENDRE <rachel.legendre@pasteur.fr> Date: Tue, 11 Mar 2025 10:13:14 +0100 Subject: [PATCH] add virtualenv --- env.sh | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/env.sh b/env.sh index 4926565..0c1bdcf 100644 --- a/env.sh +++ b/env.sh @@ -1,7 +1,7 @@ #install conda via miniconda : -follow this tuto : https://docs.conda.io/en/latest/miniconda.html#linux-installers -#create your conda env +follow this tuto : https://docs.conda.io/en/latest/miniconda.html#linux-installers +##create your conda env conda create -n snakemake conda activate snakemake conda config --add channels defaults @@ -12,6 +12,19 @@ conda install -c bioconda snakemake conda install -c anaconda pandas conda install -c bioconda pysam conda install -c conda-forge singularity -#mandatory for snakemake 8 only +##mandatory for snakemake 8 only pip install snakemake-executor-plugin-slurm -pip install snakemake-executor-plugin-cluster-generic \ No newline at end of file +pip install snakemake-executor-plugin-cluster-generic + + +#install conda via virtulenv : +module load Python/3.11.5 graalvm/ +virtualenv ~/snakemake +source ~/snakemake/bin/activate +pip install snakemake +pip install pandas +pip install pysam +pip install snakemake-executor-plugin-slurm +pip install snakemake-executor-plugin-cluster-generic + + -- GitLab