diff tepid_merge_insertions.xml @ 0:6e4b5319cb89 draft default tip

planemo upload for repository https://github.com/ListerLab/TEPID commit 82fd0448ff5baa9822a388aee78753e4b1cd94d7
author mvdbeek
date Mon, 23 Jan 2017 10:05:12 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tepid_merge_insertions.xml	Mon Jan 23 10:05:12 2017 -0500
@@ -0,0 +1,41 @@
+<tool id="tepid_merge_insertions" name="tepid-merge-insertions" version="@WRAPPER_VERSION@">
+    <description>discover TE variants</description>
+    <macros>
+        <import>macros.xml</import>
+    </macros>
+    <expand macro="requirements"/>
+    <version_command>tepid-discover --version</version_command>
+    <command detect_errors="exit_code"><![CDATA[
+        #for $input in $insertions:
+            ln -s -f '$input' '$input.element_identifier' &&
+        #end for
+        python '$__tool_directory__'/merge_insertions.py -i
+        #for $input in $insertions:
+            '$input.element_identifier'
+        #end for
+        -o '$merged_out'
+    ]]></command>
+    <inputs>
+        <param name="insertions" label="TEPID insertions" argument="--input" type="data_collection" format="bed"/>
+    </inputs>
+    <outputs>
+        <data name="merged_out" format="bed" label="tepid_discover merged insertions on ${on_string}">
+        </data>
+    </outputs>
+    <tests>
+        <test>
+      <param name="insertions">
+          <collection type="list">
+              <element name="1" value="1.bed" />
+              <element name="2" value="2.bed" />
+          </collection>
+        </param>
+           <output name="merged_out" file="test.bed"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+        This step merges insertions found by tepid discover.
+        The output can be used as input in the tepid-refine step.
+    ]]></help>
+<expand macro="citations"/>
+</tool>