From 811d492a569442daff671b5c66afaae826262e55 Mon Sep 17 00:00:00 2001 From: Varada Date: Tue, 24 Sep 2024 14:16:11 +0200 Subject: [PATCH] Update 2.2.2_Viral_Taxonomy_and_Phylogeny_II.md --- .../2.2.2_Viral_Taxonomy_and_Phylogeny_II.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/_episodes/2.2.2_Viral_Taxonomy_and_Phylogeny_II.md b/_episodes/2.2.2_Viral_Taxonomy_and_Phylogeny_II.md index 702cacf..938a8d2 100644 --- a/_episodes/2.2.2_Viral_Taxonomy_and_Phylogeny_II.md +++ b/_episodes/2.2.2_Viral_Taxonomy_and_Phylogeny_II.md @@ -327,3 +327,28 @@ Now that we have results from many different tools and programs, we can build a > ``` > {: .source} {: .solution} + + +> ## sbatch script for submitting the plotting script +> ``` +> #!/bin/bash +> #SBATCH --tasks=1 +> #SBATCH --cpus-per-task=2 +> #SBATCH --partition=short +> #SBATCH --mem=5G +> #SBATCH --time=00:10:00 +> #SBATCH --job-name=merge +> #SBATCH --output=2.2_taxonomy/30_merge_summary/merge.slurm.%j.out +> #SBATCH --error=2.2_taxonomy/30_merge_summary/merge.slurm.%j.err +> +> # activate the python virtual environment with the packages we need +> source ../py3env/bin/activate +> +> +> python3 ./python_scripts/taxonomy/merge_summary.py +> +> # deactivate the environment +> deactivate +> ``` +> {: .source} +{: .solution}