annotate funannotate_compare.xml @ 0:857f7ac611e1 draft

"planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
author iuc
date Mon, 04 Oct 2021 19:38:37 +0000
parents
children 3187e8a44739
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
1 <tool id="funannotate_compare" name="Funannotate compare" profile="20.01" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
2 <description>annotations</description>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
3 <macros>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
5 </macros>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
6 <requirements>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
7 <expand macro="requirements" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
8 </requirements>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
9 <version_command>funannotate check --show-versions</version_command>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
10 <command><![CDATA[
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
11 #set $inputs = ""
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
12 #for i, f in enumerate($input):
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
13 #set $inputs = $inputs + " input" + str($i) + ".gbk"
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
14 ln -s '$f' input${i}.gbk &&
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
15 #end for
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
16
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
17 funannotate compare
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
18 --input
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
19
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
20 $inputs
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
21
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
22 --out output
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
23
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
24 --database '$database.fields.path'
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
25
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
26 #if $run_dnds in ['estimate', 'full']:
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
27 --run_dnds ${run_dnds}
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
28 #end if
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
29
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
30 ## TODO add --outgroup option some day (hard to get an up to date/customizable list)
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
31
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
32 --go_fdr ${go_fdr}
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
33
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
34 --heatmap_stdev ${heatmap_stdev}
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
35
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
36 --num_orthos ${num_orthos}
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
37
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
38 #if $proteinortho:
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
39 --proteinortho '${proteinortho}'
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
40 #end if
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
41
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
42 --ml_method ${ml.ml_method}
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
43
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
44 #if $ml.ml_method == 'raxml':
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
45 --bootstrap '${ml.bootstrap}'
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
46 #end if
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
47
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
48 --cpus \${GALAXY_SLOTS:-2}
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
49
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
50 &&
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
51
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
52 mkdir -p '$output.files_path' &&
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
53 cp -R output/* '$output.files_path' &&
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
54 cp output/index.html '$output'
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
55 ]]></command>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
56 <inputs>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
57 <param argument="--input" type="data" format="genbank" multiple="true" label="Genome annotations in genbank format" help="Outputs from 'Funannotate predict annotation' tool" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
58
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
59 <param name="database" label="Funannotate database" type="select">
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
60 <options from_data_table="funannotate">
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
61 <column name="value" index="0" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
62 <column name="name" index="1" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
63 <column name="path" index="3" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
64 <filter type="sort_by" column="0" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
65 <filter type="static_value" column="2" value="1.0" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
66 </options>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
67 </param>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
68
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
69 <param argument="--run_dnds" type="select" label="Calculate dN/dS ratio on all orthologs">
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
70 <option value="no" selected="True">No</option>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
71 <option value="estimate">estimate</option>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
72 <option value="full">full</option>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
73 </param>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
74
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
75 <param argument="--go_fdr" type="float" value="0.05" label="P-value for FDR GO-enrichment" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
76 <param argument="--heatmap_stdev" type="float" value="1.0" label="Cut-off for heatmap" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
77 <param argument="--num_orthos" type="integer" value="500" label="Number of Single-copy orthologs to use for ML" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
78 <param argument="--proteinortho" type="data" format="tabular" optional="true" label="Proteinortho POFF results" help="TSV format, if available"/>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
79
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
80 <conditional name="ml">
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
81 <param argument="--ml_method" type="select" label="Maximum Likelihood method">
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
82 <option value="iqtree" selected="True">iqtree</option>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
83 <option value="raxml">raxml</option>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
84 </param>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
85 <when value="iqtree" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
86 <when value="raxml">
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
87 <param argument="--bootstrap" type="integer" value="100" label="Number of boostrap replicates to run with RAxML" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
88 </when>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
89 </conditional>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
90
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
91 <!-- Need this to change path in the test funannotate_db -->
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
92 <param type="hidden" name="uglyTestingHack" value="" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
93 </inputs>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
94 <outputs>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
95 <data name='output' format='html' label="${tool.name} on ${on_string}: report" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
96 </outputs>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
97 <tests>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
98 <test>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
99 <param name="input" value="compare/Genus_species.gbk,compare/Other_species.gbk,compare/Other_beast.gbk,compare/Yet_another.gbk" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
100 <param name="database" value="2021-07-20-120000" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
101 <param name="outputs" value="gbk" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
102 <conditional name="ml">
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
103 <param name="ml_method" value="raxml" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
104 </conditional>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
105 <output name="output">
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
106 <assert_contents>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
107 <has_text text="Report generated on:" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
108 </assert_contents>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
109 </output>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
110 </test>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
111 </tests>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
112 <help><![CDATA[
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
113 Funannotate_ compare
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
114 --------------------
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
115
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
116 Funannotate_ is a pipeline for genome annotation (built specifically for fungi, but will also work with higher eukaryotes).
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
117
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
118 This script does light-weight comparative genomics between funannotated genomes. Output
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
119 is graphs, phylogeny, CSV files, etc --> visualized in web-browser.
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
120
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
121 .. _Funannotate: http://funannotate.readthedocs.io
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
122 ]]></help>
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
123 <expand macro="citations" />
857f7ac611e1 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents:
diff changeset
124 </tool>