-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
11 changed files
with
78 additions
and
14 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 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
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
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/usr/bin/bash | ||
|
||
# Example call to run the workflow on a Slurm cluster. | ||
|
||
#SBATCH --job-name=varfish-db-downloader | ||
#SBATCH --output=slurm-varfish-db-downloader-%j.out | ||
# | ||
#SBATCH --nodes=1 | ||
#SBATCH --ntasks=2 | ||
#SBATCH --time=2-00:00:00 | ||
#SBATCH --memory=2G | ||
|
||
set -x | ||
set -euo pipefail | ||
|
||
# Number of jobs to run at the same time. | ||
JOBS=${JOBS-500} | ||
# Default partition. | ||
PART=${PART-critical} | ||
# Be relaxed with reruns. | ||
RELAXED_RERUNS=${RELAXED_RERUNS-true} | ||
# Whether to add --keep-going | ||
KEEP_GOING=${KEEP_GOING-false} | ||
|
||
snakemake \ | ||
--rerun-incomplete \ | ||
$(if [[ "$RELAXED_RERUNS" == true ]]; then \ | ||
echo --rerun-triggers mtime; \ | ||
echo --rerun-triggers params; \ | ||
echo --rerun-triggers input; \ | ||
fi) \ | ||
$(if [[ "$KEEP_GOING" == true ]]; then \ | ||
echo --keep-going; \ | ||
fi) \ | ||
--jobs $JOBS \ | ||
--slurm \ | ||
--default-resources \ | ||
slurm_partition="$PART" \ | ||
'runtime="4h"' \ | ||
mem_mb=2000 \ | ||
-- \ | ||
"${@-all}" |
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 +1 @@ | ||
2a941b5967fdbdafe91c53ea789679d5 work/annos/grch37/strucvars/dbvar/2023-05-16/dbvar.bed.gz.tbi | ||
a49371b85557ddbdfcc6af54fbbcefeb work/annos/grch37/strucvars/dbvar/2023-05-16/dbvar.bed.gz.tbi |
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 +1 @@ | ||
3c0a5195f3ecab7b49628be7e122a5c9 work/annos/grch38/strucvars/dbvar/2023-05-16/dbvar.bed.gz.tbi | ||
9f2f08207dd74c16954f5b92676a7ea0 work/annos/grch38/strucvars/dbvar/2023-05-16/dbvar.bed.gz.tbi |
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