Skip to content
Snippets Groups Projects
Commit 7274abde authored by not populated not populated's avatar not populated not populated
Browse files

Fixed SLURM to SBATCH, short project id generation

parent a99e6627
No related branches found
No related tags found
1 merge request!3Ultra 2 SOP/doc updates
#!/bin/bash #!/bin/bash
#SLURM --cpus-per-task=1 #SBATCH --cpus-per-task=1
#SLURM --mem=2GB #SBATCH --mem=2GB
#SLURM --time=6:00:00 #SBATCH --time=6:00:00
#SLURM --job-name=trio_whole_exome_project_checksums #SBATCH --job-name=trio_whole_exome_project_checksums
#SLURM --output=trio_whole_exome_project_checksums.%A.out #SBATCH --output=trio_whole_exome_project_checksums.%A.out
#SLURM --error=trio_whole_exome_project_checksums.%A.err #SBATCH --error=trio_whole_exome_project_checksums.%A.err
# Expects environment variables to be set # Expects environment variables to be set
# PROJECT_ID - e.g. 12345_LastnameFirstname # PROJECT_ID - e.g. 12345_LastnameFirstname
...@@ -15,6 +15,8 @@ source $CONFIG_SH ...@@ -15,6 +15,8 @@ source $CONFIG_SH
# calculate checksums on all files for this project except the families directory # 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} cd $OUTPUT_DIR/${SHORT_PROJECT_ID}_${VERSION}
rm md5sum.txt 2> /dev/null rm md5sum.txt 2> /dev/null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment