Skip to content

Commit

Permalink
Add --ignore-warnings flag to diamond commands
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert authored Jan 8, 2024
1 parent 4ab4e69 commit c61db4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gget/gget_diamond.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,12 @@ def diamond(
command = f"{DIAMOND} version \
&& {DIAMOND_w} makedb --quiet --in {reference_file_w} --db {diamond_db_w} --threads {threads} \
&& {DIAMOND_w} blastp --outfmt 6 qseqid sseqid pident qlen slen length mismatch gapopen qstart qend sstart send evalue bitscore \
--quiet --query {input_file_w} --db {reference_file_w} --out {output_w} --{sensitivity} --threads {threads}"
--quiet --query {input_file_w} --db {reference_file_w} --out {output_w} --{sensitivity} --threads {threads} --ignore-warnings"
else:
command = f"'{DIAMOND}' version \
&& '{DIAMOND}' makedb --quiet --in '{reference_file}' --db '{diamond_db}' --threads {threads} \
&& '{DIAMOND}' blastp --outfmt 6 qseqid sseqid pident qlen slen length mismatch gapopen qstart qend sstart send evalue bitscore \
--quiet --query '{input_file}' --db '{reference_file}' --out '{output}' --{sensitivity} --threads {threads}"
--quiet --query '{input_file}' --db '{reference_file}' --out '{output}' --{sensitivity} --threads {threads} --ignore-warnings"

# Run DIAMOND
if verbose:
Expand Down

0 comments on commit c61db4f

Please sign in to comment.