annotate augustus_training.xml @ 7:f1e653756174 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit fbd55928544683a7f7e6e10dadabe698bc71b0e4
author iuc
date Fri, 04 Oct 2024 11:32:17 +0000
parents dc027fa56d55
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
1 <?xml version="1.0"?>
7
f1e653756174 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit fbd55928544683a7f7e6e10dadabe698bc71b0e4
iuc
parents: 6
diff changeset
2 <tool id="augustus_training" name="Train Augustus" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
0
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
3 <description>ab-initio gene predictor</description>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
4 <macros>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
5 <import>macros.xml</import>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
6 </macros>
7
f1e653756174 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit fbd55928544683a7f7e6e10dadabe698bc71b0e4
iuc
parents: 6
diff changeset
7 <xrefs>
f1e653756174 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit fbd55928544683a7f7e6e10dadabe698bc71b0e4
iuc
parents: 6
diff changeset
8 <xref type="bio.tools">augustus</xref>
f1e653756174 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit fbd55928544683a7f7e6e10dadabe698bc71b0e4
iuc
parents: 6
diff changeset
9 </xrefs>
0
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
10 <expand macro="requirements">
1
1fbb1135da16 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 4a8f640dec78899be470ddd1c436fc0d158c80f3
iuc
parents: 0
diff changeset
11 <requirement type="package" version="2.31.10">maker</requirement>
0
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
12 </expand>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
13 <command><![CDATA[
6
dc027fa56d55 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit a5c4068d1515fc946d1ee7caf66cc59c9938a124"
iuc
parents: 4
diff changeset
14 cp -r `command -v augustus | xargs dirname`/../config/ augustus_dir/ &&
0
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
15
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
16 export AUGUSTUS_CONFIG_PATH=`pwd`/augustus_dir/ &&
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
17
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
18 maker2zff '${maker_gff}' &&
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
19
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
20 zff2gff3.pl genome.ann | perl -plne 's/\t(\S+)$/\t\.\t$1/' > genome.gff3 &&
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
21
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
22 autoAugTrain.pl --genome=${genome} --species=local --trainingset=genome.gff3 -v &&
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
23
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
24 cd 'augustus_dir/species/' && tar cvfz '${output_tar}' 'local'
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
25 ]]></command>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
26 <inputs>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
27 <param name="genome" type="data" format="fasta" label="Genome to annotate"/>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
28 <param name="maker_gff" type="data" format="gff" label="Annotation to use for training"/>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
29 </inputs>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
30 <outputs>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
31 <data name="output_tar" format="augustus" label="${tool.name} on ${on_string}: Augustus trained model"/>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
32 </outputs>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
33 <tests>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
34 <test expect_failure="true">
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
35 <param name="genome" value="human_augustus.fa"/>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
36 <param name="maker_gff" value="annot.gff3"/>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
37 <assert_stderr>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
38 <has_text text="Number of training genes is with 2 too low (at least 100 genes required)" />
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
39 </assert_stderr>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
40 </test>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
41 </tests>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
42 <help><![CDATA[
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
43 This tool allows to train Augustus (the ab-initio gene predictor) based on a previous prediction (e.g. made with Maker).
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
44 ]]></help>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
45 <expand macro="citations"/>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
46 </tool>