annotate funannotate_predict.xml @ 12:4b96ced19f75 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 9e3708d04faea0f1be4ea8918e859d6f2c7eb31d
author iuc
date Wed, 26 Jun 2024 09:39:31 +0000
parents 1bc5a03faf2e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
1 <tool id="funannotate_predict" name="Funannotate predict annotation" profile="20.01" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
2 <description></description>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
3 <macros>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
5 </macros>
10
1bc5a03faf2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 1102ae206f5dfb9322d28b23d224eb67a7b80a1c
iuc
parents: 9
diff changeset
6 <expand macro="biotools" />
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
7 <requirements>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
8 <expand macro="requirements" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
9 </requirements>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
10 <version_command><![CDATA[funannotate check --show-versions]]></version_command>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
11 <command><![CDATA[
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
12 #if $genemark.genemark_license:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
13 if [ -z "\$GENEMARK_PATH" ] ; then echo "GeneMark is not installed on this Galaxy server." >&2 ; exit 1 ; fi &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
14 if [ ! -f "\$GENEMARK_PATH/gmes_petap.pl" ] ; then echo "GeneMark is not installed properly on this Galaxy server." >&2 ; exit 1 ; fi &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
15 ## GeneMark only search for license in ~/.gm_key
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
16 cp '${genemark.genemark_license}' ~/.gm_key &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
17 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
18
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
19 #if $uglyTestingHack == "true":
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
20 ## funannotate_db contains some hard coded path, need to rewrite one for tests (not in real life when using data manager)
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
21 ## Need to copy too as the test_data is read only on CI
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
22 cp -r '${database.fields.path}' './hacked_database' &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
23 sed -i.bak 's|/tmp/prout|'`pwd`'/hacked_database|' './hacked_database/trained_species/fly/info.json' &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
24 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
25
6
7abc5f6dd595 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 8307455ce2bb36981fee509f556ff17c227a9d8a
iuc
parents: 4
diff changeset
26 mkdir -p input/ &&
7abc5f6dd595 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 8307455ce2bb36981fee509f556ff17c227a9d8a
iuc
parents: 4
diff changeset
27 ln -s '${input}' input/input.fasta &&
7abc5f6dd595 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 8307455ce2bb36981fee509f556ff17c227a9d8a
iuc
parents: 4
diff changeset
28
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
29 funannotate predict
6
7abc5f6dd595 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 8307455ce2bb36981fee509f556ff17c227a9d8a
iuc
parents: 4
diff changeset
30 --input input/input.fasta
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
31 --out output
12
4b96ced19f75 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 9e3708d04faea0f1be4ea8918e859d6f2c7eb31d
iuc
parents: 10
diff changeset
32 --tmpdir "\${_GALAXY_JOB_TMP_DIR:-/tmp}"
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
33 #if $uglyTestingHack == "true":
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
34 --database `pwd`'/hacked_database'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
35 #else
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
36 --database '$database.fields.path'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
37 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
38
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
39 $force
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
40
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
41 --species '${organism.species}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
42 --isolate '${organism.isolate}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
43 --strain '${organism.strain}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
44 --organism '${organism.organism}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
45 --ploidy ${organism.ploidy}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
46 --SeqCenter '${organism.SeqCenter}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
47 --SeqAccession '${organism.SeqAccession}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
48 --name '${organism.name}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
49 --numbering ${organism.numbering}
10
1bc5a03faf2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 1102ae206f5dfb9322d28b23d224eb67a7b80a1c
iuc
parents: 9
diff changeset
50 --header_length ${header_length}
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
51
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
52 #if $parameters:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
53 --parameters '${parameters}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
54 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
55
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
56 #if $evidences.rna_bam
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
57 --rna_bam ${evidences.rna_bam}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
58 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
59
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
60 #set est_list = ""
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
61 #if len($evidences.transcript_evidence) > 0:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
62 #for $estev in $evidences.transcript_evidence:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
63 #if $estev:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
64 #set est_list += " '" + str($estev) + "'"
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
65 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
66 #end for
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
67 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
68 #if $est_list:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
69 --transcript_evidence $est_list
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
70 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
71
2
33092577d65d "planemo upload commit c70e2e82ba7d3f9ee43c101ab267cdf0847d8864"
iuc
parents: 1
diff changeset
72 #if $evidences.prot_evidence.prot_evidence_source == 'custom':
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
73 --protein_evidence
2
33092577d65d "planemo upload commit c70e2e82ba7d3f9ee43c101ab267cdf0847d8864"
iuc
parents: 1
diff changeset
74 #for $protev in $evidences.prot_evidence.protein_evidence:
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
75 '${protev}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
76 #end for
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
77 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
78 --p2g_pident ${evidences.p2g_pident}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
79 --p2g_prefilter ${evidences.p2g_prefilter}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
80
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
81 --busco_seed_species '${busco.busco_seed_species}'
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
82 --busco_db '${busco.busco_db}'
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
83
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
84 #if $augustus.augustus_species != 'none':
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
85 --augustus_species '${augustus.augustus_species}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
86 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
87 --min_training_models ${augustus.min_training_models}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
88 ${augustus.optimize_augustus}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
89
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
90 #if $genemark.genemark_license:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
91 --genemark_mode '${genemark.genemark_mode}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
92 #if $genemark.genemark_mod:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
93 --genemark_mod '${genemark.genemark_mod}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
94 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
95 --soft_mask ${genemark.soft_mask}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
96 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
97
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
98 $evm.repeats2evm
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
99 #if $evm.evm_partitioning.evm_partition == "yes":
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
100 --evm-partition-interval ${evm.evm_partitioning.evm_partition_interval}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
101 #else:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
102 --no-evm-partitions
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
103 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
104 #if $evm.weights:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
105 --weights '${evm.weights}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
106 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
107
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
108 #if $other_predictors.stringtie:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
109 --stringtie '${other_predictors.stringtie}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
110 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
111 #if $other_predictors.maker_gff:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
112 --maker_gff '${other_predictors.maker_gff}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
113 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
114 #if $other_predictors.pasa_gff:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
115 --pasa_gff '${other_predictors.pasa_gff}:${other_predictors.pasa_gff_weight}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
116 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
117 #if $other_predictors.other_gff:
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
118 --other_gff '${other_predictors.other_gff}:${other_predictors.other_gff_weight}'
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
119 #end if
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
120
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
121 --min_intronlen ${filtering.min_intronlen}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
122 --max_intronlen ${filtering.max_intronlen}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
123 --min_protlen ${filtering.min_protlen}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
124 ${filtering.keep_no_stops}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
125 --repeat_filter ${filtering.repeat_filter}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
126
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
127 --cpus \${GALAXY_SLOTS:-2}
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
128
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
129 &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
130
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
131 mv output/predict_results/*.gbk out.gbk &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
132 mv output/predict_results/*.tbl out.tbl &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
133 mv output/predict_results/*.gff3 out.gff3 &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
134 mv output/predict_results/*.proteins.fa out.proteins.fa &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
135 mv output/predict_results/*.mrna-transcripts.fa out.mrna-transcripts.fa &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
136 mv output/predict_results/*.cds-transcripts.fa out.cds-transcripts.fa &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
137 mv output/predict_results/*.discrepency.report.txt out.discrepency.report.txt &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
138 mv output/predict_results/*.error.summary.txt out.error.summary.txt &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
139 mv output/predict_results/*.validation.txt out.validation.txt &&
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
140 mv output/predict_results/*.stats.json out.stats.json
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
141 ]]></command>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
142 <inputs>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
143 <param argument="--input" type="data" format="fasta" label="Assembly to annotate" help="The assembly should be soft-masked (with RepeatMasker for example)" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
144
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
145 <param name="database" label="Funannotate database" type="select">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
146 <options from_data_table="funannotate">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
147 <column name="value" index="0" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
148 <column name="name" index="1" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
149 <column name="path" index="3" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
150 <filter type="sort_by" column="0" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
151 <filter type="static_value" column="2" value="1.0" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
152 </options>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
153 </param>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
154
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
155 <param argument="--force" type="boolean" checked="true" truevalue="" falsevalue="--force" label="Check the genome sequence" help="Disable at your own risk if you want to ignore problems in the genome sequence reported by Funannotate" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
156
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
157 <section name="organism" expanded="true" title="Organism">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
158 <param argument="--species" type="text" optional="false" label="Name of the species to annotate" help="e.g. Genus species">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
159 <validator type="empty_field" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
160 </param>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
161 <param argument="--isolate" type="text" label="Isolate name" help="If relevant (e.g. Af293)" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
162 <param argument="--strain" type="text" label="Strain name" help="If relevant (e.g. FGSCA4)" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
163 <param argument="--organism" type="boolean" checked="false" truevalue="fungus" falsevalue="other" label="Is it a fungus species?" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
164 <param argument="--ploidy" type="integer" value="1" label="Ploidy of assembly" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
165 <param argument="--SeqCenter" type="text" value="CFMR" label="Sequencing facility for NCBI tbl file" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
166 <param argument="--SeqAccession" type="text" value="12345" label="Sequence accession number for NCBI tbl file" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
167 <param argument="--name" type="text" value="FUN_" label="Locus tag prefix" help="Will prefix all the gene names" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
168 <param argument="--numbering" type="integer" value="1" label="Specify where gene numbering starts" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
169 </section>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
170
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
171 <section name="evidences" expanded="true" title="Evidences">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
172 <param argument="--rna_bam" type="data" format="bam" optional="true" label="RNA-seq mapped to genome to train Augustus/GeneMark-ET" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
173 <param argument="--transcript_evidence" type="data" format="fasta" multiple="true" optional="true" label="mRNA/ESTs to align to genome" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
174 <conditional name="prot_evidence">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
175 <param name="prot_evidence_source" type="select" label="Select protein evidences">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
176 <option value="uniprot" selected="True">Use UniProtKb/SwissProt (from selected Funannotate database)</option>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
177 <option value="custom">Custom protein sequences</option>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
178 </param>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
179 <when value="uniprot"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
180 <when value="custom">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
181 <param argument="--protein_evidence" type="data" format="fasta" multiple="true" label="Proteins to map to genome" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
182 </when>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
183 </conditional>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
184 <param argument="--p2g_pident" type="integer" value="80" label="Exonerate percent identity (for proteins)" />
3
73909ee8162e "planemo upload commit d1ebc78155f57c87d8e82c9855b176428e9803ad"
iuc
parents: 2
diff changeset
185 <param argument="--p2g_prefilter" type="select" label="Prefilter hits with (for proteins)">
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
186 <option value="diamond" selected="True">Diamond</option>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
187 <option value="tblastn">tblastn (slower)</option>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
188 </param>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
189 </section>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
190
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
191 <section name="busco" expanded="true" title="Busco">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
192 <param argument="--busco_db" type="select" label="BUSCO models to align" help="BUSCO will be used to perform initial training of ab initio predictors (e.g. Augustus).">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
193 <expand macro="busco_species"/>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
194 </param>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
195 <param argument="--busco_seed_species" type="select" label="Initial Augustus species training set for BUSCO alignment" help="Used when BUSCO runs Augustus internally.">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
196 <expand macro="augustus_species"/>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
197 </param>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
198 </section>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
199
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
200 <section name="filtering" expanded="true" title="Filtering">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
201 <param argument="--min_intronlen" type="integer" value="10" label="Minimum intron length" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
202 <param argument="--max_intronlen" type="integer" value="3000" label="Maximum intron length" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
203 <param argument="--min_protlen" type="integer" value="50" label="Minimum protein length" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
204 <param argument="--keep_no_stops" type="boolean" checked="false" truevalue="--keep_no_stops" falsevalue="" label="Keep gene models without valid stops" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
205 <param argument="--repeat_filter" type="select" label="Repetitive gene model filtering" help="'overlap' drops gene models that are more than 90% contained within a repeat region; 'blast' compares the amino acid sequences to a small database of known transposons">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
206 <option value="overlap blast" selected="True">overlap + blast</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
207 <option value="overlap">overlap</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
208 <option value="blast">blast</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
209 <option value="none">none</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
210 </param>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
211 </section>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
212
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
213 <param argument="--parameters" type="data" format="json" optional="true" label="Ab-initio training parameters from a previous run" help="If specified, will over-rule any other training presets based on sepcies selection." />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
214
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
215 <section name="augustus" expanded="false" title="Augustus settings (advanced)">
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
216 <param argument="--augustus_species" type="select" label="Augustus species training set" help="Select a species from the list">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
217 <option value="none" selected="True">No corresponding species, train from scratch</option>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
218 <expand macro="augustus_species"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
219 </param>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
220 <param argument="--min_training_models" type="integer" value="200" label="Minimum number of models to train Augustus" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
221 <param argument="--optimize_augustus" type="boolean" checked="false" truevalue="--optimize_augustus" falsevalue="" label="Run 'optimize_augustus.pl' to refine training (long runtime)" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
222 </section>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
223
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
224 <section name="genemark" expanded="false" title="GeneMark settings (advanced)">
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
225 <param name="genemark_license" type="data" format="txt" optional="true" label="GeneMark license file" help="GeneMark is not a free software, to use it download and unzip a license from http://topaz.gatech.edu/GeneMark/license_download.cgi (ES/ET/EP version). GeneMark needs to be installed manually by Galaxy administrators, it might not be available on this server." />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
226 <param argument="--genemark_mode" type="select" label="GeneMark mode">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
227 <option value="ES" selected="True">ES</option>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
228 <option value="ET">ET</option>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
229 </param>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
230 <param argument="--genemark_mod" type="data" format="txt" optional="true" label="Use pre-existing Genemark training file (e.g. gmhmm.mod)" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
231 <param argument="--soft_mask" type="integer" value="2000" label="Softmasked length threshold for GeneMark" help="GeneMark will skip prediction on repeat regions shorter than this value" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
232 </section>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
233
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
234 <section name="other_predictors" expanded="false" title="Other annotations (advanced)">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
235 <param argument="--stringtie" type="data" format="gtf" optional="true" label="StringTie GTF result" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
236 <param argument="--maker_gff" type="data" format="gff3" optional="true" label="MAKER2 GFF file" help="Parse results directly to EVM" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
237 <param argument="--pasa_gff" type="data" format="gff3" optional="true" label="PASA generated gene models" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
238 <param name="pasa_gff_weight" type="integer" value="1" label="Weight for PASA generated gene models" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
239 <param argument="--other_gff" type="data" format="gff3" optional="true" label="Annotation pass-through to EVM" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
240 <param name="other_gff_weight" type="integer" value="1" label="Weight for annotation pass-through to EVM" />
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
241 </section>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
242
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
243 <section name="evm" expanded="false" title="EVM settings (advanced)">
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
244 <param argument="--repeats2evm" type="boolean" checked="false" truevalue="--repeats2evm" falsevalue="" label="Use repeats in EVM consensus model building" help="Not recommended for fungal genomes that have high gene density. You might want to turn this option on for larger genomes or those that have a high repeat content." />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
245 <conditional name="evm_partitioning">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
246 <param name="evm_partition" type="select" label="Split contigs into partitions for EVM processing?" help="Splits big contigs in smaller overlaping chunks to reduce memory usage and parallelize">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
247 <option value="yes" selected="True">Yes</option>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
248 <option value="no">No</option>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
249 </param>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
250 <when value="yes">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
251 <param argument="--evm-partition-interval" type="integer" value="1500" label="Min length between genes to make a partition" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
252 </when>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
253 <when value="no"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
254 </conditional>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
255 <param argument="--weights" type="text" optional="true" label="Custom ab-initio predictor and EVM weight" help="e.g. augustus:2 pasa:10">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
256 <validator type="regex" message="Key must consist of alphanumeric characters only, possibly separated by the period character ('.')">^[\w: ]+$</validator>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
257 </param>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
258 </section>
10
1bc5a03faf2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 1102ae206f5dfb9322d28b23d224eb67a7b80a1c
iuc
parents: 9
diff changeset
259 <param argument="--header_length" type="integer" value="16" min="1" label="Maximum length of FASTA headers" help="The NCBI max FASTA header length is 16. Increase if you don't submit to NCBI." />
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
260 <param name="outputs" type="select" optional="true" multiple="true" label="Which outputs should be generated">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
261 <option value="gbk" selected="true">Annotated genome (genbank)</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
262 <option value="tbl">NCBI tbl annotation file (use for NCBI submission)</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
263 <option value="gff3">Annotation in GFF3 format</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
264 <option value="proteins_fa">Multi-fasta file of protein coding genes</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
265 <option value="mrna_transcripts_fa">Multi-fasta file of transcripts (mRNA)</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
266 <option value="cds_transcripts_fa">Multi-fasta file of transcripts (CDS)</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
267 <option value="tbl2asn_report">tbl2asn summary report of annotated genome</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
268 <option value="tbl2asn_error">tbl2asn error summary report</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
269 <option value="tbl2asn_validation">tbl2asn genome validation report</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
270 <option value="stats">statistics</option>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
271 </param>
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
272
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
273 <!-- Need this to change path in the test funannotate_db -->
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
274 <param type="hidden" name="uglyTestingHack" value="" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
275 </inputs>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
276 <outputs>
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
277 <data name='annot_gbk' format='genbank' label="${tool.name} on ${on_string}: annotation (genbank)" from_work_dir="out.gbk">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
278 <filter>outputs and 'gbk' in outputs</filter>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
279 </data>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
280 <data name='annot_tbl' format='txt' label="${tool.name} on ${on_string}: NCBI tbl annotation file" from_work_dir="out.tbl">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
281 <filter>outputs and 'tbl' in outputs</filter>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
282 </data>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
283 <data name='annot_gff3' format='gff3' label="${tool.name} on ${on_string}: annotation (GFF3)" from_work_dir="out.gff3">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
284 <filter>outputs and 'gff3' in outputs</filter>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
285 </data>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
286 <data name='fasta_proteins' format='fasta' label="${tool.name} on ${on_string}: protein sequences" from_work_dir="out.proteins.fa">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
287 <filter>outputs and 'proteins_fa' in outputs</filter>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
288 </data>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
289 <data name='fasta_transcripts_mrna' format='fasta' label="${tool.name} on ${on_string}: transcript mRNA sequences" from_work_dir="out.mrna-transcripts.fa">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
290 <filter>outputs and 'mrna_transcripts_fa' in outputs</filter>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
291 </data>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
292 <data name='fasta_transcripts_cds' format='fasta' label="${tool.name} on ${on_string}: transcript CDS sequences" from_work_dir="out.cds-transcripts.fa">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
293 <filter>outputs and 'cds_transcripts_fa' in outputs</filter>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
294 </data>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
295 <data name='tbl2asn_report' format='txt' label="${tool.name} on ${on_string}: tbl2asn summary report of annotated genome" from_work_dir="out.discrepency.report.txt">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
296 <filter>outputs and 'tbl2asn_report' in outputs</filter>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
297 </data>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
298 <data name='tbl2asn_error' format='txt' label="${tool.name} on ${on_string}: tbl2asn error summary report" from_work_dir="out.error.summary.txt">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
299 <filter>outputs and 'tbl2asn_error' in outputs</filter>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
300 </data>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
301 <data name='tbl2asn_validation' format='txt' label="${tool.name} on ${on_string}: tbl2asn genome validation report" from_work_dir="out.validation.txt">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
302 <filter>outputs and 'tbl2asn_validation' in outputs</filter>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
303 </data>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
304 <data name='stats' format='json' label="${tool.name} on ${on_string}: stats" from_work_dir="out.stats.json">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
305 <filter>outputs and 'stats' in outputs</filter>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
306 </data>
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
307 <!-- TODO some day: provide trained models as output, reusable as input to other funannotate runs
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
308 (parameters.json file references files with absolute paths, would probably need to create an archive + edit paths in parameters.json) -->
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
309 <!--data name='abinitio' format='json' label="${tool.name} on ${on_string}: ab-initio training parameters" from_work_dir="output/predict_results/*.parameters.json" /-->
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
310 </outputs>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
311 <tests>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
312 <!-- training from scratch -->
9
d6c7106b7b2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 90acc0e23230b2e29e1d38a90bca4009c84c7e67
iuc
parents: 7
diff changeset
313 <test expect_num_outputs="10">
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
314 <param name="input" value="genome_masked.fa" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
315 <param name="database" value="2021-07-20-120000" />
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
316 <section name="busco">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
317 <param name="busco_seed_species" value="fly" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
318 <param name="busco_db" value="insecta" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
319 </section>
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
320 <section name="organism">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
321 <param name="species" value="Genus species" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
322 </section>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
323 <section name="augustus">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
324 <param name="min_training_models" value="3" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
325 </section>
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
326 <param name="outputs" value="gbk,tbl,gff3,proteins_fa,mrna_transcripts_fa,cds_transcripts_fa,tbl2asn_error,tbl2asn_report,tbl2asn_validation,stats" />
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
327 <!-- non deterministic results, so can't be more precise here -->
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
328 <output name="annot_gbk">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
329 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
330 <has_text text=" TITLE Direct Submission" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
331 <has_text text="/locus_tag=&quot;FUN_000001&quot;" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
332 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
333 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
334 <output name="annot_tbl">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
335 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
336 <has_text text=">Feature sample" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
337 <has_text text="gnl|ncbi|FUN_000001-T1_mrna" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
338 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
339 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
340 <output name="annot_gff3">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
341 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
342 <has_text text="##gff-version 3" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
343 <has_text text="ID=FUN_000001-T1;Parent=FUN_000001;product=hypothetical protein;" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
344 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
345 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
346 <output name="fasta_proteins">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
347 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
348 <has_text text=">FUN_000001-T1 FUN_000001" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
349 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
350 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
351 <output name="fasta_transcripts_mrna">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
352 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
353 <has_text text=">FUN_000001-T1 FUN_000001" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
354 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
355 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
356 <output name="fasta_transcripts_cds">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
357 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
358 <has_text text=">FUN_000001-T1 FUN_000001" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
359 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
360 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
361 <!--output name="abinitio" file="predict_scratch/fly.parameters.json" compare="sim_size" /-->
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
362 <output name="tbl2asn_report" file="predict_scratch/Genus_species.discrepency.report.txt" compare="sim_size" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
363 <output name="tbl2asn_error" file="predict_scratch/Genus_species.error.summary.txt" compare="sim_size" delta="500" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
364 <output name="tbl2asn_validation" file="predict_scratch/Genus_species.validation.txt" compare="sim_size" delta="500" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
365 <output name="stats" file="predict_scratch/Genus_species.stats.json" compare="sim_size" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
366 <assert_stderr>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
367 <has_text text="augustus busco"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
368 <has_text text="glimmerhmm busco"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
369 <has_text text="snap busco"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
370 <has_text text="Running BUSCO to find conserved gene models for training ab-initio predictors"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
371 <has_text text="Skipping CodingQuarry as no --rna_bam passed"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
372 <has_text text="Running Augustus gene prediction using genus_species parameters"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
373 <not_has_text text="Aligning transcript evidence to genome with minimap2"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
374 <not_has_text text="Found 16 alignments, wrote GFF3 and Augustus hints to file"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
375 <not_has_text text="Extracting hints from RNA-seq BAM file using bam2hints"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
376 <has_text text="Mapping 13 proteins to genome using diamond and exonerate"/>
7
51b6ee65ef7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 2589d2785ca90160a22a5fe14e03311e189ea51d
iuc
parents: 6
diff changeset
377 <has_text text="Found 4 preliminary alignments with diamond"/>
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
378 </assert_stderr>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
379 </test>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
380
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
381 <!-- pre-trained augustus -->
9
d6c7106b7b2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 90acc0e23230b2e29e1d38a90bca4009c84c7e67
iuc
parents: 7
diff changeset
382 <test expect_num_outputs="10">
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
383 <param name="input" value="genome_masked.fa" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
384 <param name="database" value="2021-07-20-120000" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
385 <section name="organism">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
386 <param name="species" value="Genus species" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
387 </section>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
388 <section name="augustus">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
389 <param name="augustus_species" value="fly" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
390 </section>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
391 <section name="busco">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
392 <param name="busco_seed_species" value="fly" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
393 <param name="busco_db" value="insecta" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
394 </section>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
395 <param name="uglyTestingHack" value="true" />
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
396 <param name="outputs" value="gbk,tbl,gff3,proteins_fa,mrna_transcripts_fa,cds_transcripts_fa,tbl2asn_error,tbl2asn_report,tbl2asn_validation,stats" />
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
397 <!-- non deterministic results, so can't be more precise here -->
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
398 <output name="annot_gbk">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
399 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
400 <has_text text=" TITLE Direct Submission" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
401 <has_text text="/locus_tag=&quot;FUN_000001&quot;" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
402 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
403 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
404 <output name="annot_tbl">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
405 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
406 <has_text text=">Feature sample" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
407 <has_text text="gnl|ncbi|FUN_000001-T1_mrna" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
408 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
409 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
410 <output name="annot_gff3">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
411 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
412 <has_text text="##gff-version 3" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
413 <has_text text="ID=FUN_000001-T1;Parent=FUN_000001;product=hypothetical protein;" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
414 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
415 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
416 <output name="fasta_proteins">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
417 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
418 <has_text text=">FUN_000001-T1 FUN_000001" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
419 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
420 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
421 <output name="fasta_transcripts_mrna">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
422 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
423 <has_text text=">FUN_000001-T1 FUN_000001" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
424 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
425 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
426 <output name="fasta_transcripts_cds">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
427 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
428 <has_text text=">FUN_000001-T1 FUN_000001" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
429 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
430 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
431 <assert_stderr>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
432 <has_text text="augustus pretrained"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
433 <has_text text="glimmerhmm busco"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
434 <has_text text="snap busco"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
435 <has_text text="Running BUSCO to find conserved gene models for training ab-initio predictors"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
436 <has_text text="Skipping CodingQuarry as no --rna_bam passed"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
437 <has_text text="Running Augustus gene prediction using fly parameters"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
438 <not_has_text text="Aligning transcript evidence to genome with minimap2"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
439 <not_has_text text="Found 16 alignments, wrote GFF3 and Augustus hints to file"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
440 <not_has_text text="Extracting hints from RNA-seq BAM file using bam2hints"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
441 <has_text text="Mapping 13 proteins to genome using diamond and exonerate"/>
7
51b6ee65ef7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 2589d2785ca90160a22a5fe14e03311e189ea51d
iuc
parents: 6
diff changeset
442 <has_text text="Found 4 preliminary alignments with diamond"/>
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
443 </assert_stderr>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
444 </test>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
445
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
446 <!-- bam and transcripts and proteins -->
9
d6c7106b7b2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 90acc0e23230b2e29e1d38a90bca4009c84c7e67
iuc
parents: 7
diff changeset
447 <test expect_num_outputs="10">
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
448 <param name="input" value="genome_masked.fa" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
449 <param name="database" value="2021-07-20-120000" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
450 <section name="organism">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
451 <param name="species" value="Genus species" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
452 </section>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
453 <section name="evidences">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
454 <param name="rna_bam" value="SRR7458692.bam" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
455 <param name="transcript_evidence" value="predict_scratch/Genus_species.mrna-transcripts.fa" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
456 <conditional name="prot_evidence">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
457 <param name="prot_evidence_source" value="custom" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
458 <param name="protein_evidence" value="predict_scratch/Genus_species.proteins.fa" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
459 </conditional>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
460 </section>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
461 <section name="busco">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
462 <param name="busco_seed_species" value="fly" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
463 <param name="busco_db" value="insecta" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
464 </section>
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
465 <section name="augustus">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
466 <param name="min_training_models" value="3" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
467 </section>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
468 <param name="outputs" value="gbk,tbl,gff3,proteins_fa,mrna_transcripts_fa,cds_transcripts_fa,tbl2asn_error,tbl2asn_report,tbl2asn_validation,stats" />
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
469 <!-- non deterministic results, so can't be more precise here -->
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
470 <output name="annot_gbk">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
471 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
472 <has_text text=" TITLE Direct Submission" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
473 <has_text text="/locus_tag=&quot;FUN_000001&quot;" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
474 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
475 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
476 <output name="annot_tbl">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
477 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
478 <has_text text=">Feature sample" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
479 <has_text text="gnl|ncbi|FUN_000001-T1_mrna" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
480 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
481 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
482 <output name="annot_gff3">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
483 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
484 <has_text text="##gff-version 3" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
485 <has_text text="ID=FUN_000001-T1;Parent=FUN_000001;product=hypothetical protein;" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
486 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
487 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
488 <output name="fasta_proteins">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
489 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
490 <has_text text=">FUN_000001-T1 FUN_000001" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
491 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
492 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
493 <output name="fasta_transcripts_mrna">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
494 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
495 <has_text text=">FUN_000001-T1 FUN_000001" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
496 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
497 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
498 <output name="fasta_transcripts_cds">
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
499 <assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
500 <has_text text=">FUN_000001-T1 FUN_000001" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
501 </assert_contents>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
502 </output>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
503 <assert_stderr>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
504 <has_text text="augustus busco"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
505 <has_text text="glimmerhmm busco"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
506 <has_text text="snap busco"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
507 <has_text text="Running BUSCO to find conserved gene models for training ab-initio predictors"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
508 <not_has_text text="Skipping CodingQuarry as no --rna_bam passed"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
509 <has_text text="Running Augustus gene prediction using genus_species parameters"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
510 <has_text text="Training Augustus using BUSCO gene models"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
511 <has_text text="Aligning transcript evidence to genome with minimap2"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
512 <has_text text="Found 16 alignments, wrote GFF3 and Augustus hints to file"/>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
513 <has_text text="Extracting hints from RNA-seq BAM file using bam2hints"/>
2
33092577d65d "planemo upload commit c70e2e82ba7d3f9ee43c101ab267cdf0847d8864"
iuc
parents: 1
diff changeset
514 <has_text text="Mapping 16 proteins to genome using diamond and exonerate"/>
7
51b6ee65ef7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 2589d2785ca90160a22a5fe14e03311e189ea51d
iuc
parents: 6
diff changeset
515 <has_text text="Found 21 preliminary alignments with diamond"/>
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
516 </assert_stderr>
2
33092577d65d "planemo upload commit c70e2e82ba7d3f9ee43c101ab267cdf0847d8864"
iuc
parents: 1
diff changeset
517 <assert_command>
33092577d65d "planemo upload commit c70e2e82ba7d3f9ee43c101ab267cdf0847d8864"
iuc
parents: 1
diff changeset
518 <has_text text="--protein_evidence"/>
33092577d65d "planemo upload commit c70e2e82ba7d3f9ee43c101ab267cdf0847d8864"
iuc
parents: 1
diff changeset
519 </assert_command>
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
520 </test>
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
521
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
522 <!-- proteins -->
9
d6c7106b7b2e planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 90acc0e23230b2e29e1d38a90bca4009c84c7e67
iuc
parents: 7
diff changeset
523 <test expect_num_outputs="10">
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
524 <param name="input" value="genome_masked.fa" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
525 <param name="database" value="2021-07-20-120000" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
526 <section name="organism">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
527 <param name="species" value="Genus species" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
528 </section>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
529 <section name="evidences">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
530 <conditional name="prot_evidence">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
531 <param name="prot_evidence_source" value="custom" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
532 <param name="protein_evidence" value="predict_scratch/Genus_species.proteins.fa" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
533 </conditional>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
534 </section>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
535 <section name="busco">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
536 <param name="busco_seed_species" value="fly" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
537 <param name="busco_db" value="insecta" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
538 </section>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
539 <section name="augustus">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
540 <param name="min_training_models" value="3" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
541 </section>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
542 <param name="outputs" value="gbk,tbl,gff3,proteins_fa,mrna_transcripts_fa,cds_transcripts_fa,tbl2asn_error,tbl2asn_report,tbl2asn_validation,stats" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
543 <!-- non deterministic results, so can't be more precise here -->
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
544 <output name="annot_gbk">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
545 <assert_contents>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
546 <has_text text=" TITLE Direct Submission" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
547 <has_text text="/locus_tag=&quot;FUN_000001&quot;" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
548 </assert_contents>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
549 </output>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
550 <output name="annot_tbl">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
551 <assert_contents>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
552 <has_text text=">Feature sample" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
553 <has_text text="gnl|ncbi|FUN_000001-T1_mrna" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
554 </assert_contents>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
555 </output>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
556 <output name="annot_gff3">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
557 <assert_contents>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
558 <has_text text="##gff-version 3" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
559 <has_text text="ID=FUN_000001-T1;Parent=FUN_000001;product=hypothetical protein;" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
560 </assert_contents>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
561 </output>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
562 <output name="fasta_proteins">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
563 <assert_contents>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
564 <has_text text=">FUN_000001-T1 FUN_000001" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
565 </assert_contents>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
566 </output>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
567 <output name="fasta_transcripts_mrna">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
568 <assert_contents>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
569 <has_text text=">FUN_000001-T1 FUN_000001" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
570 </assert_contents>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
571 </output>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
572 <output name="fasta_transcripts_cds">
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
573 <assert_contents>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
574 <has_text text=">FUN_000001-T1 FUN_000001" />
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
575 </assert_contents>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
576 </output>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
577 <assert_stderr>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
578 <has_text text="augustus busco"/>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
579 <has_text text="glimmerhmm busco"/>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
580 <has_text text="snap busco"/>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
581 <has_text text="Running BUSCO to find conserved gene models for training ab-initio predictors"/>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
582 <has_text text="Skipping CodingQuarry as no --rna_bam passed"/>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
583 <has_text text="Running Augustus gene prediction using genus_species parameters"/>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
584 <has_text text="Training Augustus using BUSCO gene models"/>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
585 <not_has_text text="Aligning transcript evidence to genome with minimap2"/>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
586 <not_has_text text="Found 16 alignments, wrote GFF3 and Augustus hints to file"/>
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
587 <not_has_text text="Extracting hints from RNA-seq BAM file using bam2hints"/>
2
33092577d65d "planemo upload commit c70e2e82ba7d3f9ee43c101ab267cdf0847d8864"
iuc
parents: 1
diff changeset
588 <has_text text="Mapping 16 proteins to genome using diamond and exonerate"/>
7
51b6ee65ef7f planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/funannotate commit 2589d2785ca90160a22a5fe14e03311e189ea51d
iuc
parents: 6
diff changeset
589 <has_text text="Found 21 preliminary alignments with diamond"/>
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
590 </assert_stderr>
2
33092577d65d "planemo upload commit c70e2e82ba7d3f9ee43c101ab267cdf0847d8864"
iuc
parents: 1
diff changeset
591 <assert_command>
33092577d65d "planemo upload commit c70e2e82ba7d3f9ee43c101ab267cdf0847d8864"
iuc
parents: 1
diff changeset
592 <has_text text="--protein_evidence"/>
33092577d65d "planemo upload commit c70e2e82ba7d3f9ee43c101ab267cdf0847d8864"
iuc
parents: 1
diff changeset
593 </assert_command>
1
1a59958c1f76 "planemo upload commit 87560553f1dbbd3e0ab7d7157fa5a7f32f61dca1"
iuc
parents: 0
diff changeset
594 </test>
0
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
595 </tests>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
596 <help><![CDATA[
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
597 Funannotate_ predict
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
598 --------------------
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
599
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
600 Funannotate_ is a pipeline for genome annotation (built specifically for fungi, but will also work with higher eukaryotes).
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
601
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
602 Script takes genome multi-fasta file and a variety of inputs to do a comprehensive whole
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
603 genome gene prediction. Uses AUGUSTUS, GeneMark, Snap, GlimmerHMM, BUSCO, EVidence Modeler,
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
604 tbl2asn, tRNAScan-SE, Exonerate, minimap2.
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
605
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
606 .. _Funannotate: http://funannotate.readthedocs.io
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
607 ]]></help>
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
608 <expand macro="citations" />
40b87aef5241 "planemo upload commit 9613152729099079c7465c3d5d42005ef22ca91e"
iuc
parents:
diff changeset
609 </tool>