14
|
1 <tool id="pepxml_to_table_1" name="PepXML to Table" version="1.1.0">
|
12
|
2
|
|
3 <requirements>
|
14
|
4 <container type="docker">iracooke/protk-1.4.1</container>
|
|
5 <requirement type="package" version="1.4">protk</requirement>
|
12
|
6 </requirements>
|
|
7
|
|
8
|
|
9
|
|
10 <description>Converts a pepXML file to a tab delimited text file</description>
|
|
11
|
|
12
|
|
13 <!-- Note .. the input file is assumed to be the first argument -->
|
14
|
14 <command>pepxml_to_table.rb $input_file -o $output $invert_probs</command>
|
12
|
15
|
|
16
|
|
17 <inputs>
|
|
18
|
|
19 <param name="input_file" type="data" format="pepxml,raw_pepxml,peptideprophet_pepxml,interprophet_pepxml" multiple="false" label="Input File" help="A pepXML file"/>
|
14
|
20 <param name="invert_probs" type="boolean" label="Print inverted probabilities (ie 1-p instead of p)" truevalue="--invert-probabilities" falsevalue=""/>
|
12
|
21
|
|
22 </inputs>
|
|
23 <outputs>
|
|
24 <data format="csv" name="output" metadata_source="input_file" label="${input_file.display_name}.csv" />
|
|
25 </outputs>
|
|
26
|
14
|
27
|
|
28 <tests>
|
|
29 <!-- Just test that the tool runs and produces vaguely correct output -->
|
|
30 <test>
|
|
31 <param name="input_file" value="mr176-BSA100fmole_BA3_01_8168.d_tandem.pep.xml" format="raw_pepxml"/>
|
|
32 <output name="output" format="csv">
|
|
33 <assert_contents>
|
|
34 <has_text text="ANTNNYAPKSSR" />
|
|
35 </assert_contents>
|
|
36 </output>
|
|
37 </test>
|
|
38 </tests>
|
|
39
|
|
40
|
12
|
41 <help>
|
|
42 Convert a pepXML file to Tab delimited text
|
|
43 </help>
|
|
44
|
|
45 </tool>
|