view count-median.xml @ 27:e6b1ef398fc8

Typo
author Michael R. Crusoe <mcrusoe@msu.edu>
date Sun, 29 Jun 2014 13:13:15 -0400
parents d1403ee80c1e
children c1f0790be1c4
line wrap: on
line source

<tool	id="gedlab-khmer-count-median"
	name="Count Median"
	version="1.1-1"
	force_history_refresh="true">
	
	<description>
		Count the median/avg k-mer abundance for each sequence in the input file,
		based on the k-mer counts in the given k-mer counting table. Can be used to
		estimate expression levels (mRNAseq) or coverage (genomic/metagenomic).
	</description>
        <macros>
		<token name="@BINARY@">count-median.py</token>
		<import>macros.xml</import>
        </macros>
        <expand macro="requirements" />
	<command>
## The command is a Cheetah template which allows some Python based syntax.
## Lines starting hash hash are comments. Galaxy will turn newlines into spaces
mkdir output; cd output;
@BINARY@
		$input_counting_table_filename
		$input_sequence_filename
		$output_summary_filename	
	</command>

	<inputs>
		<expand macro="input_sequence_filename" />
		<expand macro="input_counting_table_filename" />
	</inputs>
	<outputs>
		<data name="output_summary_filename" format="text" label="${input_sequence_filename} sequence id, median, average, stddev, and seq length" />
	</outputs>
 	<stdio>
        <!-- [HELP] If no exit code rule is defined, the tool will stop if anything is written to STDERR -->
		<exit_code	range="1:"
				level="fatal" />
	</stdio>
    
    <!-- [OPTIONAL] Tests to be run manually by the Galaxy admin -->
    <tests>
        <!-- [HELP] Test files have to be in the ~/test-data directory
        <test>
            <param name="input" value="input_test.tab" />
            <param name="int"   value="10" />
            <output name="output" file="output_test.txt" />
	</test> -->
        <!-- [HELP] Multiple tests can be defined with different parameters -->
<!--
        <test>
        </test>
-->
    </tests>
    
    <!-- [OPTIONAL] Help displayed in Galaxy -->
    <!--
	<help>
	</help>
    -->    
</tool>