8
|
1 <tool id="mascot_to_pepxml_1" name="Mascot to pepXML" version="1.1.0">
|
7
|
2 <requirements>
|
8
|
3 <container type="docker">iracooke/protk-1.4.1</container>
|
|
4 <requirement type="package" version="1.4">protk</requirement>
|
|
5 <requirement type="package" version="4.8.0">trans_proteomic_pipeline</requirement>
|
7
|
6 </requirements>
|
|
7
|
|
8 <description>Converts a mascot results file to pepXML</description>
|
|
9
|
|
10 <command>mascot_to_pepxml.rb
|
|
11 $input_file
|
|
12
|
|
13 -o $output
|
|
14
|
|
15 #if $database.source_select=="built_in":
|
|
16 -d $database.dbkey
|
|
17 #else
|
|
18 -d $database.fasta_file
|
|
19 #end if
|
|
20
|
|
21 #if $explicit_enzyme.explicit_enzyme_use
|
|
22 --enzyme $explicit_enzyme.enzyme
|
|
23 #end if
|
|
24
|
|
25 $shortid
|
|
26
|
|
27 </command>
|
|
28 <inputs>
|
|
29
|
|
30
|
|
31 <param name="input_file" type="data" format="mascotdat" multiple="false" label="Input File" help="Mascot results file"/>
|
|
32
|
|
33 <conditional name="database">
|
|
34 <param name="source_select" type="select" label="Database source" help="A local copy of the database used in the Mascot search">
|
|
35 <option value="built_in">Built-In</option>
|
|
36 <option value="input_ref">Uploaded fasta file</option>
|
|
37 </param>
|
|
38 <when value="built_in">
|
|
39 <param name="dbkey" type="select" format="text" >
|
|
40 <label>Database</label>
|
|
41 <options from_file="pepxml_databases.loc">
|
|
42 <column name="name" index="0" />
|
|
43 <column name="value" index="2" />
|
|
44 </options>
|
|
45 </param>
|
|
46 </when>
|
|
47 <when value="input_ref">
|
|
48 <param name="fasta_file" type="data" format="fasta" label="Uploaded FASTA file" />
|
|
49 </when>
|
|
50 </conditional>
|
|
51
|
|
52 <param name="shortid" type="boolean" label="Short ID" help="Use protein id from the Mascot result file instead reading from the fasta database." truevalue="--shortid" falsevalue="" />
|
|
53
|
|
54 <conditional name="explicit_enzyme">
|
|
55 <param name="explicit_enzyme_use" type="boolean" label="Specify Enzyme" help="If left unchecked the Enzyme will be read from the input file" truevalue="true" falsevalue="false" />
|
|
56 <when value="false" />
|
|
57 <when value="true">
|
|
58 <param name="enzyme" type="text" label="Enzyme" size="80" value="trypsin" help="Semi-cleavage can be specified as semisample_enyzme eg semitrypsin"/>
|
|
59 </when>
|
|
60 </conditional>
|
|
61
|
|
62
|
|
63
|
|
64 </inputs>
|
|
65 <outputs>
|
|
66 <data format="raw_pepxml" metadata_source="input_file" name="output" label="${input_file.display_name}.pepXML" />
|
|
67 </outputs>
|
|
68
|
|
69 <tests>
|
|
70 <test>
|
|
71 <param name="source_select" value="input_ref"/>
|
|
72 <param name="fasta_file" value="bsa.fasta"/>
|
|
73 <param name="input_file" value="F002832.dat"/>
|
|
74 <output name="output" file="bsa_mascot2xml.pep.xml" compare="sim_size" delta="600" />
|
|
75 </test>
|
|
76
|
|
77 </tests>
|
|
78
|
|
79 <help>
|
|
80 Convert mascot results from mascotdat to pepXML
|
|
81 </help>
|
|
82
|
|
83 </tool>
|