view fileinfo.xml @ 21:c46406466625 draft

Uploaded
author wolma
date Sat, 11 Jun 2016 19:10:44 -0400
parents 93db2f9bca12
children 5db0545b9004
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>python3 -m MiModD version -q</version_command>
  <command>
    python3 -m 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>