Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert authored Nov 12, 2024
1 parent 1fe5f5f commit 1b1a8fc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions gget/gget_diamond.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,11 @@ def diamond(
output_w = output.replace("/", "\\")

if translated:
diamond_program = "blastp"
else:
if verbose:
logger.info(f"Aligning nucleotide query to amino acid reference (blastx mode).")
diamond_program = "blastx"
else:
diamond_program = "blastp"

if platform.system() == "Windows":
command = f"{DIAMOND} version \
Expand Down

0 comments on commit 1b1a8fc

Please sign in to comment.