[170d55]: / ProcessingScripts / MethylationCalling_Batch_Submission.sh

Download this file

21 lines (12 with data), 506 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
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=40
# submit jobs
qsub -M colinpatfarrell@g.ucla.edu -m a -t 1-$number_files -tc $JOBS MethylationCalling_Submission.sh -f $files_to_process -d $file_directory -o $output_folder -i $index