diff count-median.xml @ 10:d00e18a0a3f2

More scripts
author Michael R. Crusoe <mcrusoe@msu.edu>
date Sun, 29 Jun 2014 09:22:32 -0400
parents
children cec78b574760
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/count-median.xml	Sun Jun 29 09:22:32 2014 -0400
@@ -0,0 +1,58 @@
+<tool	id="gedlab-khmer-normalize-by-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>
+        </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>