-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun-all.sh
More file actions
executable file
·40 lines (33 loc) · 1018 Bytes
/
run-all.sh
File metadata and controls
executable file
·40 lines (33 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh
## Usage
# sh run-all.sh shulha run8-v1.5.35 TRUE
# sh run-all.sh epimap run1-v1.5.38 TRUE H3K27ac
# sh run-all.sh epimap run1-v1.5.38 TRUE H3K4me3
# Define variables
EXPERIMENT=$1
PREFIX=$2
SKIP1=${3-"FALSE"}
HISTONE=$4
mkdir -p ${EXPERIMENT}/CoverageInfo
mkdir -p ${EXPERIMENT}/derAnalysis
#mkdir -p ${EXPERIMENT}/regionMatrix
#mkdir -p ${EXPERIMENT}/regionMatrix-vs-DERs
#mkdir -p ${EXPERIMENT}/coverageToExon
if [[ $SKIP1 == "FALSE" ]]
then
sh step1-fullCoverage.sh ${EXPERIMENT}
fi
sh step2-makeModels.sh ${EXPERIMENT} ${PREFIX} ${HISTONE}
sh step3-analyzeChr.sh ${EXPERIMENT} ${PREFIX} ${HISTONE}
sh step4-mergeResults.sh ${EXPERIMENT} ${PREFIX} ${HISTONE}
sh step5-derfinderReport.sh ${EXPERIMENT} ${PREFIX} ${HISTONE}
#if [[ $SKIP6 == "FALSE" ]]
#then
# sh step6-regionMatrix.sh ${EXPERIMENT}
#fi
#sh step7-regMatVsDERs.sh ${EXPERIMENT} ${PREFIX}
#if [[ $SKIP8 == "FALSE" ]]
#then
# sh step8-coverageToExon.sh ${EXPERIMENT}
#fi
#sh step9-summaryInfo.sh ${EXPERIMENT} ${PREFIX}