Repository 'mimodd_fileinfo'
hg clone https://toolshed.g2.bx.psu.edu/repos/wolma/mimodd_fileinfo

Changeset 0:43d52bf6cd3f (2014-12-13)
Next changeset 1:a4c47051ab68 (2014-12-13)
Commit message:
Imported from capsule None
added:
fileinfo.xml
tool_dependencies.xml
b
diff -r 000000000000 -r 43d52bf6cd3f fileinfo.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fileinfo.xml Sat Dec 13 17:19:14 2014 -0500
b
@@ -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>
b
diff -r 000000000000 -r 43d52bf6cd3f tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml Sat Dec 13 17:19:14 2014 -0500
b
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<tool_dependency>
+  <package name="mimodd" version="0.1.5">
+      <repository name="package_mimodd_0_1_5" owner="wolma" toolshed="https://toolshed.g2.bx.psu.edu" />
+    </package>
+</tool_dependency>