comparison roary.xml @ 0:e02e9af2743f draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/roary commit 1fbe605d5ac8fd5d91fec6fb24fcfc51788c62b6
author iuc
date Fri, 23 Jun 2017 07:53:29 -0400
parents
children a9098353ae22
comparison
equal deleted inserted replaced
-1:000000000000 0:e02e9af2743f
1 <tool id="roary" name="Roary" version="0.1.0">
2 <description>the pangenome pipeline - Quickly generate a core gene alignment from gff3 files</description>
3
4 <requirements>
5 <requirement type="package" version="3.8.2">roary</requirement>
6 </requirements>
7
8 <command detect_errors="exit_code"><![CDATA[
9
10 #for $counter, $gff in enumerate($gff_input.gffs)
11 cp $gff temp${counter}.gff &&
12 #end for
13
14 roary
15 -f out
16 -p \${GALAXY_SLOTS:-1}
17 -e
18 -n
19 -i '$percent_ident'
20 -cd '$core_diff'
21 -g '$advanced.maxclust'
22 $advanced.split_para
23 -t '$advanced.trans_tab'
24 -iv '$advanced.mcl'
25
26 temp*.gff
27
28 ]]></command>
29
30 <inputs>
31 <conditional name="gff_input">
32 <param name="gff_input_selector" type="select" label="Individual gff files or a dataset collection" help="Select between individual gff files or a collection of gff files">
33 <option value="individual">Individual</option>
34 <option value="collection">Collection</option>
35 </param>
36 <when value="individual">
37 <param name="gffs" type="data" multiple="true" format="gff3" label="select gff inputs to Roary" help="Select the files you wish to send to Roary, must be in gff3 format with the sequence data at the end of the file." />
38 </when>
39 <when value='collection'>
40 <param name="gffs" type="data_collection" collection_type="list" format="gff3" label="Dataset collection to submit to Roary" help="A dataset list collection of gff3 files to send to Roary for analysis." />
41 </when>
42 </conditional>
43 <param name="percent_ident" type="integer" label="minimum percentage identity for blastp" help="Sets the minimum percentage identity for protein matches" value="95"/>
44 <param name="core_diff" type="float" label="percentage of isolates a gene must be in to be core" help="The total percentage of the isolates that must have the gene for it to be considered a core gene." value="99.0"/>
45
46 <param name="outputs" type="select" multiple="true" display="checkboxes" label="Additional outputs" help="Summary statistics, core gene alignments and Gene Presence/Absence tables are always produced.">
47 <option value="abg_fa">Accessory binary genes in fasta format</option>
48 <option value="accgraph">Accessory graph in dot format</option>
49 <option value="acchead_embl">Accessory header file in embl format</option>
50 <option value="acctab">Accessory gene table in tabular format</option>
51 <option value="blastfreq">Blast Identity Frequency Rtab file</option>
52 <option value="clust">Clustered proteins file</option>
53 <option value="coreaccgraph">Core Accessory Graph in dot format</option>
54 <option value="coreaccembl">Core Accessory table in embl format</option>
55 <option value="coreacctab">Core Accessory table in tabular format</option>
56 <option value="genepa_rtab">Gene Presence Absence file in Rtab format</option>
57 <option value="numcons_rtab">Number of Conserved Genes in Rtab format</option>
58 <option value="numpangene_rtab">Number of Genes in Pan Genome in Rtab format</option>
59 <option value="numnew_rtab">Number of New Genes in Rtab format</option>
60 <option value="numuniq_rtab">Number of Unique Genes in Rtab format</option>
61 </param>
62
63 <section name="advanced" title="Advanced options" expanded="false">
64 <param name="maxclust" type="integer" value="50000" label="Maximum number of clusters" help="The maximum number of clusters to assign proteins" />
65 <param name="split_para" type="boolean" checked="False" truevalue="-s" falsevalue="" label="Don't split paralogs" help="Click yes so that paralogs aren't split."/>
66 <param name="trans_tab" type="integer" value="11" label="Translation table to use [1 or 4 or 11]" help="DNA -> RNA translation table to use. Roary is designed for prokaryotes and so tables 1, 4 or 11 will work, others could be problematic." />
67 <param name="mcl" type="float" value="1.5" label="MCL inflation value" help="This is an advanced setting, change only if you know what you are doing and then at your own risk!" />
68 </section>
69
70 </inputs>
71
72 <outputs>
73 <data format="tabular" name="sumstats" label="${tool.name} on ${on_string} Summary statistics" from_work_dir="out/summary_statistics.txt" />
74 <data format="fasta" name="core_gene_aln" label="${tool.name} on ${on_string} Core Gene Alignment" from_work_dir="out/core_gene_alignment.aln" />
75 <data format="csv" name="gene_p_a" label="${tool.name} on ${on_string} Gene Presence Absence" from_work_dir="out/gene_presence_absence.csv" />
76 <data format="fasta" name="acc_bin" label="${tool.name} on ${on_string} Accessory Binary Genes" from_work_dir="out/accessory_binary_genes.fa" >
77 <filter>outputs and 'abg_fa' in outputs</filter>
78 </data>
79 <data format="dot" name="acc_graph" label="${tool.name} on ${on_string} Acsessory Graph" from_work_dir="out/accessory_graph.dot">
80 <filter>outputs and 'accgraph' in outputs</filter>
81 </data>
82 <data format="embl" name="acc_head_embl" label="${tool.name} on ${on_string} Accessory Header" from_work_dir="out/accessory.header.embl" >
83 <filter>outputs and 'acchead_embl' in outputs</filter>
84 </data>
85 <data format="tabular" name="acc_tab" label="${tool.name} on ${on_string} Accessory Gene Table" from_work_dir="out/accessory.tab" >
86 <filter>outputs and 'acctab' in outputs</filter>
87 </data>
88 <data format="txt" name="blast_freq" label="${tool.name} on ${on_string} Blast Identity Frequencies" from_work_dir="out/blast_identity_frequency.Rtab" >
89 <filter>outputs and 'blastfreq' in outputs</filter>
90 </data>
91 <data format="txt" name="clust_file" label="${tool.name} on ${on_string} Clustered Proteins" from_work_dir="out/clustered_proteins" >
92 <filter>outputs and 'clust' in outputs</filter>
93 </data>
94 <data format="dot" name="core_acc_graph" label="${tool.name} on ${on_string} Core Accessory Graph" from_work_dir="out/core_accessory_graph.dot" >
95 <filter>outputs and 'coreaccgraph' in outputs</filter>
96 </data>
97 <data format="embl" name="core_acc_embl" label="${tool.name} on ${on_string} Core Accessory EMBL" from_work_dir="out/core_accessory.header.embl" >
98 <filter>outputs and 'coreaccembl' in outputs</filter>
99 </data>
100 <data format="tabular" name="core_acc_tab" label="${tool.name} on ${on_string} Core Accessory Table" from_work_dir="out/core_accessory.tab" >
101 <filter>outputs and 'coreacctab' in outputs</filter>
102 </data>
103 <data format="txt" name="gene_p_a_rtab" label="${tool.name} on ${on_string} Gene Presence Absence Rtab" from_work_dir="out/gene_presence_absence.Rtab" >
104 <filter>outputs and 'genepa_rtab' in outputs</filter>
105 </data>
106 <data format="txt" name="num_cons_rtab" label="${tool.name} on ${on_string} Number of Conserved Genes" from_work_dir="out/number_of_conserved_genes.Rtab" >
107 <filter>outputs and 'numcons_rtab' in outputs</filter>
108 </data>
109 <data format="txt" name="num_pangene_rtab" label="${tool.name} on ${on_string} Number of Genes in Pan Geneome" from_work_dir="out/number_of_genes_in_pan_genome.Rtab" >
110 <filter>outputs and 'numpangene_rtab' in outputs</filter>
111 </data>
112 <data format="txt" name="num_new_rtab" label="${tool.name} on ${on_string} Number of New Genes" from_work_dir="out/number_of_new_genes.Rtab" >
113 <filter>outputs and 'numnew_rtab' in outputs</filter>
114 </data>
115 <data format="txt" name="num_uniq_rtab" label="${tool.name} on ${on_string} Number of Unique Genes" from_work_dir="out/number_of_unique_genes.Rtab" >
116 <filter>outputs and 'numuniq_rtab' in outputs</filter>
117 </data>
118 </outputs>
119
120 <tests>
121 <test>
122 <param name="gff_input_selector" value="individual"/>
123 <param name="gffs" value="ex1.gff,ex2.gff" ftype="gff3"/>
124 <output name="sumstats" file="out/summary_statistics.txt" ftype="tabular"/>
125 </test>
126 <test>
127 <param name="gff_input_selector" value="individual"/>
128 <param name="gffs" value="ex1.gff,ex2.gff" ftype="gff3"/>
129 <param name="percent_ident" value="50"/>
130 <param name="core_diff" value="50.0"/>
131 <output name="sumstats" file="test2/summary_statistics.txt" ftype="tabular"/>
132 </test>
133 </tests>
134
135 <help><![CDATA[
136 **Roary**
137
138 Roary is a high speed stand alone pan genome pipeline, which takes annotated assemblies in GFF3 format (produced by Prokka) and calculates the pan genome. Using a standard desktop PC, it can analyse datasets with thousands of samples, something which is computationally infeasible with existing methods, without compromising the quality of the results. 128 samples can be analysed in under 1 hour using 1 GB of RAM and a single processor. To perform this analysis using existing methods would take weeks and hundreds of GB of RAM.
139
140 To use Roary, select two or more gff3 files OR a collection of gff3 files
141
142 **Options**:
143
144
145 - Minimum percentage identity for blastp - an integer, default is [95]
146
147
148 - Percentage of isolates a gene must be in to be core - a float, default is [99.0]
149
150
151 **Advanced Options**:
152
153 - Maximum number of clusters - integer, default is [50000]
154
155
156 - Don't split paralogs - check box
157
158
159 - Translation table - which translation table to use, an integer, default is [11]
160
161
162 - Change the MCL inflation value - a float, default is [1.5]
163
164
165 For further info see: http://sanger-pathogens.github.io/Roary/
166
167 ]]></help>
168
169 <citations>
170 <citation type="doi">http://doi.org/10.1093/bioinformatics/btv421</citation>
171 </citations>
172
173 </tool>