changeset 1:436f11e1ed6d draft

"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/tarfast5 commit 8bd895c48953189b94dbe095db8767b82187a491"
author artbio
date Thu, 06 May 2021 23:12:50 +0000
parents 0e548765d204
children e660e8605dd8
files tarfast5.xml
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tarfast5.xml	Wed May 05 00:22:41 2021 +0000
+++ b/tarfast5.xml	Thu May 06 23:12:50 2021 +0000
@@ -1,4 +1,4 @@
-<tool id="tarfast5" name="tarfast5" version="0.3">
+<tool id="tarfast5" name="tarfast5" version="0.4">
   <description></description>
   <requirements>
         <requirement type="package" version="2.6">pigz</requirement>
@@ -11,7 +11,8 @@
         #for $file in $inputs:
             ln -s $file ${file.element_identifier}.h5 &&
         #end for
-            tar -I pigz -cvhf $compressed_output *.h5
+            export PIGZ="-p \${GALAXY_SLOTS:-4}" &&
+            tar -cvh --use-compress-program=pigz -f $compressed_output *.h5
   ]]></command>
  <inputs>
     <param name="inputs" type="data" format="h5" label="fast5 sequence files" multiple="true" />