|
a |
|
b/TcellAnalysis/DEscripts/submit_DE.sh |
|
|
1 |
#! /usr/bin/bash |
|
|
2 |
|
|
|
3 |
## submit the DE testing to the cluster |
|
|
4 |
|
|
|
5 |
## Run mylo on a subset of the data |
|
|
6 |
BASE_DIR="/hps/research/sds/sds-marioni-cov/DifferentialExpression" |
|
|
7 |
SRC=$(echo $BASE_DIR"/src") |
|
|
8 |
|
|
|
9 |
OUTLOG=$(eval 'echo "$BASE_DIR"/logs/Tcell_DE_testing.out') |
|
|
10 |
ERROR=$(eval 'echo "$BASE_DIR"/logs/Tcell_DE_testing.err') |
|
|
11 |
|
|
|
12 |
module load singularity/3.5.0; |
|
|
13 |
|
|
|
14 |
cd $SRC |
|
|
15 |
|
|
|
16 |
JOB="bsub -q research-rh74 -M 160000 -R "rusage[mem=40000]" -J Tcell_DE_testing -n 1 -T 1500 -o $OUTLOG -e $ERROR singularity exec -B /hps/research/sds/sds-marioni-cov /hps/research/sds/sds-marioni-cov/singularity/CovidPBMC.sif Rscript $SRC/Compute_CellType_DE_Trend.R" |
|
|
17 |
|
|
|
18 |
echo $JOB |
|
|
19 |
eval $JOB |
|
|
20 |
|