#!/bin/bash
indexFile=$1
command=$2
profd=$3
cd $profd
echo 'Getting REBASE data'
wget 'http://rebase.neb.com/rebase/link_proto' -O link_proto >>/tmp/embossIndex.log
wget 'http://rebase.neb.com/rebase/link_withrefm' -O link_withrefm >>/tmp/embossIndex.log
echo 'Extract REBASE'
gksudo 'rebaseextract -infile link_withrefm -protofile link_proto'