-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathresult_merge_lamda.sh
executable file
·77 lines (63 loc) · 2.33 KB
/
result_merge_lamda.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
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
#/bin/bash
#merge results from sub folders in four folders
#methods name!!!
loc_pcacmi="result_loc_pcacmi_lamda"
loc_pcapmi="result_loc_pcapmi_lamda"
pca_cmi="result_pca_cmi_lamda"
pca_pmi="result_pca_pmi_lamda"
#res file name!!!
prroc[1]="Dream10_Ecoli.res"
prroc[2]="Dream50_Ecoli.res"
prroc[3]="Dream100_Ecoli.res"
prroc[4]="Dream10_Yeast.res"
prroc[5]="Dream50_Yeast.res"
prroc[6]="Dream100_Yeast.res"
rptfile=`pwd`"/result_merge_lamda_final.res"
echo $loc_pcacmi>>$rptfile
tail -n 2 `pwd`"/"$loc_pcacmi"/"${prroc[1]} >> $rptfile
echo $loc_pcapmi>>$rptfile
tail -n 2 `pwd`"/"$loc_pcapmi"/"${prroc[1]} >> $rptfile
echo $pca_cmi>>$rptfile
tail -n 2 `pwd`"/"$pca_cmi"/"${prroc[1]} >> $rptfile
echo $pca_pmi>>$rptfile
tail -n 2 `pwd`"/"$pca_pmi"/"${prroc[1]} >> $rptfile
echo $loc_pcacmi>>$rptfile
tail -n 2 `pwd`"/"$loc_pcacmi"/"${prroc[2]} >> $rptfile
echo $loc_pcapmi>>$rptfile
tail -n 2 `pwd`"/"$loc_pcapmi"/"${prroc[2]} >> $rptfile
echo $pca_cmi>>$rptfile
tail -n 2 `pwd`"/"$pca_cmi"/"${prroc[2]} >> $rptfile
echo $pca_pmi>>$rptfile
tail -n 2 `pwd`"/"$pca_pmi"/"${prroc[2]} >> $rptfile
echo $loc_pcacmi>>$rptfile
tail -n 2 `pwd`"/"$loc_pcacmi"/"${prroc[3]} >> $rptfile
echo $loc_pcapmi>>$rptfile
tail -n 2 `pwd`"/"$loc_pcapmi"/"${prroc[3]} >> $rptfile
echo $pca_cmi>>$rptfile
tail -n 2 `pwd`"/"$pca_cmi"/"${prroc[3]} >> $rptfile
echo $pca_pmi>>$rptfile
tail -n 2 `pwd`"/"$pca_pmi"/"${prroc[3]} >> $rptfile
echo $loc_pcacmi>>$rptfile
tail -n 2 `pwd`"/"$loc_pcacmi"/"${prroc[4]} >> $rptfile
echo $loc_pcapmi>>$rptfile
tail -n 2 `pwd`"/"$loc_pcapmi"/"${prroc[4]} >> $rptfile
echo $pca_cmi>>$rptfile
tail -n 2 `pwd`"/"$pca_cmi"/"${prroc[4]} >> $rptfile
echo $pca_pmi>>$rptfile
tail -n 2 `pwd`"/"$pca_pmi"/"${prroc[4]} >> $rptfile
echo $loc_pcacmi>>$rptfile
tail -n 2 `pwd`"/"$loc_pcacmi"/"${prroc[5]} >> $rptfile
echo $loc_pcapmi>>$rptfile
tail -n 2 `pwd`"/"$loc_pcapmi"/"${prroc[5]} >> $rptfile
echo $pca_cmi>>$rptfile
tail -n 2 `pwd`"/"$pca_cmi"/"${prroc[5]} >> $rptfile
echo $pca_pmi>>$rptfile
tail -n 2 `pwd`"/"$pca_pmi"/"${prroc[5]} >> $rptfile
echo $loc_pcacmi>>$rptfile
tail -n 2 `pwd`"/"$loc_pcacmi"/"${prroc[6]} >> $rptfile
echo $loc_pcapmi>>$rptfile
tail -n 2 `pwd`"/"$loc_pcapmi"/"${prroc[6]} >> $rptfile
echo $pca_cmi>>$rptfile
tail -n 2 `pwd`"/"$pca_cmi"/"${prroc[6]} >> $rptfile
echo $pca_pmi>>$rptfile
tail -n 2 `pwd`"/"$pca_pmi"/"${prroc[6]} >> $rptfile