-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCLIP_Analysis.sh
52 lines (33 loc) · 1.3 KB
/
CLIP_Analysis.sh
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
41
42
43
44
45
46
47
48
49
50
51
#!/bin/sh
set -e # exit on first error (if any)
# Find the parent folder of this script,
# resolving (possibly nested) symlinks
SOURCE="${BASH_SOURCE[0]}"
while [ -h "$SOURCE" ]; do
BASE_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$BASE_DIR/$SOURCE"
done
BASE_DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
export PATH=${BASE_DIR}:${PATH}
cd ${BASE_DIR}
##### Set Analysis mode
CLIPtype='Exons' #Introns or #Exons #Introns_LINESINETLR
RunMode='Transcriptomic' #Genomic or Transcriptomic
TrasncLoc='all' # all, 3UTR, exons_CDS, introns
spceicies= 'mm10' #mm10 or hg38
outdir: /data/RBL_NCI/Wolin/Phil/mESC_CLIP2/structure/
SampleName: Ro
##### Nucleotide window Upstream + and downstream of 5’ CLIP peak
window=100
##### Generate Fasta files for sequence Motif Anslysis
MotifAnalysis=T
### Nucleotide Content Window - Select sliding window size to display heatmap
NCwindow=20 #10,20,30,40
NCcluster= 3 #number of clusters for Heatmap
## Local Structure Settings
meanBPP=.2 # minimum Chunk BasePairing Probability per row to be considered for potential structure
LScluster=4 #number of clusters for Heatmap
## Run LINE/SINE Distance
runLINESINEdist=T
PTntimes= 100 #Number of permutations for