annotate augustus_training.xml @ 4:6519ebe25019 draft

"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 211061259f97dfbeb080aaf4713a21f64a1742e1"
author iuc
date Fri, 20 Dec 2019 14:09:14 -0500
parents ccf8d0bbebe9
children dc027fa56d55
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"?>
4
6519ebe25019 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 211061259f97dfbeb080aaf4713a21f64a1742e1"
iuc
parents: 3
diff changeset
2 <tool id="augustus_training" name="Train Augustus" profile="16.04" version="@VERSION@">
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>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
7 <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
8 <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
9 </expand>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
10 <command><![CDATA[
3
ccf8d0bbebe9 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit c659b84bf74f5abb260ee49ce76b61e5d5fa29c1
iuc
parents: 2
diff changeset
11 cp -r `which 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
12
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
13 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
14
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
15 maker2zff '${maker_gff}' &&
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
16
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
17 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
18
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
19 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
20
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
21 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
22 ]]></command>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
23 <inputs>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
24 <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
25 <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
26 </inputs>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
27 <outputs>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
28 <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
29 </outputs>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
30 <tests>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
31 <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
32 <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
33 <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
34 <assert_stderr>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
35 <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
36 </assert_stderr>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
37 </test>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
38 </tests>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
39 <help><![CDATA[
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
40 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
41 ]]></help>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
42 <expand macro="citations"/>
86c89c3bd99d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/augustus commit 2896dcfd180800d00ea413a59264ef8b11788b8e
bgruening
parents:
diff changeset
43 </tool>