annotate augustus_training.xml @ 6:533b140a196a draft

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