Mercurial > repos > iuc > snap_training
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/snap_training.xml Fri May 10 08:50:21 2019 -0400 @@ -0,0 +1,39 @@ +<?xml version="1.0"?> +<tool id="snap_training" name="Train SNAP" profile="16.04" version="@VERSION@+galaxy1"> + <description>ab-initio gene predictor</description> + <macros> + <import>macros.xml</import> + </macros> + <expand macro="requirements"> + <requirement type="package" version="2.31.10">maker</requirement> + </expand> + <command><![CDATA[ + cp '${maker_gff}' input.gff3 && + echo "\##FASTA" >> input.gff3 && + cat '${genome}' >> input.gff3 && + maker2zff input.gff3 && + fathom -categorize ${gene_num} genome.ann genome.dna && + fathom -export ${gene_num} -plus uni.ann uni.dna && + forge export.ann export.dna && + hmm-assembler.pl snap_training . > '${output}' + ]]></command> + <inputs> + <param name="genome" type="data" format="fasta" label="Genome to annotate"/> + <param name="maker_gff" type="data" format="gff" label="Maker annotation to use for training"/> + <param name="gene_num" type="integer" value="1000" label="Number of gene model to use for training"/> + </inputs> + <outputs> + <data format="snaphmm" name="output" label="${tool.name} on ${on_string}: SNAP trained model"/> + </outputs> + <tests> + <test> + <param name="genome" value="human.fa"/> + <param name="maker_gff" value="annot.gff3"/> + <output name="output" compare="sim_size" file="snap.hmm"/> + </test> + </tests> + <help><![CDATA[ + This tool allows to train SNAP (an ab-initio gene predictor) based on a previous prediction made with Maker. + ]]></help> + <expand macro="citations"/> +</tool>
