diff --git a/submit_trio_wes_project_checksums.sh b/submit_trio_wes_project_checksums.sh index 155a0a1409e84cbae297b328660fbacbac37f088..e108b2fde570b188bf3477a8e5643c0ad4babad2 100755 --- a/submit_trio_wes_project_checksums.sh +++ b/submit_trio_wes_project_checksums.sh @@ -1,10 +1,10 @@ #!/bin/bash -#SLURM --cpus-per-task=1 -#SLURM --mem=2GB -#SLURM --time=6:00:00 -#SLURM --job-name=trio_whole_exome_project_checksums -#SLURM --output=trio_whole_exome_project_checksums.%A.out -#SLURM --error=trio_whole_exome_project_checksums.%A.err +#SBATCH --cpus-per-task=1 +#SBATCH --mem=2GB +#SBATCH --time=6:00:00 +#SBATCH --job-name=trio_whole_exome_project_checksums +#SBATCH --output=trio_whole_exome_project_checksums.%A.out +#SBATCH --error=trio_whole_exome_project_checksums.%A.err # Expects environment variables to be set # PROJECT_ID - e.g. 12345_LastnameFirstname @@ -15,6 +15,8 @@ source $CONFIG_SH # calculate checksums on all files for this project except the families directory +SHORT_PROJECT_ID=`echo $PROJECT_ID | cut -f 1 -d '_'` + cd $OUTPUT_DIR/${SHORT_PROJECT_ID}_${VERSION} rm md5sum.txt 2> /dev/null