view fileinfo.xml @ 14:5e9c1c67716b draft

Uploaded
author wolma
date Mon, 25 Apr 2016 17:51:09 -0400
parents 93db2f9bca12
children c46406466625
line wrap: on
line source

<tool id="fileinfo" name="Retrieve File Information" version="0.1.7.2">
  <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>