annotate snap_training.xml @ 0:821bf8bc5623 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
author iuc
date Fri, 20 Oct 2017 03:51:58 -0400
parents
children 2a598c0aa042
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
2 <tool id="snap_training" name="Train SNAP" profile="16.04" version="@VERSION@">
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
3 <description>ab-initio gene predictor</description>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
4 <macros>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
5 <import>macros.xml</import>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
6 </macros>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
7 <expand macro="requirements">
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
8 <requirement type="package" version="2.31.9">maker</requirement>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
9 </expand>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
10 <command><![CDATA[
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
11 cp '${maker_gff}' input.gff3 &&
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
12 echo "\##FASTA" >> input.gff3 &&
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
13 cat '${genome}' >> input.gff3 &&
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
14 maker2zff input.gff3 &&
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
15 fathom -categorize ${gene_num} genome.ann genome.dna &&
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
16 fathom -export ${gene_num} -plus uni.ann uni.dna &&
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
17 forge export.ann export.dna &&
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
18 hmm-assembler.pl snap_training . > '${output}'
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
19 ]]></command>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
20 <inputs>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
21 <param name="genome" type="data" format="fasta" label="Genome to annotate"/>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
22 <param name="maker_gff" type="data" format="gff" label="Maker annotation to use for training"/>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
23 <param name="gene_num" type="integer" value="1000" label="Number of gene model to use for training"/>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
24 </inputs>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
25 <outputs>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
26 <data format="snaphmm" name="output" label="${tool.name} on ${on_string}: SNAP trained model"/>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
27 </outputs>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
28 <tests>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
29 <test>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
30 <param name="genome" value="human.fa"/>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
31 <param name="maker_gff" value="annot.gff3"/>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
32 <output name="output" compare="sim_size" file="snap.hmm"/>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
33 </test>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
34 </tests>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
35 <help><![CDATA[
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
36 This tool allows to train SNAP (an ab-initio gene predictor) based on a previous prediction made with Maker.
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
37 ]]></help>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
38 <expand macro="citations"/>
821bf8bc5623 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/snap commit 2896dcfd180800d00ea413a59264ef8b11788b8e
iuc
parents:
diff changeset
39 </tool>