comparison snipfinder.xml @ 0:7073825e4338 draft default tip

planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit d30f1a6891066d1a05d75bac8faacf439bc471dd
author chrisd
date Wed, 16 Nov 2016 21:32:13 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:7073825e4338
1 <tool id="snpfinder" name="SNPFinder" version="0.1.0">
2 <description>A simple naive metagenomics variant caller</description>
3 <requirements>
4 <requirement type="package" version="0.1">snpfinder</requirement>
5 </requirements>
6 <stdio>
7 <exit_code range="1:" />
8 </stdio>
9 <command><![CDATA[
10 snpfinder
11 -amr_fp $reference
12 #if $sam_type.mode == "single_end"
13 -samse $sam_type.samse_input
14 $sam_type.best
15 #else
16 -sampe $sam_type.sampe_input
17 $sam_type.best
18 #end if
19 -out_fp $output
20 ]]></command>
21 <inputs>
22 <param type="data" name="reference" format="fasta" label="Reference sequence"/>
23 <conditional name="sam_type">
24 <param name="mode" type="select" label="SAM file type">
25 <option value="single_end"></option>
26 <option value="paired_end"></option>
27 </param>
28 <when value="single_end">
29 <param type="data" name="samse_input" format="sam" label="Single-end SAM file"/>
30 <param name="best" type="boolean" label="Filter on unique alignments" truevalue="-b" falsevalue=""/>
31 </when>
32 <when value="paired_end">
33 <param type="data" name="sampe_input" format="sam" label="Paired-end SAM file"/>
34 <param name="best" type="boolean" label="Filter on unique alignments" truevalue="-b" falsevalue=""/>
35 </when>
36 </conditional>
37 </inputs>
38 <outputs>
39 <data name="output" format="tabular" />
40 </outputs>
41 <tests>
42 <test>
43 <param name="mode" value="single_end"/>
44 <param name="reference" value="ref.fa"/>
45 <param name="samse_input" value="samse.sam"/>
46 <output name="output" file="samse_result" ftype="tabular"/>
47 </test>
48 <test>
49 <param name="mode" value="paired_end"/>
50 <param name="reference" value="ref.fa"/>
51 <param name="sampe_input" value="sampe.sam"/>
52 <output name="output" file="sampe_result" ftype="tabular"/>
53 </test>
54 </tests>
55 <help><![CDATA[
56
57 ]]></help>
58 <citations>
59 </citations>
60 </tool>