Overview
Table of Contents | ||
---|---|---|
|
...
The PCs in the computer labs already have R and RStudio installed. If using this option, you will need to install the required R packages (unlike rVDI). The code for installing these packages is in the analysis section below.Open PuTTy and paste the text below into the command prompt:
Code Block |
---|
qsub -I -S /bin/bash -l walltime=4:00:00 -l select=1:ncpus=16:mem=128gb |
After a few minutes interactive mode will start. You will now be able to do all your analysis - including running Nextflow and Nanopore workflows - in this interactive session.
Map your HPC home directory
...
Interactive HPC session
In the next step we’re going to copy some data files to your home directory.
Just like in the last session, we’re going to start an interactive PBS session to do this, so we’re not all copying large datasets on the head node.
Open PuTTy and paste the text below into the command prompt:
Code Block |
---|
qsub -I -S /bin/bash -l walltime=4:00:00 -l select=1:ncpus=8:mem=32gb |
Wait until the interactive session starts, then move to the next step (below).
Create your workshop folders and check your data
...
Code Block |
---|
mkdir $HOME/meta_workshop/R_analysis |
Copy
Open RStudio and create a new R script
...
Create a new script by ‘File’ → “New File” → “R script”. Now hit ‘File’ → ‘Save’ and save the script in H:/meta_workshop/R_analysis (i.e. the directory we just created). Give the script a name. Call it “R_metagenomics”.
...