diff fileinfo.xml @ 0:43d52bf6cd3f draft

Imported from capsule None
author wolma
date Sat, 13 Dec 2014 17:19:14 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fileinfo.xml	Sat Dec 13 17:19:14 2014 -0500
@@ -0,0 +1,37 @@
+<tool id="fileinfo" name="Retrieve File Information">
+  <description>for supported data formats.</description>
+  <requirements>
+    <requirement type="package" version="0.1.5">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>