Mercurial > repos > chrisd > snipfinder
view snipfinder.xml @ 4:c15d96ff8bf4 draft default tip
planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snipfinder commit 1dfea0399aa9320216ab54573cb19b92c68d33c9
author | chrisd |
---|---|
date | Sun, 07 Aug 2016 16:33:35 -0400 |
parents | 6f5acfac16bf |
children |
line wrap: on
line source
<tool id="snipfinder" name="Snip Finder" version="0.1.0"> <description>A simple naive metagenomics variant caller</description> <requirements> <requirement type="package" version="0.1">snipfinder</requirement> </requirements> <stdio> <exit_code range="1:" /> </stdio> <command><![CDATA[ snipfinder -amr_fp $reference #if $sam_type.mode == "single_end" -samse $sam_type.samse_input $sam_type.best #else -sampe $sam_type.sampe_input $sam_type.best #end if -out_fp $output ]]></command> <inputs> <param type="data" name="reference" format="fasta" label="Reference sequence"/> <conditional name="sam_type"> <param name="mode" type="select" label="SAM file type"> <option value="single_end"></option> <option value="paired_end"></option> </param> <when value="single_end"> <param type="data" name="samse_input" format="sam" label="Single-end SAM file"/> <param name="best" type="boolean" label="Filter on unique alignments" truevalue="-b" falsevalue=""/> </when> <when value="paired_end"> <param type="data" name="sampe_input" format="sam" label="Paired-end SAM file"/> <param name="best" type="boolean" label="Filter on unique alignments" truevalue="-b" falsevalue=""/> </when> </conditional> </inputs> <outputs> <data name="output" format="tabular" /> </outputs> <tests> <test> <param name="mode" value="single_end"/> <param name="reference" value="ref.fa"/> <param name="samse_input" value="samse.sam"/> <output name="output" file="samse_result" ftype="tabular"/> </test> <test> <param name="mode" value="paired_end"/> <param name="reference" value="ref.fa"/> <param name="sampe_input" value="sampe.sam"/> <output name="output" file="sampe_result" ftype="tabular"/> </test> </tests> <help><![CDATA[ ]]></help> <citations> </citations> </tool>