diff variant_caller.xml @ 0:d9be5a7e70f5 draft

planemo upload for repository https://github.com/cdeanj/galaxytools/tree/master/tools/snpfinder commit 8b7c17352f46ab4fce3bc13c3e63d4021fe83ae7
author chrisd
date Wed, 23 Mar 2016 18:04:21 -0400
parents
children d612ce3827b9
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/variant_caller.xml	Wed Mar 23 18:04:21 2016 -0400
@@ -0,0 +1,72 @@
+<tool id="snp_caller" name="Snip Finder" version="0.1.0">
+    <description>Identifies snips for both single-end and paired-end data</description>
+    <requirements>
+        <requirement type="package" version="0.1">snp_caller</requirement>
+    </requirements>
+    <stdio>
+        <exit_code range="1:" />
+    </stdio>
+    <command><![CDATA[
+	snp
+	    -amr_fp $input1
+	    #if $sam_type.mode == "single_end"
+	    -samse $sam_type.samse_input2
+	    $sam_type.best
+	    #else
+	    -sampe $sam_type.sampe_input2
+	    $sam_type.best
+	    #end if
+	    -out_fp $output1
+    ]]></command>
+    <inputs>
+	<param type="data" name="input1" 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_input2" 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_input2" 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="output1" format="tabular" />
+    </outputs>
+    <tests>
+        <test>
+            <param name="input1" value="ref.fa"/>
+            <param name="sam_type.samse_input2" value="samse.sam"/>
+	    <output name="output1" value="samse_result"/>
+        </test>
+        <test>
+            <param name="input1" value="ref.fa"/>
+	    <param name="sam_type.sampe_input2" value="sampe.sam"/>
+	    <output name="output1" value="sampe_result"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+This program parses a SAM file and looks for single nucleotide polymorphisms (SNPs). In single-end mode, only alignments with bit four not set are considered. In paired-end mode, only reads that mapped in a proper pair are considered. When filtering on unique alignments, only alignments with the XT:A:U field are considered.
+
+Program: snpfinder
+
+Contact: Chris Dean <cdean11@rams.colostate.edu>
+
+Usage: snp [options]
+
+Options:
+    -amr_fp	amr database path
+    -samse	single-end sam file path
+    -sampe	paired-end sam file path
+    -b		filter on unique alignments
+    ]]></help>
+    <citations>
+    </citations>
+</tool>