view sbol3_diff.xml @ 2:67fd1abac44b draft default tip

planemo upload for repository https://github.com/SynBioDex/SBOL-utilities commit 51525bc3c90f9bdd38e26e74e6a8761306b3a442
author tduigou
date Mon, 15 May 2023 07:38:18 +0000
parents 802a4df35956
children
line wrap: on
line source

<tool id="sbol3_diff" name="SBOL3 DIFF" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="21.09" license="MIT">
    <description>Computes the difference between two SBOL3 documents</description>
    <macros>
        <token name="@VERSION_SUFFIX@">0</token>
        <token name="@TOOL_VERSION@">1.0a17</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.
    ]]></help>
    <creator>
        <organization name="BioRetroSynth" url="https://github.com/brsynth"/>
    </creator>
    <citations>
        <citation type="doi">10.1021/acssynbio.1c00188</citation>
    </citations>
</tool>