view 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 source

#!/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