-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
139 changed files
with
7,284 additions
and
728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# Launches a snakefile of your choice in dry run mode (for debugging) | ||
# Usage: ./dry_run.sh <snakefile.smk> <target_rule> "<snakemake_flags>" | ||
# Example: ./dry_run.sh example.smk example_all | ||
# snakefile.smk The snakefile you want to run | ||
# target_rule: The name of one of the target rules specified in one of the included Snakefiles | ||
# snakemake_flags: One or more flags for the snakemake to run, specified inside quotation marks | ||
|
||
|
||
# Default to all targets | ||
TARGETS=${@:-all} | ||
snakefile=$1 | ||
TARGETS=${2:-all} | ||
snakemake_flags=$3 | ||
|
||
snakemake --dryrun --cores 24 $snakemake_flags -s $snakefile --printshellcmds --reason --use-conda $TARGETS | ||
|
||
|
||
snakemake --dryrun --cores 24 --printshellcmds --reason --use-conda $TARGETS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.