|
4
|
1 <tool id="chewbbaca_createschema" name="chewBBACA CreateSchema" version="2.1.0+galaxy0">
|
|
8
|
2 <description>Create a gene by gene schema based on genomes</description>
|
|
0
|
3 <requirements>
|
|
4
|
4 <requirement type="package" version="2.1.0">chewbbaca</requirement>
|
|
0
|
5 </requirements>
|
|
|
6 <command detect_errors="exit_code"><![CDATA[
|
|
2
|
7 chewBBACA.py CreateSchema
|
|
0
|
8 --cpu \${GALAXY_SLOTS:-1}
|
|
11
|
9 -i
|
|
|
10 #for $assembly in $assemblies:
|
|
|
11 $assembly
|
|
|
12 #end for
|
|
8
|
13 #if str( $prodigal_training_file_source.prodigal_training_file_source_selector ) == 'tool_data_table':
|
|
2
|
14 --ptf '${prodigal_training_file_source.prodigal_training_file.fields.path}'
|
|
8
|
15 #elif str( $prodigal_training_file_source.prodigal_training_file_source_selector ) == 'history':
|
|
2
|
16 --ptf '${prodigal_training_file_source.prodigal_training_file}'
|
|
|
17 #end if
|
|
9
|
18 #if $cds:
|
|
2
|
19 --CDS '${cds}'
|
|
0
|
20 #end if
|
|
|
21 --bsr '${bsr}'
|
|
|
22 -o schema
|
|
|
23 && tar -czf schema.tgz schema
|
|
|
24 ]]>
|
|
|
25 </command>
|
|
|
26 <inputs>
|
|
2
|
27 <param name="assemblies" format="fasta" type="data" multiple="true" label="Assembled genomes (fasta)" />
|
|
5
|
28 <conditional name="prodigal_training_file_source">
|
|
2
|
29 <param name="prodigal_training_file_source_selector" type="select"
|
|
|
30 label="Select a Prodigal training file from your history or use one from a tool data table?">
|
|
|
31 <option value="No" selected="true">No Prodigal training file</option>
|
|
|
32 <option value="tool_data_table">Prodigal training file from tool data table</option>
|
|
|
33 <option value="history">Prodigal training file from history</option>
|
|
|
34 </param>
|
|
|
35 <when value="No"/>
|
|
|
36 <when value="tool_data_table">
|
|
|
37 <param name="prodigal_training_file" type="select" format="tabular" label="Prodigal Training File">
|
|
|
38 <options from_data_table="chewbbaca_prodigal_training_files">
|
|
|
39 <validator type="no_options" message="No chewBBACA prodigal training files are available" />
|
|
|
40 </options>
|
|
|
41 </param>
|
|
|
42 </when>
|
|
|
43 <when value="history">
|
|
|
44 <param name="prodigal_training_file" type="data" format="binary"
|
|
|
45 label="Prodigal training file"
|
|
|
46 help=""/>
|
|
|
47 </when>
|
|
|
48 </conditional>
|
|
0
|
49 <param name="bsr" type="float" value="0.6" optional="true" label="BSR score" />
|
|
2
|
50 <param name="cds" type="data" format="fasta" optional="true" label="Coding sequence file for schema creation (fasta)" />
|
|
0
|
51 </inputs>
|
|
|
52 <outputs>
|
|
|
53 <data name="schema_zipped" format="zip" label="${tool.name}: on ${on_string}: Schema (zipped)" from_work_dir="schema.tgz"/>
|
|
|
54 </outputs>
|
|
|
55 <tests>
|
|
|
56
|
|
|
57 </tests>
|
|
|
58 <help><![CDATA[
|
|
|
59 ]]>
|
|
|
60 </help>
|
|
|
61 <expand macro="citations"/>
|
|
|
62 </tool>
|