view fileinfo.xml @ 24:3accdbe6503b draft default tip

Deleted selected files
author wolma
date Thu, 21 Jul 2016 03:56:19 -0400
parents 5db0545b9004
children
line wrap: on
line source

<tool id="fileinfo" name="Retrieve File Information" version="0.1.7.3">
  <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 format="bam,sam,vcf,bcf,fasta" label="input file" name="ifile" type="data" />
    <param label="output format" name="oformat" type="select">
        <option value="txt">text</option>
        <option value="html">html</option>
    </param>
  </inputs>

  <outputs>
    <data format="txt" label="Sample Info on ${on_string}" name="outputfile">
      <change_format>
	    <when format="html" input="oformat" value="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>