changeset 5:8404aa79a631 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/repeat_masker commit 9c21a3564ebac92db23e2d827dabe6b05c56ad32
author iuc
date Wed, 23 May 2018 14:24:14 -0400
parents 04f5c3d7448e
children 65ab76d58c41
files repeatmasker.xml
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/repeatmasker.xml	Fri May 04 07:59:50 2018 -0400
+++ b/repeatmasker.xml	Wed May 23 14:24:14 2018 -0400
@@ -66,7 +66,11 @@
         sed -r 's/^ *// ; s/ *$//; s/\+ //; s/ +/\t/g' rm_input.fasta.polyout >'${output_polymorphic}' &&
       #end if
     #end if
-    mv rm_input.fasta.cat '${output_repeat_catalog}'
+    if [ -f 'rm_input.fasta.cat.gz' ]; then
+      zcat 'rm_input.fasta.cat.gz' > '${output_repeat_catalog}';
+    else
+      mv rm_input.fasta.cat '${output_repeat_catalog}';
+    fi
     ]]>
   </command>