Mercurial > repos > malex > ribopicker
diff ribopicker.sh @ 0:75ca0166e969 draft
Uploaded
author | malex |
---|---|
date | Tue, 16 Oct 2012 19:42:32 -0400 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ribopicker.sh Tue Oct 16 19:42:32 2012 -0400 @@ -0,0 +1,17 @@ +#!/bin/bash +# Ribopicker Galaxy Wrapper +# Version: 1.0 +# Oleksandr Moskalenko <om@hpc.ufl.edu> (2012) + +# set -e + +fail() +{ + echo "$@" >&2 + exit 1 +} + +ribopicker_galaxy.pl $@ || fail "Could not run RiboPicker" +sleep 1 +ln -s galaxy_rrna.fa galaxy_rrna.txt +ln -s galaxy_nonrrna.fa galaxy_nonrrna.txt