Skip to content

Commit

Permalink
Add spaces between blast arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
paulstothard committed Jul 19, 2021
1 parent d534639 commit f747f98
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/scripts/local_blast_client/local_blast_client.pl
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,14 @@
= "$settings{BLAST_PATH} -p $settings{PROGRAM} -d $settings{DATABASE} -e $settings{EXPECT} -i $filename -b $settings{HITLIST_SIZE} -v $settings{HITLIST_SIZE} -m $format_type -W $settings{WORD_SIZE} -F $settings{FILTER}";

if ($settings{PROGRAM} eq 'blastx') {
$blast_command .= "-Q $settings{QUERY_GENETIC_CODE}";
$blast_command .= " -Q $settings{QUERY_GENETIC_CODE}";
}
elsif ($settings{PROGRAM} eq 'tblastn') {
$blast_command .= "-D $settings{DATABASE_GENETIC_CODE}";
$blast_command .= " -D $settings{DATABASE_GENETIC_CODE}";
}
elsif ($settings{PROGRAM} eq 'tblastx') {
$blast_command .= "-Q $settings{QUERY_GENETIC_CODE}";
$blast_command .= "-D $settings{DATABASE_GENETIC_CODE}";
$blast_command .= " -Q $settings{QUERY_GENETIC_CODE}";
$blast_command .= " -D $settings{DATABASE_GENETIC_CODE}";
}

print
Expand Down

0 comments on commit f747f98

Please sign in to comment.