view fileinfo.xml @ 8:d79fe626c6fd

upgrade to v0.1.7.1
author Wolfgang Maier
date Thu, 22 Oct 2015 15:34:23 +0200
parents 85214e4428fd
children 93db2f9bca12
line wrap: on
line source

<tool id="fileinfo" name="Retrieve File Information" version="0.1.7.1">
  <description>for supported data formats.</description>
  <macros>
    <import>toolshed_macros.xml</import>
  </macros>
  <expand macro="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>