comparison lipidmaps.conf @ 0:e8bd49794291 draft

Init repository with last lipidmaps_textsearch master version
author fgiacomoni
date Tue, 11 Apr 2017 03:47:06 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e8bd49794291
1 ## LIPIDMAPS CONF FILE
2 ## Version 2.1 -- edited by F.Giacomoni
3 ## Build October 30th 2012
4 ## release October 22th 2013
5 ## release Nov 25th 2013
6 ## release Fev 17th 2014
7 ## release 2014-05-07
8 ## release 2016-06-09 / REST client implementation
9 ## release 2016-09-27 - clean and requirement
10 #
11 # Galaxy url for HTML JS and CSS path
12 JS_GALAXY_PATH=https://cdn.rawgit.com/fgiacomoni/galaxy_utils/master/scripts
13 CSS_GALAXY_PATH=https://cdn.rawgit.com/fgiacomoni/galaxy_utils/master/style
14
15 # HTML TEMPLATE PATH:
16 HTML_ENTRIES_PER_PAGE=4
17
18 ## LIPIDMAPS SEARCH URL
19 SEARCH_URL=http://www.lipidmaps.org/data/structure/LMSDSearch.php?Mode=ProcessTextSearch&OutputColumnHeader=No&OutputMode=File&OutputType=TSV
20 LM_ID_URL=http://www.lipidmaps.org/data/LMSDRecord.php?&LMID=
21 REST_WS=http://www.lipidmaps.org/data/lm_rest.php
22
23 #VALUE FOR loss /add atoms (loss/add_$ATOMS)
24 O=15.9949
25 2O=31.9898
26 4O=63.9797
27 hydroperoxide=34.0055
28 water=18.0106
29
30 ## Annotation for loss /add atoms
31 ANNOT_loss_O=+O
32 ANNOT_loss_2O=+2O
33 ANNOT_loss_4O=+4O
34 ANNOT_loss_hydroperoxide=+H2O2
35 ANNOT_loss_water=+H2O
36
37 ## ----------------******************-------SOME PARSING RULES to LM CLUSTERING---------------*******************---------------------##
38 # RULE of '-' only
39 RULE01=^\-$
40
41 # RULE of XX-xx only -- Ex: PE-NMe2 or PC
42 RULE02=^([A-Z|a-z|0-9|\-]*)$
43
44 ## *** *** *** *** PG *** *** *** *** ##
45 # RULE of XX(16:1/16:1)
46 RULE03=^([A-Z|a-z]{2,4})\((\d+):(\d+)\/(\d+):(\d+)\)$
47
48 # RULE of XX(16:1/16:1(OHC)) OXYDED!!
49 RULE04=^([A-Z|a-z]{2,4})\((\d+):(\d+)\/(\d+):(\d+)\(([OHC]*)\)\)$
50
51 #RULE of XX(16:1(1Z,..)/16:1(1Z,..)(OHC)) OXYDED!! -- Ex: PE(16:0/22:6(54Z,7Z,10Z,12E,16Z,19Z)(14OH))
52 RULE05=^([A-Z|a-z]{2,4})\((\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\(([OHCKe0-9]*)\)\)$
53
54 # RULE of XX(16:1(1Z,..)/16:1(1Z,..))
55 RULE06=^([A-Z|a-z]{2,4})\((\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\)$
56
57 # RULE of XX(16:1(1Z,...)) ou XX(16:1) ONLY
58 RULE07=^([A-Z|a-z]{2,5})\((\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\)$
59
60 # RULE of XX(X-16:1(1Z,..)/16:1(1Z,..)) with(1Z,...) in option
61 RULE08=^([A-Z|a-z]{2,4})\(([A-Z]{1})-(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\)$
62
63 # RULE of XX(16:1(1Z,..)/X-16:1(1Z,..)) with (1Z,...) in option
64 RULE09=^([A-Z|a-z]{2,4})\((\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/([A-Z]{1})-(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\)$
65
66 # RULE of XX(X-16:1(1Z,..)/X-16:1(1Z,..)) with (1Z,...) in option
67 RULE10=^([A-Z|a-z]{2,4})\(([A-Z]{1})-(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/([A-Z]{1})-(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\)$
68
69 # RULE of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5OH[S])) OXYDED!!
85 RULE16=^([A-Z|a-z]{2,4})\(([A-Z]{1})-(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\)\(([A-Z|a-z|0-9|\[\]]*)\)\)$
86
87 # RULE of XX[3',5'](16:1(1Z,..)/16:1(1Z,..))
88 RULE17=^([A-Z|a-z|0-9|\[\]|,]*)\((\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\)$
89
90 ## *** *** *** *** SM *** *** *** *** ##
91 # RULE OF xx-XX(16:1(1z..)/16:0(1z..)(OH)) -- Ex: PE-Cer(d16:2(4E,6E)/24:1(15Z)(2OH)) OXYDED !!
92 RULE18=^([A-Za-z0-9\-]*)\([a-z](\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\(([COH0-9\-]*)\)\)$
93
94 # RULE OF xx-XX(16:1(1z..)/16:0(1z..)) -- Ex: GlcCer(d14:2(4E,6E)/18:1(9Z))
95 RULE19=^([A-Za-z0-9\-]*)\([a-z]{0,1}(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/[a-z]{0,1}(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\)$
96
97 # RULE OF M(IP)2C(16:1(1z..)/16:0(1z..)) -- Ex: M(IP)2C(d18:0/18:0(2OH)) OXYDED !!
98 RULE20=^(M\(IP\)2C)\([a-z]{0,1}(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/[a-z]{0,1}(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\(([COH0-9\-]*)\)\)$
99
100 # RULE of M(IP)2C(16:1(1z..)/16:0(1z..)) -- Ex: M(IP)2C(t18:0/18:0)
101 RULE21=^(M\(IP\)2C)\([a-z]{0,1}(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/[a-z]{0,1}(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\)$
102
103 # RULE of -- Ex: DG(22:3(10Z,13Z,16Z)/22:5(7Z,10Z,13Z,16Z,19Z)/0:0)[iso2]
104 RULE22=^([A-Z|a-z]{2,4})\((\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\/(\d+):(\d+)[A-Z|a-z|0-9|,|\(\)]*\)(\[[A-Z|a-z|0-9]*\])$
105
106 ## ----------------******************-------SOME RECIPES to LM CLUSTERING---------------*******************---------------------##
107 ## give the array position of each part of the cluster name :
108 ## $Gp1, $Gp2, $Gp3, $Ch1_C, $Ch1_i, $Ch2_C, $Ch2_i, $Ch3_C, $Ch3_i, $Ox, $Post (11 values)
109 RECIPE01=1,0,0,0,0,0,0,0,0,0,0
110 RECIPE02=1,0,0,0,0,0,0,0,0,0,0
111 RECIPE03=1,0,0,2,3,4,5,0,0,0,0
112 RECIPE04=1,0,0,2,3,4,5,0,0,6,0
113 RECIPE05=1,0,0,2,3,4,5,0,0,6,0
114 RECIPE06=1,0,0,2,3,4,5,0,0,0,0
115 RECIPE07=1,0,0,2,3,0,0,0,0,0,0
116 RECIPE08=1,2,0,3,4,5,6,0,0,0,0
117 RECIPE09=1,4,0,2,3,5,6,0,0,0,0
118 RECIPE10=1,2,5,3,4,6,7,0,0,0,0
119 RECIPE11=1,0,0,2,3,4,5,0,0,0,0
120 RECIPE12=1,2,5,3,4,6,7,0,0,0,0
121 RECIPE13=1,0,0,2,3,4,5,6,7,0,0
122 RECIPE14=1,0,0,2,3,4,5,0,0,0,6
123 RECIPE15=1,0,0,2,3,4,5,0,0,6,0
124 RECIPE16=1,2,0,3,4,5,6,0,0,7,0
125 RECIPE17=1,0,0,2,3,4,5,0,0,0,0
126 RECIPE18=1,0,0,2,3,4,5,0,0,6,0
127 RECIPE19=1,0,0,2,3,4,5,0,0,0,0
128 RECIPE20=1,0,0,2,3,4,5,0,0,6,0
129 RECIPE21=1,0,0,2,3,4,5,0,0,0,0
130 RECIPE22=1,0,0,2,3,4,5,6,7,0,8