3 # This script determines all the valid command line switches
4 # from the four main NCBI BLAST tools, and produces Perl code
5 # to put into Bio/Tools/Run/StandAloneBlast.pm
11 my @exe = qw(blastall blastpgp rpsblast bl2seq);
14 open(HELP
, "$exe - |") or die $!;
17 next unless m/^\s*-(\w)\s/;
21 print "\t\@",uc($exe),"_PARAMS = qw(", join(q{ }, sort @switch), ");\n";