comparison delta_pi_calc.xml @ 1:8a30d6e5b97d draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tools/pi_db_tools commit ddcc42d2a767f7c14eb710b8ac264745c25444d3
author galaxyp
date Mon, 24 Jul 2017 05:25:22 -0400
parents 34c5c95740a1
children 77ddaee887a8
comparison
equal deleted inserted replaced
0:34c5c95740a1 1:8a30d6e5b97d
1 <tool id="calc_delta_pi" name="Add delta pI" version="1.0"> 1 <tool id="calc_delta_pi" name="Add delta pI" version="1.1">
2 <requirements> 2 <requirements>
3 <requirement type="package" version="3.6">python</requirement> 3 <requirement type="package" version="3.6">python</requirement>
4 </requirements> 4 </requirements>
5 <description>to peptide table</description> 5 <description>to peptide table</description>
6 <command> 6 <command>
7 python '$__tool_directory__/peptide_pi_annotator.py' -i '$trainingpi' -p '$peptable' 7 python '$__tool_directory__/peptide_pi_annotator.py' -i '$trainingpi' -p '$peptable' --out '$output'
8 --stripcol $stripcol --pepcol $pepcol --fraccol $fraccol --out '$output' 8 #if $stripcol
9 --stripcol $stripcol
10 #else if $stripcolpattern
11 --stripcolpattern '$stripcolpattern'
12 #end if
13 #if $pepcol
14 --pepcol $pepcol
15 #else if $pepcolpattern
16 --pepcolpattern '$pepcolpattern'
17 #end if
18 #if $fraccol
19 --fraccol $fraccol
20 #else if $fraccolpattern
21 --fraccolpattern '$fraccolpattern'
22 #end if
9 23
10 --strippatterns 24 --strippatterns
11 #for $strip in $strips 25 #for $strip in $strips
12 '$strip.pattern' 26 '$strip.pattern'
13 #end for 27 #end for
40 <remove preset="string.whitespace" /> 54 <remove preset="string.whitespace" />
41 </valid> 55 </valid>
42 </sanitizer> 56 </sanitizer>
43 </param> 57 </param>
44 </repeat> 58 </repeat>
45 <param name="pepcol" type="integer" value="" label="Peptide sequence column in peptide table" /> 59 <param name="pepcolpattern" type="text" value="" optional="true" label="Peptide sequence pattern for column header field in peptide table." />
46 <param name="fraccol" type="integer" value="" label="Fraction number column in peptide table" /> 60 <param name="pepcol" type="integer" value="" optional="true" label="Peptide sequence column number in peptide table. First column is 1. Overrides column pattern." />
47 <param name="stripcol" type="integer" value="" label="Strip pattern column in peptide table" help="E.g. column with filename to derive strip name from"/> 61 <param name="fraccolpattern" type="text" value="" optional="true" label="Fraction number column header papttern in peptide table." />
62 <param name="fraccol" type="integer" optional="true" value="" label="Fraction number column number in peptide table. First column is 1. Overrides column pattern." />
63 <param name="stripcolpattern" type="text" optional="true" value="" label="Strip pattern header column pattern in peptide table" help="E.g. column with filename to derive strip name from"/>
64 <param name="stripcol" type="integer" optional="true" value="" label="Strip pattern column number in peptide table" help="E.g. column with filename to derive strip name from. First column is 1. Overrides column pattern"/>
48 <repeat name="strips" title="pI separation strip data"> 65 <repeat name="strips" title="pI separation strip data">
49 <param name="pattern" type="text" label="Strip regex detection pattern" help="Regex (see help below) that identifies the pI strip from the column in the above field."> 66 <param name="pattern" type="text" label="Strip regex detection pattern" help="Regex (see help below) that identifies the pI strip from the column in the above field.">
50 <sanitizer> 67 <sanitizer>
51 <valid> 68 <valid>
52 <remove preset="string.whitespace" /> 69 <remove preset="string.whitespace" />
69 <param name="regex" value="*" /> 86 <param name="regex" value="*" />
70 </repeat> 87 </repeat>
71 <param name="pepcol" value="1" /> 88 <param name="pepcol" value="1" />
72 <param name="fraccol" value="4" /> 89 <param name="fraccol" value="4" />
73 <param name="stripcol" value="2" /> 90 <param name="stripcol" value="2" />
91 <repeat name="strips">
92 <param name="pattern" value="strip1" />
93 <param name="intercept" value="8.21" />
94 <param name="fr_width" value="0.013" />
95 </repeat>
96 <repeat name="strips">
97 <param name="pattern" value="strip2" />
98 <param name="intercept" value="6.11" />
99 <param name="fr_width" value="0.04" />
100 </repeat>
101 <output name="output" value="peptable_deltapi.txt" />
102 </test>
103 <test>
104 <param name="trainingpi" value="predicted_peptides.txt" />
105 <param name="peptable" value="peptable.txt" />
106 <repeat name="ignoremods">
107 <param name="regex" value="*" />
108 </repeat>
109 <param name="pepcolpattern" value="Sequence" />
110 <param name="fraccolpattern" value="Fraction" />
111 <param name="stripcolpattern" value="Filename" />
74 <repeat name="strips"> 112 <repeat name="strips">
75 <param name="pattern" value="strip1" /> 113 <param name="pattern" value="strip1" />
76 <param name="intercept" value="8.21" /> 114 <param name="intercept" value="8.21" />
77 <param name="fr_width" value="0.013" /> 115 <param name="fr_width" value="0.013" />
78 </repeat> 116 </repeat>