annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
953353eacec2 planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AlignCluster commit 5fe196bd60c65c884ae1685d4b7fb33119564fa7
rnateam
parents:
diff changeset
1 #!/bin/bash
953353eacec2 planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AlignCluster commit 5fe196bd60c65c884ae1685d4b7fb33119564fa7
rnateam
parents:
diff changeset
2
953353eacec2 planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AlignCluster commit 5fe196bd60c65c884ae1685d4b7fb33119564fa7
rnateam
parents:
diff changeset
3 num_bps=$(grep "SS_cons" $2 | awk '{print $3}' | tr -d '.' | tr -d '\n' | wc -c)
953353eacec2 planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AlignCluster commit 5fe196bd60c65c884ae1685d4b7fb33119564fa7
rnateam
parents:
diff changeset
4 if [ $num_bps -gt 2 ]; then
953353eacec2 planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AlignCluster commit 5fe196bd60c65c884ae1685d4b7fb33119564fa7
rnateam
parents:
diff changeset
5 R-scape --outdir $1 $2
953353eacec2 planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AlignCluster commit 5fe196bd60c65c884ae1685d4b7fb33119564fa7
rnateam
parents:
diff changeset
6 else
953353eacec2 planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AlignCluster commit 5fe196bd60c65c884ae1685d4b7fb33119564fa7
rnateam
parents:
diff changeset
7 echo "No consensus structure, R-scape skipped";
953353eacec2 planemo upload for repository https://github.com/bgruening/galaxytools/tools/GraphClust/AlignCluster commit 5fe196bd60c65c884ae1685d4b7fb33119564fa7
rnateam
parents:
diff changeset
8 fi