#!/bin/bash

#SBATCH -n 1
#SBATCH -t 04:00:00
#SBATCH -J med
#SBATCH -e /esarchive/scratch/%u/tmp/auto-s2s-logs/run-%j.err
#SBATCH -o /esarchive/scratch/%u/tmp/auto-s2s-logs/run-%j.out

script=$1
atomic_recipe=$2

source MODULES

Rscript ${script} ${atomic_recipe}
