comparison spectrast2spectrast_irt.xml @ 0:90dcbb52c83a draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/spectrast2spectrast_irt commit 225dd7d91b12108dd3a4eec00e45771ec8127259-dirty
author jjohnson
date Wed, 25 Jul 2018 16:45:58 -0400
parents
children dc40297705fc
comparison
equal deleted inserted replaced
-1:000000000000 0:90dcbb52c83a
1 <tool id="gp_spectrast2spectrast_irt" name="SpectraST RT Normalizer" version="0.5.0">
2 <description></description>
3 <requirements>
4 <requirement type="package" version="0.5.0">msproteomicstools</requirement>
5 </requirements>
6 <stdio>
7 <!-- Anything other than zero is an error -->
8 <exit_code range="1:" />
9 <exit_code range=":-1" />
10 <!-- In case the return code has not been set propery check stderr too -->
11 <regex match="Error:" />
12 <regex match="Exception:" />
13 </stdio>
14 <command>
15 <![CDATA[
16 ## may have to link splib
17 mkdir -p outdir &&
18 spectrast2spectrast_irt.py
19 --in ${input.extra_file_path}/library.sptxt
20 --out outdir/library.splib
21 #if str($kit) != 'None':
22 --kit "#echo ",".join(str($kit).split(','))#"
23 #end if
24 $applychauvenet
25 $precursorlevel
26 $spectralevel
27 $report
28 ##--exclude $exclude
29 ##--surrogate $surrogate
30 ##--linearregression $linearregression
31 --rsq_threshold $rsq_threshold &&
32 cp -p outdir/library.splib outdir/library.sptxt &&
33 mkdir -p '$output.files_path' &&
34 for i in library.splib library.sptxt library.spidx library.pepidx; do if [ -e outdir/\${i} ]; then cp -p outdir/\${i} '$output.files_path'; fi; done
35 ]]>
36 </command>
37 <inputs>
38 <param name="input" format="splib" type="data" label="Spectrast files" help="" />
39
40 <param name="applychauvenet" type="boolean" truevalue="--applychauvenet" falsevalue="" checked="False"
41 label="Use Chavenet's criterion to exclude outliers" help="(--applychauvenet)" />
42
43 <param name="precursorlevel" type="boolean" truevalue="--precursorlevel" falsevalue="" checked="False"
44 label="Use precursors instead of peptides for grouping" help="(--precursorlevel)" />
45
46 <param name="spectralevel" type="boolean" truevalue="--spectralevel" falsevalue="" checked="False"
47 label="Do not merge or group any peptides or precursors" help="Use raw spectra. (--spectralevel)" />
48
49 <param name="report" type="boolean" truevalue="--report" falsevalue="" checked="False"
50 label="Create a report CSV file" help="(--report)" />
51
52 <param name="rsq_threshold" type="float" value="0.95" label="Specify r-squared threshold to accept linear regression" help="(--rsq_threshold)" />
53
54 <param name="kit" type="select" multiple="True" optional="True" label="Specifiy RT-kit">
55 <option value="LGGNEQVTR:-28.3083">LGGNEQVTR:-28.3083</option>
56 <option value="GAGSSEPVTGLDAK:0.227424">GAGSSEPVTGLDAK:0.227424</option>
57 <option value="VEATFGVDESNAK:13.1078">VEATFGVDESNAK:13.1078</option>
58 <option value="YILAGVENSK:22.3798">YILAGVENSK:22.3798</option>
59 <option value="TPVISGGPYEYR:28.9999">TPVISGGPYEYR:28.9999</option>
60 <option value="TPVITGAPYEYR:33.6311">TPVITGAPYEYR:33.6311</option>
61 <option value="DGLDAASYYAPVR:43.2819">DGLDAASYYAPVR:43.2819</option>
62 <option value="ADVTPADFSEWSK:54.969">ADVTPADFSEWSK:54.969</option>
63 <option value="GTFIIDPGGVIR:71.3819">GTFIIDPGGVIR:71.3819</option>
64 <option value="GTFIIDPAAVIR:86.7152">GTFIIDPAAVIR:86.7152</option>
65 <option value="LFLQFGAQGSPFLK:98.0897">LFLQFGAQGSPFLK:98.0897</option>
66 </param>
67 </inputs>
68 <outputs>
69 <data name="output_report" format="csv" from_work_dir="outdir/library.csv">
70 <filter>report</filter>
71 </data>
72 <data name="output" format="splib"/>
73 </outputs>
74 <tests>
75 <!--
76 <test>
77 <param name="input" value="HEK_Lib_7Nov13.splib" ftype="txt" />
78 <param name="report" value="True" />
79 <output name="output_splib" file="spectrast2spectrast_irt_output_1_splib.txt" ftype="txt" />
80 <output name="output_pepidx" file="spectrast2spectrast_irt_output_1_pepids.txt" ftype="txt" />
81 <output name="output_report" file="spectrast2spectrast_irt_output_1_report.txt" ftype="txt" />
82 </test>
83 <test>
84 <param name="input" value="HEK_Lib_7Nov13.splib" ftype="txt" />
85 <param name="report" value="False" />
86 <param name="kit" value="LGGNEQVTR:-28.3083,GAGSSEPVTGLDAK:0.227424" />
87 <output name="output_splib" file="spectrast2spectrast_irt_output_2_splib.txt" ftype="txt" />
88 <output name="output_pepidx" file="spectrast2spectrast_irt_output_2_pepids.txt" ftype="txt" />
89 </test>
90 -->
91 </tests>
92 <help>
93 <![CDATA[
94 **What it does**
95
96 Filter from spectraST files to swath input files.
97
98
99 ]]>
100 </help>
101 <citations>
102 </citations>
103 </tool>