changeset 2:3d61702143b6 draft

Uploaded
author p.lucas
date Thu, 06 May 2021 13:47:27 +0000
parents ff6c61533f68
children 5674353a3277
files pdbselaltloc_wrapper.xml
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pdbselaltloc_wrapper.xml	Thu May 06 13:10:34 2021 +0000
+++ b/pdbselaltloc_wrapper.xml	Thu May 06 13:47:27 2021 +0000
@@ -2,12 +2,16 @@
   <description>Using pdb_selaltloc tool.</description>
   <command detect_errors="exit_code"><![CDATA[
     source /home/galaxy/data/_conda/bin/activate pdbtools;
-    pdb_selaltloc -${option} '${input}' > '${output}';
+    pdb_selaltloc
+    #if $option
+       ${option}
+    #end if
+    '${input}' > '${output}';
     source /home/galaxy/data/_conda/bin/deactivate
   ]]></command>
   <inputs>
     <param name="input" format="pdb" type="data" label="Select your PDB file."/>
-    <param name="option" type="text" label="Specific altloc label to select."/>
+    <param name="option" type="text" optional="true" label="Specific altloc label to select."/>
   </inputs>
   <outputs>
     <data name="output" format="pdb" />