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>
|
|
56 </tool>
|