Mercurial > repos > jcb-mpl > eics_first_extraction
comparison eics_first_extraction.xml @ 3:4e9b2d0c010b draft
Uploaded
| author | jcb-mpl |
|---|---|
| date | Thu, 12 May 2022 12:13:15 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 2:2e517ac29e6c | 3:4e9b2d0c010b |
|---|---|
| 1 <tool id="2021_05_mz_eics_first_extraction" name="MS-centroid -> EICs-individual" version="0.0.2"> | |
| 2 | |
| 3 <description> </description> | |
| 4 | |
| 5 <requirements> | |
| 6 <requirement type="package" >scilab</requirement> | |
| 7 </requirements> | |
| 8 | |
| 9 | |
| 10 <stdio> | |
| 11 <exit_code range="1:" level="fatal" /> | |
| 12 </stdio> | |
| 13 | |
| 14 | |
| 15 <command> | |
| 16 <![CDATA[ | |
| 17 $__root_dir__/packages/scilab-*/bin/scilab-cli -nb -quit -f ${script_file} | |
| 18 ]]> | |
| 19 </command> | |
| 20 | |
| 21 | |
| 22 <configfiles> | |
| 23 <configfile name="script_file"> | |
| 24 <![CDATA[ exec("$__tool_directory__/src/mz_3_extract_all_mz2.sci",-1); ... | |
| 25 exec("$__tool_directory__/src/mz_4_scan_mz_raw6.sci",-1); ... | |
| 26 exec("$__tool_directory__/src/mz_5_tr_matrix6bis.sci",-1); ... | |
| 27 exec("$__tool_directory__/src/mz_6bis_durbin_watson.sci",-1); ... | |
| 28 exec("$__tool_directory__/src/mz_6_rescan_mz2.sci",-1); ... | |
| 29 exec("$__tool_directory__/src/mz_7_dwcleaning.sci",-1); ... | |
| 30 exec("$__tool_directory__/src/mz_eic5_step2.sci",-1); ... | |
| 31 lasterror(); ... | |
| 32 load("${resbary}"); ... | |
| 33 if ~isdef('resbary'); ... | |
| 34 error('resbary is not defined'); ... | |
| 35 end; ... | |
| 36 diffmz=${diffmz}; ... | |
| 37 set=${signaleicthresh}; ... | |
| 38 dw=${dw}; ... | |
| 39 x_tr_mz3=mz_eic5_step2(resbary,diffmz,set,dw); ... | |
| 40 ... //save("${x_tr_mz3}",'x_tr_mz3'); ... | |
| 41 div2tab(x_tr_mz3,"${x_tr_mz3}"); ... // 22avril21 | |
| 42 if ~isempty(lasterror(%f)); ... | |
| 43 write(0,lasterror()); ... | |
| 44 end; ]]> | |
| 45 </configfile> | |
| 46 </configfiles> | |
| 47 | |
| 48 | |
| 49 <inputs> | |
| 50 <param name="resbary" format="mat" type="data" label="MS-centroid" /> | |
| 51 <param name="diffmz" value="0.0024" type="float" label="Threshold for the m/z values" /> | |
| 52 <param name="signaleicthresh" value="30000" type="integer" label="Threshold for the signals" /> | |
| 53 <param name="dw" value="1" type="float" label="Threshold for Durbin-Watson" help="to remove noisy EICs" /> | |
| 54 </inputs> | |
| 55 | |
| 56 | |
| 57 <outputs> | |
| 58 <data name="x_tr_mz3" format="tabular" label="EICs-individual" /> | |
| 59 </outputs> | |
| 60 | |
| 61 | |
| 62 <tests> | |
| 63 | |
| 64 <test> | |
| 65 <param name="resbary" value="VI2016_AC_4Acentroide-1_k_3mean.mat"/> | |
| 66 <param name="diffmz" value="0.0024"/> | |
| 67 <param name="signaleicthresh" value="30000"/> | |
| 68 <param name="dw" value="1"/> | |
| 69 <output name="x_tr_mz3" file="EICs-individual-1_k3mean.tab" compare="sim_size" delta="1000" /> | |
| 70 </test> | |
| 71 | |
| 72 </tests> | |
| 73 | |
| 74 | |
| 75 <help> | |
| 76 | |
| 77 | |
| 78 **Author** Jean-Claude Boulet (INRAE). | |
| 79 | |
| 80 | |
| 81 --------------------------------------------------- | |
| 82 | |
| 83 ========================================== | |
| 84 EXTRACTION OF EICS FROM A CENTROID MS DATA | |
| 85 ========================================== | |
| 86 | |
| 87 ----------- | |
| 88 Description | |
| 89 ----------- | |
| 90 | |
| 91 The HRMS analysis of a samples yields a MS data. | |
| 92 | |
| 93 From a centroid MS data, a matrix of (RT x m/z) is extracted. | |
| 94 | |
| 95 Each column of this matrix is an EIC = Extracted Ion Chromatogram, i.e. the signals of a given m/z value along the retention times. | |
| 96 | |
| 97 ------ | |
| 98 Inputs | |
| 99 ------ | |
| 100 | |
| 101 **MS-centroid** | |
| 102 | |
| 103 It is an HDF5-Scilab structure obtained by the previous processings and containing the fields: | |
| 104 | |
| 105 - resbary.time: the retention times; | |
| 106 | |
| 107 - resbary.mzdata: the mass spectra associated to the RTs. | |
| 108 | |
| 109 | |
| 110 | |
| 111 ---------- | |
| 112 Parameters | |
| 113 ---------- | |
| 114 | |
| 115 Three thresholds have to be determined. | |
| 116 | |
| 117 | |
| 118 **Threshold for the m/z values** | |
| 119 | |
| 120 The difference between two m/z values is compared to the threshold; if lower, the m/z values are considered as the same and merged; if higher the m/z values are considered as different. | |
| 121 | |
| 122 Default value: 0.0024. | |
| 123 | |
| 124 | |
| 125 **Threshold for the signals** | |
| 126 | |
| 127 The EICs whose global signal is under this threshold are dropped from the EIC matrix. | |
| 128 | |
| 129 Default value: 30000. | |
| 130 | |
| 131 | |
| 132 **Threshold for Durbin-Watson** | |
| 133 | |
| 134 Durbin-Watson values can range between 0 and 2. | |
| 135 | |
| 136 EICs with a DW value higher than the threshold are considered as noise and therefore dropped. | |
| 137 | |
| 138 Default value: 1. | |
| 139 | |
| 140 | |
| 141 | |
| 142 ----- | |
| 143 Oupts | |
| 144 ----- | |
| 145 | |
| 146 **EIC-individual matrix** | |
| 147 | |
| 148 A matrix of signal intensities obtained from a single MS: | |
| 149 | |
| 150 - rows are the retention times; | |
| 151 | |
| 152 - columns are the m/z values determined by the processing. | |
| 153 | |
| 154 The file is a .dat HDF5-Scilab format. | |
| 155 | |
| 156 </help> | |
| 157 | |
| 158 | |
| 159 <citations> | |
| 160 | |
| 161 </citations> | |
| 162 | |
| 163 | |
| 164 </tool> | |
| 165 | |
| 166 | |
| 167 | |
| 168 | |
| 169 |
