annotate ribopicker.sh @ 0:75ca0166e969 draft

Uploaded
author malex
date Tue, 16 Oct 2012 19:42:32 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
75ca0166e969 Uploaded
malex
parents:
diff changeset
1 #!/bin/bash
75ca0166e969 Uploaded
malex
parents:
diff changeset
2 # Ribopicker Galaxy Wrapper
75ca0166e969 Uploaded
malex
parents:
diff changeset
3 # Version: 1.0
75ca0166e969 Uploaded
malex
parents:
diff changeset
4 # Oleksandr Moskalenko <om@hpc.ufl.edu> (2012)
75ca0166e969 Uploaded
malex
parents:
diff changeset
5
75ca0166e969 Uploaded
malex
parents:
diff changeset
6 # set -e
75ca0166e969 Uploaded
malex
parents:
diff changeset
7
75ca0166e969 Uploaded
malex
parents:
diff changeset
8 fail()
75ca0166e969 Uploaded
malex
parents:
diff changeset
9 {
75ca0166e969 Uploaded
malex
parents:
diff changeset
10 echo "$@" >&2
75ca0166e969 Uploaded
malex
parents:
diff changeset
11 exit 1
75ca0166e969 Uploaded
malex
parents:
diff changeset
12 }
75ca0166e969 Uploaded
malex
parents:
diff changeset
13
75ca0166e969 Uploaded
malex
parents:
diff changeset
14 ribopicker_galaxy.pl $@ || fail "Could not run RiboPicker"
75ca0166e969 Uploaded
malex
parents:
diff changeset
15 sleep 1
75ca0166e969 Uploaded
malex
parents:
diff changeset
16 ln -s galaxy_rrna.fa galaxy_rrna.txt
75ca0166e969 Uploaded
malex
parents:
diff changeset
17 ln -s galaxy_nonrrna.fa galaxy_nonrrna.txt