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