view fileinfo.xml @ 1:a548b3c6ed00

corrected upload
author wolma
date Wed, 11 Feb 2015 08:57:11 -0500
parents 6231ae8f87b8
children 72d20758ba2c
line wrap: on
line source

<tool id="fileinfo" name="Retrieve File Information">
  <description>for supported data formats.</description>
  <requirements>
    <requirement type="package">mimodd</requirement>
  </requirements>
  <version_command>mimodd version -q</version_command>
  <command>
    mimodd info "$ifile" -o "$outputfile" --verbose --oformat $oformat
  </command>

  <inputs>
    <param name="ifile" type="data" format="bam,sam,vcf,bcf,fasta" label="input file" />
    <param name="oformat" type="select" label="output format">
        <option value="txt">text</option>
        <option value="html">html</option>
    </param>
  </inputs>

  <outputs>
    <data name="outputfile" format="txt" label="Sample Info on ${on_string}">
      <change_format>
	    <when input="oformat" value="html" format="html"/>
      </change_format>
    </data>
  </outputs>

<help>
.. class:: infomark

   **What it does**

The tool inspects the input file and generates a report summarizing its contents.

It autodetects and works with most file formats produced by MiModD, i.e., **SAM / BAM, vcf / bcf and fasta**, and produces a standardized report for all of them.

</help>
</tool>