comparison covstats.xml @ 0:f0f2795de2c7 draft

planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit 528bcf3b769c7c73f119b2a176d19071f9ef5312
author wolma
date Tue, 19 Dec 2017 04:54:04 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0f2795de2c7
1 <tool id="mimodd_covstats" name="MiModD Coverage Statistics"
2 version="@MIMODD_WRAPPER_VERSION@">
3 <description>
4 calculates coverage statistics for a BCF file as generated by the MiModd Variant Calling tool
5 </description>
6 <macros>
7 <import>macros.xml</import>
8 </macros>
9 <expand macro="requirements" />
10 <expand macro="stdio" />
11 <expand macro="version_command" />
12 <command><![CDATA[
13 mimodd covstats '$ifile' --ofile '$ofile'
14 ]]></command>
15
16 <inputs>
17 <param name="ifile" type="data" format="bcf" label="BCF input file"
18 help="Use the Variant Calling tool to generate input for this tool."/>
19 </inputs>
20 <outputs>
21 <data name="ofile" format="tabular"
22 label="Coverage Statistics for ${on_string}"/>
23 </outputs>
24
25 <tests>
26 <test>
27 <param name="ifile" value="a.bcf" />
28 <output name="ofile" ftype="tabular">
29 <assert_contents>
30 <has_n_columns n="3" />
31 <has_line_matching expression="^chrI&#009;.+" />
32 <has_line_matching expression="^chrII&#009;.+" />
33 <has_line_matching expression="^chrIII&#009;.+" />
34 <has_line_matching expression="^chrIV&#009;.+" />
35 <has_line_matching expression="^chrV&#009;.+" />
36 <has_line_matching expression="^chrX&#009;.+" />
37 <has_line_matching expression="^MtDNA&#009;.+" />
38 </assert_contents>
39 </output>
40 </test>
41 </tests>
42
43 <help><![CDATA[
44 .. class:: infomark
45
46 **What it does**
47
48 The tool takes as input a BCF file produced by the *Variant Calling* tool, and calculates per-chromosome read coverage from it.
49
50 .. class:: warningmark
51
52 The tool treats genome positions missing from the BCF input as zero coverage, so it is safe to use ONLY with BCF files produced by the *Variant Calling* tool or through other commands that keep the information for all sites.
53
54 @HELP_FOOTER@
55 ]]></help>
56 <expand macro="citations" />
57 </tool>