Skip to content

Commit

Permalink
support slurm, WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
y9c committed Aug 26, 2022
1 parent a49c2dd commit 6e0d4a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sacseq
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,8 @@ if [ "$#" != 0 ]; then
shift # $EOL
fi

FLASK_ENV=development snakemake -q --rerun-incomplete -s /opt/pipeline/Snakefile -j ${cores} --configfiles /opt/pipeline/config.yaml ${conf} --profile ${profile}
if [ -n ${profile} ]; then
FLASK_ENV=development snakemake -q --rerun-incomplete -s /opt/pipeline/Snakefile -j ${cores} --configfiles /opt/pipeline/config.yaml ${conf} --profile ${profile}
else
FLASK_ENV=development snakemake -q --rerun-incomplete -s /opt/pipeline/Snakefile -j ${cores} --configfiles /opt/pipeline/config.yaml ${conf}
fi

0 comments on commit 6e0d4a5

Please sign in to comment.