view variant_caller.xml @ 2:bc3b8b21e62b draft

planemo upload for repository https://github.com/ChrisD11/snp_caller_dep commit 9aea8bc80f79fdb1642baa4dc534c3b8ecdf6ba1
author chrisd
date Mon, 22 Feb 2016 19:58:06 -0500
parents d277ee3ce4e7
children b40e1a5130db
line wrap: on
line source

<tool id="variant_caller" name="Snip Finder" version="0.1.0">
    <requirements>
        <requirement type="package" version="0.1">snp</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="Specify fasta file"/>
	<conditional name="sam_type">
	    <param name="mode" type="select" label="Specify 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>
    <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: SNP Caller

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>
</tool>