diff spring_roc.xml @ 30:b0e195a47df7 draft

"planemo upload commit b306c715d8284c097220bc5c8461399fdc05eac7"
author guerler
date Tue, 24 Nov 2020 14:02:08 +0000
parents 41353488926c
children 3071750405c9
line wrap: on
line diff
--- a/spring_roc.xml	Sun Nov 22 14:15:24 2020 +0000
+++ b/spring_roc.xml	Tue Nov 24 14:02:08 2020 +0000
@@ -1,14 +1,15 @@
-<tool id="spring_roc" name="SPRING ROC" version="0.1.0" python_template_version="3.5">
+<tool id="spring_roc" name="SPRING ROC" version="0.1.0" python_template_version="3.5" license="MIT">
     <description>plot generator</description>
     <requirements>
         <requirement type="package" version="3.3.3">matplotlib</requirement>
     </requirements>
     <command detect_errors="exit_code"><![CDATA[
-        python3 '$__tool_directory__/spring_roc.py' -i '$input' -b '$database' -e '$experiment.type' -m '$experiment.method' -t '$throughput' -o '$rocplot'
+        python3 '$__tool_directory__/spring_roc.py' -i '$input' -b '$database' -e '$experiment.type' -m '$experiment.method' -t '$throughput' -l '$locations' -o '$rocplot'
     ]]></command>
     <inputs>
         <param format="tabular" name="input" type="data" label="Interactions" help="Prediction Input Table with 2-columns containing UniProt Accession codes."/>
         <param format="tabular" name="database" type="data" label="BioGRID Database" help="BioGRID Database in TAB 3.0 format."/>
+        <param format="tabular" name="locations" type="data" label="UniProt Localization" help="UniProt tabular export with localization column to sample non-interacting pairs." optional="True" />
         <conditional name="experiment">
             <param name="type" type="select" label="Experimental Type" display="radio" help="Choose a specific experimental system type.">
                 <option value="">Any</option>
@@ -58,10 +59,6 @@
         <test>
             <param format="tabular" name="input" value="roc/human_hv1h2.txt" />
             <param format="tabular" name="database" value="roc/biogrid_fret.txt" />
-            <conditional name="experiment">
-                <param name="type" value="physical" />
-                <param name="method" value="Two-hybrid" />
-            </conditional>
             <output name="output" file="roc/human_hv1h2.png" />
         </test>
     </tests>