-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcloops2.sh
More file actions
83 lines (55 loc) · 3.45 KB
/
cloops2.sh
File metadata and controls
83 lines (55 loc) · 3.45 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#!/bin/bash
exec > cloops2.log 2>&1
#===================================================
#=======================Primary=====================
#===================================================
cLoops2 pre -f /storage/store/mohit/data/GM12878_primary_30.bedpe -o GM12878_replicate_chr1 -mapq 30 -c chr1
start=$(date +%s)
cLoops2 callLoops -d GM12878_replicate_chr1 -o GM12878_replicate_chr1.cloops2 -eps 5000,7500,10000 -minPts 20,30,40,50 -w -j
end=$(date +%s)
echo "replicate chr 1, elapsed time: $(($end-$start)) seconds"
cLoops2 pre -f /storage/store/mohit/data/GM12878_primary_30.bedpe -o GM12878_replicate_chr6 -mapq 30 -c chr6
start=$(date +%s)
cLoops2 callLoops -d GM12878_replicate_chr6 -o GM12878_replicate_chr6.cloops2 -eps 5000,7500,10000 -minPts 20,30,40,50 -w -j
end=$(date +%s)
echo "replicate chr 6, elapsed time: $(($end-$start)) seconds"
#===================================================
#====================Normalized=====================
#===================================================
#!/bin/bash
exec > cloops2_normKR.log 2>&1
cLoops2 pre -f /storage/store/mohit/data/kr_norm/GM12878_primary_KR_chr1_5k.bedpe -o GM12878_primary_KR_chr1_5k -c chr1
start=$(date +%s)
cLoops2 callLoops -d GM12878_primary_KR_chr1_5k -o GM12878_primary_KR_chr1_5k/GM12878_primary_KR_chr1_5k.cloops2 -eps 5000 -minPts 10 -w -j
end=$(date +%s)
echo "primary_normKR chr 1, @5k eps, elapsed time: $(($end-$start)) seconds"
cLoops2 pre -f /storage/store/mohit/data/kr_norm/GM12878_primary_KR_chr1_10k.bedpe -o GM12878_primary_KR_chr1_10k -c chr1
start=$(date +%s)
cLoops2 callLoops -d GM12878_primary_KR_chr1_10k -o GM12878_primary_KR_chr1_10k/GM12878_primary_KR_chr1_10k.cloops2 -eps 10000 -minPts 10 -w -j
end=$(date +%s)
echo "primary_normKR chr 1 @10k eps, elapsed time: $(($end-$start)) seconds"
cLoops2 pre -f /storage/store/mohit/data/kr_norm/GM12878_primary_KR_chr6_5k.bedpe -o GM12878_primary_KR_chr6_5k -c chr6
start=$(date +%s)
cLoops2 callLoops -d GM12878_primary_KR_chr6_5k -o GM12878_primary_KR_chr6_5k/GM12878_primary_KR_chr6_5k.cloops2 -eps 5000 -minPts 10 -w -j
end=$(date +%s)
echo "primary_normKR chr 6, @5k eps, elapsed time: $(($end-$start)) seconds"
cLoops2 pre -f /storage/store/mohit/data/kr_norm/GM12878_primary_KR_chr6_10k.bedpe -o GM12878_primary_KR_chr6_10k -c chr6
start=$(date +%s)
cLoops2 callLoops -d GM12878_primary_KR_chr6_10k -o GM12878_primary_KR_chr6_10k/GM12878_primary_KR_chr6_10k.cloops2 -eps 10000 -minPts 10 -w -j
end=$(date +%s)
echo "primary_normKR chr 6 @10k eps, elapsed time: $(($end-$start)) seconds"
#===================================================
#====================Replicate======================
#===================================================
#!/bin/bash
exec > cloops2_replicate.log 2>&1
cLoops2 pre -f /storage/store/mohit/data/replicate/GM12878_replicate.bedpe -o GM12878_replicate_chr1 -c chr1
start=$(date +%s)
cLoops2 callLoops -d GM12878_replicate_chr1 -o GM12878_replicate_chr1.cloops2 -eps 5000,7500,10000 -minPts 20,30,40,50 -w -j
end=$(date +%s)
echo "replicate chr 1, elapsed time: $(($end-$start)) seconds"
cLoops2 pre -f /storage/store/mohit/data/replicate/GM12878_replicate.bedpe -o GM12878_replicate_chr6 -c chr6
start=$(date +%s)
cLoops2 callLoops -d GM12878_replicate_chr6 -o GM12878_replicate_chr6.cloops2 -eps 5000,7500,10000 -minPts 20,30,40,50 -w -j
end=$(date +%s)
echo "replicate chr 6, elapsed time: $(($end-$start)) seconds"