snakemake 88 Bytes
#!/bin/bash
ncpus=$(getconf _NPROCESSORS_ONLN)
snakemake $1 --use-singularity -j $ncpus