https://github.com/kennethabarr/HumanChimp
Tip revision: 1722b3484d1120384c910bef13bffd6a6cd6179a authored by kennethabarr on 02 July 2021, 18:06:58 UTC
first commit
first commit
Tip revision: 1722b34
snakemake_solo.batch
#!/bin/bash
# sbatch submission script to run main snakemake process. It then submits
# individual jobs from the compute node.
#SBATCH --job-name=snakemake
#SBATCH --output=snakelog.out
#SBATCH --time=36:00:00
#SBATCH --partition=gilad
#SBATCH --mem=4G
#SBATCH --tasks-per-node=2
source activate chromium
snakemake \
--nolock \
-kp \
--ri \
-j 150 \
--latency-wait 20 \
--cluster-config /project2/gilad/kenneth/Pipelines/HumanChimp/cluster_solo.json \
-c "sbatch \
--mem={cluster.mem} \
--nodes={cluster.n} \
--tasks-per-node={cluster.tasks} \
--partition={cluster.partition} \
--job-name={cluster.name} \
--output={cluster.logfile}" \
$*