Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
Fix logical condition on length fix (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrcarvalho authored Oct 20, 2020
1 parent a9fd243 commit d72ca8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion short-read-mngs/idseq-dag/idseq_dag/util/m8.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def generate_taxon_count_json_from_m8(
percent_identity = float(m8_line_columns[2])
alignment_length = float(m8_line_columns[3])

if count_type == 'merged_NT_NR' or hit_source_count_type == 'NR':
if count_type == 'merged_NT_NR' and hit_source_count_type == 'NR':
# NOTE: At the moment of the change, applied ONLY in the scope of the prototype of NT/NR consensus project.
# Protein alignments (NR) are done at amino acid level. Each amino acid is composed of 3 nucleotides.
# To make alignment length values comparable across NT and NR alignments (for combined statistics),
Expand Down

0 comments on commit d72ca8b

Please sign in to comment.