comparison mascot_to_pepxml.xml @ 5:327b2d99d4c5

Update
author Ira Cooke <iracooke@gmail.com>
date Sun, 09 Jun 2013 08:17:38 -0500
parents d9564913a944
children
comparison
equal deleted inserted replaced
4:d9564913a944 5:327b2d99d4c5
1 <tool id="mascot_to_pepxml_1" name="Mascot to pepXML" version="1.0.1"> 1 <tool id="mascot_to_pepxml_1" name="Mascot to pepXML" version="1.0.1">
2 <requirements> 2 <requirements>
3 <requirement type="package" version="1.2.0">galaxy_protk</requirement> 3 <requirement type="package" version="1.2.2">galaxy_protk</requirement>
4 <requirement type="package" version="4.6.1">trans_proteomic_pipeline</requirement> 4 <requirement type="package" version="4.6.1">trans_proteomic_pipeline</requirement>
5 </requirements> 5 </requirements>
6 6
7 <description>Converts a mascot results file to pepXML</description> 7 <description>Converts a mascot results file to pepXML</description>
8 8
9 <command>rvm 1.9.3@protk-1.2.0 do mascot_to_pepxml.rb $input_file -o $output -d $database</command> 9 <command>rvm 1.9.3@protk-1.2.2 do mascot_to_pepxml.rb
10 $input_file
11
12 -o $output
13
14 #if $database.source_select=="built_in":
15 -d $database.dbkey
16 #else
17 -d $database.fasta_file
18 #end if
19
20 #if $explicit_enzyme.explicit_enzyme_use
21 --enzyme $explicit_enzyme.enzyme
22 #end if
23
24 $shortid
25
26 </command>
10 <inputs> 27 <inputs>
11 28
29
12 <param name="input_file" type="data" format="mascotdat" multiple="false" label="Input File" help="Mascot results file"/> 30 <param name="input_file" type="data" format="mascotdat" multiple="false" label="Input File" help="Mascot results file"/>
13 <param name="database" type="select" format="text" > 31
14 <label>Database</label> 32 <conditional name="database">
15 <options from_file="pepxml_databases.loc"> 33 <param name="source_select" type="select" label="Database source" help="A local copy of the database used in the Mascot search">
16 <column name="name" index="0" /> 34 <option value="built_in">Built-In</option>
17 <column name="value" index="2" /> 35 <option value="input_ref">Uploaded fasta file</option>
18 </options> 36 </param>
19 </param> 37 <when value="built_in">
20 38 <param name="dbkey" type="select" format="text" >
39 <label>Database</label>
40 <options from_file="pepxml_databases.loc">
41 <column name="name" index="0" />
42 <column name="value" index="2" />
43 </options>
44 </param>
45 </when>
46 <when value="input_ref">
47 <param name="fasta_file" type="data" format="fasta" label="Uploaded FASTA file" />
48 </when>
49 </conditional>
50
51 <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="" />
52
53 <conditional name="explicit_enzyme">
54 <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" />
55 <when value="false" />
56 <when value="true">
57 <param name="enzyme" type="text" label="Enzyme" size="80" value="trypsin" help="Semi-cleavage can be specified as semisample_enyzme eg semitrypsin"/>
58 </when>
59 </conditional>
60
61
21 62
22 </inputs> 63 </inputs>
23 <outputs> 64 <outputs>
24 <data format="raw_pepxml" metadata_source="input_file" name="output" label="${input_file.display_name}.pepXML" /> 65 <data format="raw_pepxml" metadata_source="input_file" name="output" label="${input_file.display_name}.pepXML" />
25 </outputs> 66 </outputs>
26 67
68 <tests>
69 <test>
70 <param name="source_select" value="input_ref"/>
71 <param name="fasta_file" value="bsa.fasta"/>
72 <param name="input_file" value="F002832.dat"/>
73 <output name="output" file="bsa_mascot2xml.pep.xml" compare="sim_size" delta="600" />
74 </test>
75
76 </tests>
77
27 <help> 78 <help>
28 Convert mascot results from mascotdat to pepXML 79 Convert mascot results from mascotdat to pepXML
29 </help> 80 </help>
30 81
31 </tool> 82 </tool>