Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
RamiyapriyaS authored Jan 9, 2025
1 parent 58e2b6e commit adb1aa1
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions notebooks/Snakemake/AWS-ParallelCluster.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
"id": "73692fbe",
"metadata": {},
"source": [
"3. Install conda. This is required as we will be executing Snakemake using conda. "
"3. Install mamba. This is required as we will be executing Snakemake using mamba. "
]
},
{
Expand All @@ -179,12 +179,10 @@
"metadata": {},
"source": [
"```bash\n",
"wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh\n",
"bash ~/miniconda.sh\n",
"~/miniconda3/bin/conda init\n",
"source ~/.bashrc\n",
"which conda\n",
"conda --version\n",
"wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh\n",
"bash Miniconda3-latest-Linux-x86_64.sh\n",
"conda install mamba -c conda-forge\n",
"mamba --version\n",
"```"
]
},
Expand Down Expand Up @@ -718,13 +716,13 @@
"Execute the workflow using the **Snakemake** command, specifying **pcluster-Slurm** as the executor and **conda** as the environment management system\n",
"\n",
"```bash\n",
"Snakemake --executor pcluster-Slurm --use-conda -j 5\n",
"Snakemake --executor pcluster-Slurm --use-conda --conda-frontend mamba -j 5\n",
"```\n",
"#### Commandline Command Breakdown: \n",
"\n",
"**--use-conda** \n",
"**--use-conda --conda-frontend mamba** \n",
"\n",
"This flag tells Snakemake to use Conda environments for managing dependencies. When this flag is used, Snakemake will look for environment.yaml files specified in the workflow rules and create Conda environments accordingly. \n",
"This flag tells Snakemake to use mamba environments for managing dependencies. When this flag is used, Snakemake will look for environment.yaml files specified in the workflow rules and create mamba environments accordingly. \n",
"\n",
"**-j** \n",
"\n",
Expand Down Expand Up @@ -769,7 +767,11 @@
]
}
],
"metadata": {},
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

0 comments on commit adb1aa1

Please sign in to comment.