Mercurial > repos > iuc > fastk_logex
changeset 5:0cae005d8c4c draft default tip
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/fastk commit c91b1ba99124a481c1f6cb1100abd0629974616b
author | iuc |
---|---|
date | Fri, 16 May 2025 18:49:35 +0000 |
parents | 94217ea28453 |
children | |
files | logex.xml |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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) &&