changeset 3:2f097bbdd0b4 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:23:57 -0400
parents d05014300627
children 13b7842c72bc
files repeatmasker.xml
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/repeatmasker.xml	Fri May 04 07:59:35 2018 -0400
+++ b/repeatmasker.xml	Wed May 23 14:23:57 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>