-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcovstats.xml
57 lines (49 loc) · 2.05 KB
/
covstats.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<tool id="mimodd_covstats" name="MiModD Coverage Statistics"
version="@MIMODD_WRAPPER_VERSION@">
<description>
calculates coverage statistics for a BCF file as generated by the MiModd Variant Calling tool
</description>
<macros>
<import>macros.xml</import>
</macros>
<expand macro="requirements" />
<expand macro="stdio" />
<expand macro="version_command" />
<command><![CDATA[
mimodd covstats '$ifile' --ofile '$ofile'
]]></command>
<inputs>
<param name="ifile" type="data" format="bcf" label="BCF input file"
help="Use the Variant Calling tool to generate input for this tool."/>
</inputs>
<outputs>
<data name="ofile" format="tabular"
label="Coverage Statistics for ${on_string}"/>
</outputs>
<tests>
<test>
<param name="ifile" value="a.bcf" />
<output name="ofile" ftype="tabular">
<assert_contents>
<has_n_columns n="3" />
<has_line_matching expression="^chrI	.+" />
<has_line_matching expression="^chrII	.+" />
<has_line_matching expression="^chrIII	.+" />
<has_line_matching expression="^chrIV	.+" />
<has_line_matching expression="^chrV	.+" />
<has_line_matching expression="^chrX	.+" />
<has_line_matching expression="^MtDNA	.+" />
</assert_contents>
</output>
</test>
</tests>
<help><![CDATA[
.. class:: infomark
**What it does**
The tool takes as input a BCF file produced by the *Variant Calling* tool, and calculates per-chromosome read coverage from it.
.. class:: warningmark
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.
@HELP_FOOTER@
]]></help>
<expand macro="citations" />
</tool>