Skip to content

Commit

Permalink
Merge pull request #50 from Ecogenomics/pierre_dev
Browse files Browse the repository at this point in the history
bug fixed when pplacer_leaf < 95% ANI
  • Loading branch information
pchaumeil authored Sep 21, 2018
2 parents d5f1cdb + 7a5935e commit 572aec8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions gtdbtk/VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
0.1.3
- v0.1.3 resolves bug that would occur when a user genome has a FastANI >= 95% with reference genomes but not with the closest pplacer leaf node.
0.1.2
- resolve bug that would occasionally cause genomes to not be correctly associated with a reference genome in the pplacer tree. FastANI was still identifying correct species assignments.
0.1.1
Expand Down
6 changes: 3 additions & 3 deletions gtdbtk/classify.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,10 +613,10 @@ def _sort_fastani_results(self, fastani_verification, all_fastani_dict, summaryf
else:
taxa_str = taxa_str[0:taxa_str.rindex(';')]
summary_list[1] = self.standardise_taxonomy(taxa_str)
summary_list[6] = pplacer_leafnode
summary_list[7] = ";".join(self.gtdb_taxonomy.get(
add_ncbi_prefix(pplacer_leafnode)))
if pplacer_leafnode in all_fastani_dict.get(userleaf.taxon.label):
summary_list[6] = pplacer_leafnode
summary_list[7] = ";".join(self.gtdb_taxonomy.get(
add_ncbi_prefix(pplacer_leafnode)))
summary_list[8] = all_fastani_dict.get(
userleaf.taxon.label).get(pplacer_leafnode).get('ani')
summary_list[9] = all_fastani_dict.get(
Expand Down

0 comments on commit 572aec8

Please sign in to comment.