view call_rscape.sh @ 2:40371e8b6ee2 draft default tip

"planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AlignCluster commit 6f9cc1c762abc9a45af9c459bd2603426148a369-dirty"
author rnateam
date Sun, 12 Sep 2021 20:11:46 +0000
parents 953353eacec2
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