Repository 'fastk_logex'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/fastk_logex

Changeset 5:0cae005d8c4c (2025-05-16)
Previous changeset 4:94217ea28453 (2025-05-14)
Commit message:
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit c91b1ba99124a481c1f6cb1100abd0629974616b
modified:
logex.xml
b
diff -r 94217ea28453 -r 0cae005d8c4c logex.xml
--- a/logex.xml Wed May 14 07:36:48 2025 +0000
+++ b/logex.xml Fri May 16 18:49:35 2025 +0000
[
@@ -1,4 +1,4 @@
-<tool id="fastk_logex" name="FastK Logex" version="@TOOL_VERSION@+galaxy4" profile="24.2" license="MIT">
+<tool id="fastk_logex" name="FastK Logex" version="@TOOL_VERSION@+galaxy5" profile="24.2" license="MIT">
     <description>Performs binary operations on the generated Ktab files from FASTK suite</description>
     <macros>
         <import>macros.xml</import>
@@ -39,6 +39,12 @@
             #for $p, $q in enumerate($input_type.input_ktab_collection_tar):
                 ln -s "$q" input_files/input_ktab_${p+1}.tar &&
                 tar -tf input_files/input_ktab_${p+1}.tar | grep '/\.[^/]*$' | tar --strip-components=1 -xf input_files/input_ktab_${p+1}.tar -C input_files/ -T - &&
+                for file_name in input_files/.output.ktab.*; do
+                    if [ -f "\$file_name" ]; then
+                        new_name=\$(echo "\$file_name" | sed "s/\.output\.ktab\./\.$((p+1))\.ktab\./");
+                        mv "\$file_name" "\$new_name";
+                    fi
+                done &&
                 rm input_files/input_ktab_${p+1}.tar &&
             #end for
             COUNT=\$(ls -1 input_files/*.ktab 2>/dev/null | wc -l) &&