[170d55]: / ProcessingScripts / cutadapt_batch_submission.sh

Download this file

20 lines (12 with data), 497 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
files_to_process=samples.txt
# get the number of lines in txt file
number_files=$(cat $files_to_process | wc -l)
wd=working_directory
# set variables to pass to alignemnt script
file_directory=${wd}/trimmed_fastqs/
output_folder=${wd}/alignments/
index=${wd}/hg38_maske
# of jobs to process simultaneously
JOBS=20
# submit jobs
qsub -M colinpatfarrell@g.ucla.edu -m a -t 1-$number_files -tc $JOBS cutadapt_submission.sh -f $files_to_process -d $file_directory -o $output_folder -s $scratch