diff mgescan.sh @ 12:1a143426370c draft

Uploaded
author hyungrolee
date Mon, 15 Feb 2016 04:15:01 -0500
parents b14f55bb20be
children
line wrap: on
line diff
--- a/mgescan.sh	Mon Feb 15 04:08:37 2016 -0500
+++ b/mgescan.sh	Mon Feb 15 04:15:01 2016 -0500
@@ -51,9 +51,7 @@
 
 #set path for transeq
 #export PATH=$user_dir/mgescan/EMBOSS/bin:/usr/bin:$PATH
-transeq --version 2> /dev/null
-res=$?
-if [ 0 -ne $res ]
+if [ "" == "`which transeq`" ]
 then
 	echo "EMBOSS is not available."
 	exit