Skip to content

Instantly share code, notes, and snippets.

@hyeshik
Last active December 18, 2015 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hyeshik/5811287 to your computer and use it in GitHub Desktop.
Save hyeshik/5811287 to your computer and use it in GitHub Desktop.
#!/bin/sh
#rule: {job}
#input: {job.input}
#output: {job.output}
#threads: {job.threads}
{self.workflow.snakemakepath} --snakefile {self.workflow.snakefile} \
--force -j{self.cores} \
--directory {workdir} --nocolor --notemp --quiet --nolock {job.output} \
> /dev/null && touch "{jobfinished}" || touch "{jobfailed}"
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment