diff call_rscape.sh @ 1:953353eacec2 draft

planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AlignCluster commit 5fe196bd60c65c884ae1685d4b7fb33119564fa7
author rnateam
date Sun, 28 Oct 2018 18:52:14 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/call_rscape.sh	Sun Oct 28 18:52:14 2018 -0400
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+num_bps=$(grep "SS_cons" $2  | awk '{print $3}' | tr -d '.' | tr -d '\n' | wc -c)
+if [ $num_bps -gt 2 ]; then
+    R-scape --outdir $1 $2
+else
+    echo "No consensus structure, R-scape skipped";
+fi
\ No newline at end of file