### Be sure to start an interactive job with plenty of resources. If you can get it, this works great, but may be a bit overkill:
# srun --account=$MYGROUP --nodes=1 --ntasks-per-node=16 --mem-per-cpu=8000mb --time=09:00:00 -p interactive --pty bash

### Get to the correct dir to start
cd /home/schwertf/shared/disaster_recovery/bmcc/braedan_AE_scrnaseq_220502/

### Get the virtual environment started
module load python3/3.9.3_anaconda2021.11_mamba
source activate /home/lmnp/bmcc/envs/scRNAseq.take3.venv

### These two packages act strangely and must be loaded separately. If running through OOD, include them in the packages you require.
module load udunits/2.2.27.6_gcc7.2.0 # Needed for Seurat and/or clusterProfiler
module load geos/3.7.1 # Required for loading Seurat in R
### Possibly:
#module load R/4.1.0

### Start R
#R
/home/lmnp/bmcc/envs/scRNAseq.take3.venv/bin/R
#/panfs/roc/msisoft/R/4.1.0/bin/R
