Mercurial > repos > iuc > fastk_logex
comparison logex.xml @ 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 |
comparison
equal
deleted
inserted
replaced
| 4:94217ea28453 | 5:0cae005d8c4c |
|---|---|
| 1 <tool id="fastk_logex" name="FastK Logex" version="@TOOL_VERSION@+galaxy4" profile="24.2" license="MIT"> | 1 <tool id="fastk_logex" name="FastK Logex" version="@TOOL_VERSION@+galaxy5" profile="24.2" license="MIT"> |
| 2 <description>Performs binary operations on the generated Ktab files from FASTK suite</description> | 2 <description>Performs binary operations on the generated Ktab files from FASTK suite</description> |
| 3 <macros> | 3 <macros> |
| 4 <import>macros.xml</import> | 4 <import>macros.xml</import> |
| 5 </macros> | 5 </macros> |
| 6 <expand macro="xrefs"/> | 6 <expand macro="xrefs"/> |
| 37 cp "$j" input_files/${i+1}.ktab && | 37 cp "$j" input_files/${i+1}.ktab && |
| 38 #end for | 38 #end for |
| 39 #for $p, $q in enumerate($input_type.input_ktab_collection_tar): | 39 #for $p, $q in enumerate($input_type.input_ktab_collection_tar): |
| 40 ln -s "$q" input_files/input_ktab_${p+1}.tar && | 40 ln -s "$q" input_files/input_ktab_${p+1}.tar && |
| 41 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 - && | 41 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 - && |
| 42 for file_name in input_files/.output.ktab.*; do | |
| 43 if [ -f "\$file_name" ]; then | |
| 44 new_name=\$(echo "\$file_name" | sed "s/\.output\.ktab\./\.$((p+1))\.ktab\./"); | |
| 45 mv "\$file_name" "\$new_name"; | |
| 46 fi | |
| 47 done && | |
| 42 rm input_files/input_ktab_${p+1}.tar && | 48 rm input_files/input_ktab_${p+1}.tar && |
| 43 #end for | 49 #end for |
| 44 COUNT=\$(ls -1 input_files/*.ktab 2>/dev/null | wc -l) && | 50 COUNT=\$(ls -1 input_files/*.ktab 2>/dev/null | wc -l) && |
| 45 if [ "\$COUNT" -ge 2 ]; then | 51 if [ "\$COUNT" -ge 2 ]; then |
| 46 #if $input_type.operation_sel.operation_selector_collection == 'unionsum': | 52 #if $input_type.operation_sel.operation_selector_collection == 'unionsum': |
