Skip to content

Commit

Permalink
modified:1-only_blast, 2-blast-and-extract. Improved menu experience
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-douglas committed Jun 26, 2018
1 parent d480bd8 commit c5e3512
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Linux-Debiam/seqs-extractor.tools/1-only_blast
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fi
${g} 1${w} to run BLASTX
${g} 2${w} to run BLASTN"
echo "${g}"
read blast
echo -n "" ; read -p "" -n 1 blast
echo "${w}"
if [ "$blast" != "1" ] && [ "$blast" != "2" ]

Expand Down Expand Up @@ -158,7 +158,7 @@ echo "-----------------------------------------------------------------------
echo "${g} 1${w} to create a new database
${g} 2${w} to use a preexisting database"
echo "${g}"
read db_opt
echo -n "" ; read -p "" -n 1 db_opt
echo "${w}"
if [ "$db_opt" != "1" ] && [ "$db_opt" != "2" ]

Expand Down
6 changes: 4 additions & 2 deletions Linux-Debiam/seqs-extractor.tools/2-blast-and-extract
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ echo "-----------------------------------------------------------------------
${g} 1${w} to run BLASTX
${g} 2${w} to run BLASTN"
echo "${g}"
read blast
echo -n "" ; read -p "" -n 1 blast

if [ "$blast" != "1" ] && [ "$blast" != "2" ]

then
Expand Down Expand Up @@ -159,8 +160,9 @@ echo "-----------------------------------------------------------------------
echo "${g} 1${w} to format a new database
${g} 2${w} to use a preexisting database"
echo "${g}"
read db_opt
echo -n "" ; read -p "" -n 1 db_opt
echo "${w}"

if [ "$db_opt" != "1" ] && [ "$db_opt" != "2" ]

then
Expand Down

0 comments on commit c5e3512

Please sign in to comment.