1
|
1 <tool id="2021_05_eics_synchronization" name="EICs-individual -> EICs-synchronized" version="0.0.1">
|
|
2
|
|
3 <description> for a series of close mass spectra, e.g. repetitions </description>
|
|
4
|
|
5
|
|
6 <requirements>
|
|
7 <requirement type="package" version="6.0.2">scilab</requirement>
|
|
8 </requirements>
|
|
9
|
|
10
|
|
11 <stdio>
|
|
12 <exit_code range="1:" level="fatal" />
|
|
13 </stdio>
|
|
14
|
|
15
|
|
16 <command>
|
|
17 <![CDATA[
|
|
18 $__root_dir__/packages/scilab-*/bin/scilab-cli -nb -quit -f ${script_file}
|
|
19 ]]>
|
|
20 </command>
|
|
21
|
|
22
|
|
23 <configfiles>
|
|
24 <configfile name="script_file">
|
|
25 <![CDATA[ exec("$__tool_directory__/src/mz_4_extract_final_mz_v3.sci",-1); ...
|
|
26 lasterror(); ...
|
|
27 col=list(); ...
|
|
28 #for $i, $s in enumerate( $series )
|
|
29 x_tr_mz3=glx_tab2div("${s.Xdata.file_name}"); ...
|
|
30 ... // load("${s.Xdata.file_name}"); ... 22avril21
|
|
31 x${i}=x_tr_mz3; ...
|
|
32 col(${i}+1)=x${i}; ...
|
|
33 #end for
|
|
34 ...
|
|
35 [list_eic4_files,mz4_stats]=mz_4_extract_final_mz_v3(col,${delta_mz}); ...
|
|
36 save("${list_eic4_files}",'list_eic4_files'); ...
|
|
37 save("${mz4_stats}",'mz4_stats'); ...
|
|
38 if ~isempty(lasterror(%f)) then ...
|
|
39 write(0,lasterror()); ...
|
|
40 end; ]]>
|
|
41 </configfile>
|
|
42 </configfiles>
|
|
43
|
|
44
|
|
45 <inputs>
|
|
46 <repeat name="series" title="dataset" min="2">
|
|
47 <param name="Xdata" format="tabular" type="data" label="Input file" help="EICs-individual files"/>
|
|
48 </repeat>
|
|
49 <param name="delta_mz" value="0.0024" type="float" label="Threshold for m/z" />
|
|
50 </inputs>
|
|
51
|
|
52
|
|
53 <outputs>
|
|
54 <data name="list_eic4_files" format="mat" label="EICs-synchronized"/>
|
|
55 <data name="mz4_stats" format="mat" label="stats on EIC-synchro"/>
|
|
56 </outputs>
|
|
57
|
|
58
|
|
59 <tests>
|
|
60
|
|
61 <test>
|
|
62 <param name="Xdata" value="EICs-individual-1_k3mean.tab"/>
|
|
63 <param name="Xdata" value="EICs-individual-2_k3mean.tab"/>
|
|
64 <param name="Xdata" value="EICs-individual-3_k3mean.tab"/>
|
|
65 <param name="delta_mz" value="0.0024"/>
|
|
66 <output name="list_eic4_files" file="EICs-synchronized.mat" compare="sim_size" delta="1000" />
|
|
67 </test>
|
|
68
|
|
69 </tests>
|
|
70
|
|
71
|
|
72 <help>
|
|
73
|
|
74
|
|
75 .. class:: infomark
|
|
76
|
|
77 **Author** Jean-Claude Boulet (INRAE)
|
|
78
|
|
79
|
|
80 ---------------------------------------------------
|
|
81
|
|
82 =================================================
|
|
83 EXTRACTS THE EICS SHARED BY A SERIES OF EIC FILES
|
|
84 =================================================
|
|
85
|
|
86 -----------
|
|
87 Description
|
|
88 -----------
|
|
89
|
|
90 The EICs shared by a series of EICs-individual are identified.
|
|
91
|
|
92 Then, each of the initial EiCs-individual is reprocessed as to keep only the EICs shared by all the series.
|
|
93
|
|
94 The main application is the synchronization of the EICs of repetitions.
|
|
95
|
|
96
|
|
97
|
|
98 -----------
|
|
99 Input files
|
|
100 -----------
|
|
101
|
|
102 At least two EICs-individual
|
|
103
|
|
104 ----------
|
|
105 Parameters
|
|
106 ----------
|
|
107
|
|
108 **Threshold for m/z**
|
|
109
|
|
110 Two m/z values whose difference is larger than this threshold will be considered as different.
|
|
111
|
|
112 Default value: 0.0024
|
|
113
|
|
114
|
|
115 ------------
|
|
116 Output files
|
|
117 ------------
|
|
118
|
|
119
|
|
120 **EICs-shared**
|
|
121
|
|
122 The input files with the same EICs.
|
|
123
|
|
124 A list at the HDF5-scilab .dat format.
|
|
125
|
|
126
|
|
127
|
|
128 **stats on EICs-shared**
|
|
129
|
|
130 Some calculations for the following processings.
|
|
131
|
|
132 </help>
|
|
133
|
|
134
|
|
135 <citations>
|
|
136
|
|
137 </citations>
|
|
138
|
|
139 </tool>
|