-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated FastQCJob to use Jinja2 template.
MultiQCJob support removed.
- Loading branch information
1 parent
dd39ff0
commit 4fd1fd5
Showing
3 changed files
with
67 additions
and
107 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
#SBATCH -J {{job_name}} | ||
#SBATCH -p {{queue_name}} | ||
#SBATCH -N {{node_count}} | ||
#SBATCH -n {{nprocs}} | ||
#SBATCH --time {{wall_time_limit}} | ||
#SBATCH --mem {{mem_in_gb}}G | ||
#SBATCH --array {{array_params}} | ||
#SBATCH --constraint="intel" | ||
set -x | ||
set +e | ||
date | ||
hostname | ||
echo ${SLURM_JOBID} ${SLURM_ARRAY_TASK_ID} | ||
cd {{output_path}} | ||
{% if modules_to_load is defined %} | ||
module load {{modules_to_load}} | ||
{% endif %} | ||
offset=${SLURM_ARRAY_TASK_ID} | ||
step=$(( $offset - 0 )) | ||
cmd0=$(head -n $step {{array_details}} | tail -n 1) | ||
eval $cmd0 | ||
echo "Cmd Completed: $cmd0" > logs/FastQCJob_$step.completed |
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