#!/bin/bash -l # Set SCC project #$ -P waxmanlab # Specify hard time limit for the job. # The job will be aborted if it runs longer than this time. # The default time is 12 hours #$ -l h_rt=24:00:00 # Send an email when the job finishes or if it is aborted (by default no email is sent). #$ -m ea # Give job a name #$ -N fastq_convert # Combine output and error files into a single file #$ -j y # Specify the output file name #$ -o fastq.qlog #$ -pe omp 8 # Keep track of information related to the current job echo "==========================================================" echo "Start date : $(date)" echo "Job name : $JOB_NAME" echo "Job ID : $JOB_ID" "$SGE_TASK_ID" echo "==========================================================" source ~/.bashrc module load sratoolkit sh fastq_convert.sh