comparison count-median.xml @ 0:42fbb6359626 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit be9a20423d1a6ec33d59341e0e61b535127bbce2
author iuc
date Wed, 11 Nov 2015 09:45:59 -0500
parents
children 84b323860b0a
comparison
equal deleted inserted replaced
-1:000000000000 0:42fbb6359626
1 <tool id="khmer_count_median" name="Count Median" version="@WRAPPER_VERSION@.0">
2 <description>Count the median/avg k-mer abundance for each sequence in the input file</description>
3 <macros>
4 <token name="@BINARY@">count-median.py</token>
5 <import>macros.xml</import>
6 </macros>
7 <expand macro="requirements" />
8 <expand macro="stdio" />
9 <expand macro="version" />
10 <command><![CDATA[
11 set -xu &&
12 @BINARY@
13 $input_countgraph_filename
14 $input_sequence_filename
15 $output_summary_filename
16 ]]>
17 </command>
18 <inputs>
19 <expand macro="input_sequence_filename" />
20 <expand macro="input_countgraph_filename" />
21 </inputs>
22 <outputs>
23 <data name="output_summary_filename" format="txt"
24 label="${input_sequence_filename} sequence id, median, average, stddev, and seq length" />
25 </outputs>
26 <tests>
27 <test>
28 <param name="input_sequence_filename" value="test-abund-read-2.fa" />
29 <param name="input_countgraph_filename" value="test-abund-read-2.oxlicg" ftype="oxlicg" />
30 <output name="output_summary_filename">
31 <assert_contents>
32 <has_text text="seq,1001,1001.0,0.0,18" />
33 <has_text text="895:1:37:17593:9954/1,1,21.408163071,141.391921997,114" />
34 </assert_contents>
35 </output>
36 </test>
37 </tests>
38 <help><![CDATA[
39 Count the median/avg k-mer abundance for each sequence in the input file,
40 based on the k-mer counts in the given k-mer countgraph. Can be used to
41 estimate expression levels (mRNAseq) or coverage (genomic/metagenomic). The
42 output file contains sequence id, median, average, stddev, and seq length;
43 fields are separated by spaces. For khmer 1.x count-median.py will split
44 sequence names at the first space which means that some sequence formats (e.g.
45 paired FASTQ in Casava 1.8 format) will yield uninformative names. Use
46 `--csv` to fix this behavior.
47
48 @HELP_FOOTER@
49 ]]>
50 </help>
51 <citations>
52 <expand macro="software-citation" />
53 <expand macro="diginorm-citation" />
54 </citations>
55 </tool>