changeset 2:007990f98551 draft

planemo upload for repository https://github.com/richard-burhans/galaxytools/tree/main/tools/batched_lastz commit 3bbc9b941798f866a1d8b7af1e3c0444e5130fd9
author richard-burhans
date Wed, 01 May 2024 13:53:26 +0000 (7 months ago)
parents ad3554614aad
children eb62d63f4272
files batched_lastz.xml run_lastz_tarball.py
diffstat 2 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/batched_lastz.xml	Tue Apr 30 21:48:00 2024 +0000
+++ b/batched_lastz.xml	Wed May 01 13:53:26 2024 +0000
@@ -1,11 +1,18 @@
+
 <tool id="batched_lastz" name="Batched Lastz" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="@PROFILE@">
     <description>: align batches of sequences</description>
     <macros>
         <import>macros.xml</import>
     </macros>
     <expand macro="requirements"/>
+    <required_files>
+        <include path="run_lastz_tarball.py"/>
+    </required_files>
     <command detect_errors="exit_code"><![CDATA[
-        run_lastz_tarball.py '--input=$input' '--output=$output' '--parallel=\${GALAXY_SLOTS:-2}'
+        python '$__tool_directory__/run_lastz_tarball.py'
+            '--input=$input'
+            '--output=$output'
+            --parallel=\${GALAXY_SLOTS:-2}
     ]]></command>
     <inputs>
         <param argument="--input" type="data" format="tgz" label="Tarball"/>
--- a/run_lastz_tarball.py	Tue Apr 30 21:48:00 2024 +0000
+++ b/run_lastz_tarball.py	Wed May 01 13:53:26 2024 +0000
@@ -323,7 +323,7 @@
     parser = argparse.ArgumentParser()
     parser.add_argument("--input", type=str, required=True)
     parser.add_argument("--output", type=str, required=True)
-    parser.add_argument("--parallel", type=int, default=1, required=False)
+    parser.add_argument("--parallel", type=int, default=2, required=False)
     parser.add_argument("--debug", action="store_true", required=False)
 
     args = parser.parse_args()