Little tool to be used as argument to Snakemake's --cluster-status
argument in a SLURM setting.
Input must be the batch ID.
Output will be a string that is either:
- running
- success
- failed
$ snakemake --cluster 'sbatch --parsable' \
--cluster-status './slurm-cluster-status.py'