Mercurial > repos > wolma > mimodd_core
diff covstats.xml @ 0:aa82b2e54055 draft
planemo upload for repository https://github.com/wm75/mimodd_galaxy_wrappers commit b36048cd608ede0ec6f6559648525c9350caae34-dirty
author | wolma |
---|---|
date | Sat, 11 Nov 2017 18:19:22 -0500 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/covstats.xml Sat Nov 11 18:19:22 2017 -0500 @@ -0,0 +1,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>