0
|
1 <tool id="MS2snoop" name="MS2 Snoop" version="1.0.0">
|
|
2 <description>
|
|
3 Extraction des spectres MS1 et adduits associées + Extraction +
|
|
4 nettoyage automatisé des spectres MS2 Extraction des métadonnées
|
|
5 des fichiers RAW Export en fichier idéalement en JSON
|
|
6 </description>
|
|
7
|
|
8 <requirements>
|
|
9 <requirement type="package">r-base</requirement>
|
|
10 <requirement type="package">r-optparse</requirement>
|
|
11 </requirements>
|
|
12
|
|
13 <command><![CDATA[
|
|
14 Rscript '$__tool_directory__/MS2snoop.R'
|
|
15 -o $frag_result_txt
|
|
16 -c $compound_txt
|
|
17 -f $peaklist_frag_tsv
|
|
18 -p $peaklist_preco_tsv
|
|
19 --tolmz $tolmz
|
|
20 --tolrt $tolrt
|
|
21 --seuil_ra $seuil_ra
|
|
22 --mzdecimal $mzdecimal
|
|
23 --r_threshold $r_threshold
|
|
24 --min_number_scan $min_number_scan
|
|
25 ;
|
|
26 ]]></command>
|
|
27
|
|
28 <inputs>
|
|
29 <param type="data" name="compound_txt" label="compounds_pos.txt" />
|
|
30 <param type="data" name="peaklist_frag_tsv" label="peaklist_fragments.tsv" />
|
|
31 <param type="data" name="peaklist_preco_tsv" label="peaklist_precursors.tsv" />
|
|
32 <param name="tolmz" type="float" value="0.01" label="MZ Tolerence" />
|
|
33 <param name="tolrt" type="integer" value="20" label="RT Telerence" />
|
|
34 <param name="seuil_ra" type="float" value="0.05" label="r pearson correlation threshold between precursor and fragment absolute intensity" />
|
|
35 <param name="mzdecimal" type="integer" value="0" label="nb decimal for mz" />
|
|
36 <param name="r_threshold" type="float" value="0.85" label="fragment absolute intensity" />
|
|
37 <param
|
|
38 name="min_number_scan"
|
|
39 type="integer"
|
|
40 value="8"
|
|
41 label="Present in at least X scan"
|
|
42 help="fragments are kept if they are found in a minimum number of scans"
|
|
43 />
|
|
44 </inputs>
|
|
45 <outputs>
|
|
46 <data name="frag_result_txt" format="txt" label="compound_fragments_result.txt" />
|
|
47 </outputs>
|
|
48 <tests>
|
|
49 <test>
|
|
50 <param name="compound_txt" value="compounds_pos.txt"/>
|
|
51 <param name="peaklist_frag_tsv" value="peaklist_fragments.tsv"/>
|
|
52 <param name="peaklist_preco_tsv" value="peaklist_precursors.tsv"/>
|
|
53 <output name="frag_result_txt" file="compound_fragments_result.txt" />
|
|
54 </test>
|
|
55 </tests>
|
3
|
56
|
|
57 <help><![CDATA[
|
|
58
|
|
59 .. class:: infomark
|
|
60 **Authors** Jean-Francois Martin (jean-francois.martin@inrae.fr), Lain Pavot (lain.pavot@inrae.fr), Kevin Wagner (kevin.wagner@inrae.fr)
|
|
61 .. class:: infomark
|
|
62 ---------------------------------------------------
|
|
63
|
|
64 ==============
|
|
65 MS2 validation
|
|
66 ==============
|
|
67
|
|
68 -----------
|
|
69 Description
|
|
70 -----------
|
|
71
|
|
72 MS2snoop use results of msPurity to find spectra of standards listed in a compounds file.
|
|
73 Check the fragments and precursor using correlation of among the different scans of fragments
|
|
74
|
|
75 -----------------
|
|
76 Workflow position
|
|
77 -----------------
|
|
78
|
|
79 **Upstream tools**
|
|
80 ========================= ================= ======= =========
|
|
81 Name output file format parameter
|
|
82 ========================= ================= ======= =========
|
|
83 msPurity.purityA NA TSV NA
|
|
84 msPurity.frag4feature NA TSV NA
|
|
85 ========================= ================= ======= =========
|
|
86 **Downstream tools**
|
|
87 ========================= ================= ======= =========
|
|
88 Name output file format parameter
|
|
89 ========================= ================= ======= =========
|
|
90 NA NA NA NA
|
|
91 ========================= ================= ======= =========
|
|
92
|
|
93 -----------
|
|
94 Input files
|
|
95 -----------
|
|
96
|
|
97 +----------------------------------------------+------------+
|
|
98 | Parameter : num + label | Format |
|
|
99 +===========================+==================+============+
|
|
100 | Input from msPurity Precursor | TSV |
|
|
101 | Input from msPurity fragment | TSV |
|
|
102 | Input compounds file to search in precursor | |
|
|
103 | and fragment (Name + m/z + ret Time) | TSV |
|
|
104 +----------------------------------------------+------------+
|
|
105
|
|
106
|
|
107 ----------
|
|
108 Parameters
|
|
109 ----------
|
|
110
|
|
111 msPurity.purityA output TSV file
|
|
112 msPurity.frag4feature output TSV file
|
|
113 Compounds file
|
|
114 | A TSV TXT file with a list of compounds with at least 3 columns :
|
|
115 | col1=Name of molecule, col2=m/z, col3=retention time
|
|
116 tolerance for mz(dalton) rt(seconds) to match the standard in the compounds file with the precursor MSpurity files
|
|
117 | tolmz <- 0.01
|
|
118 | tolrt <- 20
|
|
119 relative intensity threshold
|
|
120 | seuil_ra = 0.05
|
|
121 nb decimal for mz
|
|
122 | mzdecimal <- 0
|
|
123 r pearson correlation threshold between precursor and fragment absolute intensity
|
|
124 | r_threshold <- 0.85
|
|
125 fragments are kept if there are found in a minimum number of scans
|
|
126 | minNumberScan <- 8
|
|
127
|
|
128 ------------
|
|
129 Output files
|
|
130 ------------
|
|
131
|
|
132 compound_fragments_result.tsv
|
|
133 | tabular output
|
|
134 | Array with p rows (corresponding to the fragments for the different compounds of the compounds file)
|
|
135 | Last column "corvalid" is a boolean for validated fragments
|
|
136 processing_file.pdf
|
|
137 | pdf output
|
|
138 | For each compound of the compounds file, Graph of the all fragments with parents (or most intense peak if parent is not detected in the fragments. At the end the pdf file a graph of the spectra with validated fragments.
|
|
139
|
|
140 ]]></help>
|
|
141
|
0
|
142 </tool>
|