diff sbol3_diff.xml @ 0:024def08af09 draft

planemo upload commit ce400589f51221295c59294ed462bb82220f4654-dirty
author tduigou
date Mon, 19 Dec 2022 10:13:08 +0000
parents
children 802a4df35956
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sbol3_diff.xml	Mon Dec 19 10:13:08 2022 +0000
@@ -0,0 +1,71 @@
+<tool id="sbol3_diff" name="SBOL3 DIFF" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.09">
+    <description>Computes the difference between two SBOL3 documents</description>
+    <macros>
+        <token name="@VERSION_SUFFIX@">0</token>
+        <token name="@TOOL_VERSION@">1.0a16</token>
+    </macros>
+    <requirements>
+        <requirement type="package" version="@TOOL_VERSION@">sbol-utilities</requirement>
+    </requirements>
+    <stdio>
+        <exit_code range="2:" level="fatal" />
+        <exit_code range="0" level="warning" description="No differences detected" />
+        <exit_code range="1" level="warning" description="Differences detected" />
+    </stdio>
+    <command><![CDATA[
+        ln -s '$sbol3_in_1' '$sbol3_in_1.name' &&
+        ln -s '$sbol3_in_2' '$sbol3_in_2.name' &&
+        sbol-diff '$sbol3_in_1.name' '$sbol3_in_2.name' > '$diff_out'
+    ]]></command>
+    <inputs>
+        <param name="sbol3_in_1" type="data" format="nt" label="First input SBOL3" />
+        <param name="sbol3_in_2" type="data" format="nt" label="Second input SBOL3" />
+    </inputs>
+    <outputs>
+        <data name="diff_out" format="txt" label="${tool.name}: ${sbol3_in_1.name} - ${sbol3_in_2.name}"/>
+    </outputs>
+    <tests>
+        <test>
+        <!-- test 1: check if identical output is produced -->
+            <param name="sbol3_in_1" value="simple_library.nt" />
+            <param name="sbol3_in_2" value="expanded_simple_library.nt" />
+            <output name="diff_out" file="sbol3_diff_out.txt" ftype="txt" compare="diff" sort="true"/>
+        </test>
+    </tests>
+    <help><![CDATA[
+SBOL3 DIFF
+================
+
+Input
+-----
+
+Required:
+
+* **First input SBOL3**\
+* **Second input SBOL3**\
+
+Output
+------
+
+* **Output**\ : Output with differences between two SBOL3 files.
+
+Project Links
+------------------
+
+* `GitHub <https://github.com/SynBioDex/SBOL-utilities>`_
+
+License
+-------
+
+* `MIT <https://github.com/SynBioDex/SBOL-utilities/blob/develop/LICENSE.txt>`_
+
+Acknowledgments
+---------------
+
+* Kenza BAZI-KABBAJ
+
+    ]]></help>
+    <creator>
+        <person givenName="Jacob" familyName="Beal" identifier="https://orcid.org/0000-0002-1663-5102" />
+    </creator>
+</tool>
\ No newline at end of file