view gene_fraction.xml @ 0:f95150c37d38 draft default tip

planemo upload for repository https://github.com/ChrisD11/Tools commit ddc95e5d6b5f2c0a5340c0bc384aa822db8856d5
author chrisd
date Sun, 21 Feb 2016 23:31:55 -0500
parents
children
line wrap: on
line source

<tool id="gene_fraction" name="Coverage sampler" version="0.1.0">
    <requirements>
    </requirements>
    <stdio>
        <exit_code range="1:" />
    </stdio>
    <command><![CDATA[
	$__tool_directory__/csa
	  -amr_fp $input1
	  -sam_fp $input2
	  -min $min
	  -max $max
	  -t $threshold
	  -skip $skip
	  -samples $samples
	  -out_fp $output1
    ]]></command>
    <inputs>
	<param type="data" name="input1" format="fasta" />
	<param type="data" name="input2" format="sam" />
	<param name="min" type="integer" label="Starting sample level"
	       value="1" min="1" max="100" help="(-min)" />
	<param name="max" type="integer" label="Ending sample level"
	       value="1" min="1" max="100" help="(-max)" />
	<param name="threshold" type="integer" label="Gene threshold"
	       value="1" min="1" max="100" help="(-t)" />
	<param name="skip" type="integer" label="Amount of levels to skip"
	       value="1" min="1" max="100" help="(-skip)" />
	<param name="samples" type="integer" label="Amount of samples per level"
	       value="1" min="1" max="100" help="(-samples)" />
    </inputs>
    <outputs>
	<data name="output1" format="tabular" />
    </outputs>
    <tests>
      <test>
      <param name="input1" value="ref.fa"/>
      <param name="input2" value="test.sam"/>
      <output name="outfil1" file="out.txt"/>
      </test>
    </tests>
    <help><![CDATA[
        
Program: Coverage Sampler 
Contact: Chris Dean <cdean11@rams.colostate.edu

Usage: csa [options]

Options:

    -amr_fp    amr database path
    -sam_fp    sam file path
    -min       starting level
    -max       ending level
    -skip      amount of levels to skip
    -t         gene fraction threshold
    -samples   amount of samples per level
    -d         directory parsing
    -bam       bam file parsing
    -out_fp    output file path


    ]]></help>
</tool>