def program_choose(type1, type2)
program = ""
- if type1 == 'protein'
- if type2 == 'protein'
+ if type1 == :protein
+ if type2 == :protein
program = 'blastp'
else
program = 'tblastn'
end
else
- if type2 == 'protein'
+ if type2 == :protein
program = 'blastx'
else
program = 'blastn'