From 495dd594f414660fe6ebd51e35b75d873da72cdf Mon Sep 17 00:00:00 2001 From: Tongzhou Xu Date: Wed, 27 Mar 2024 16:17:13 -0400 Subject: [PATCH] 0.9.6 --- mashpit/__init__.py | 2 +- mashpit/query.py | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mashpit/__init__.py b/mashpit/__init__.py index 1fb6e1e..9dda66f 100755 --- a/mashpit/__init__.py +++ b/mashpit/__init__.py @@ -1,3 +1,3 @@ __author__ = 'Tongzhou Xu' __email__ = 'tongzhou.xu@uga.edu' -__version__ = '0.9.5' +__version__ = '0.9.6' diff --git a/mashpit/query.py b/mashpit/query.py index a1b459f..73690d1 100755 --- a/mashpit/query.py +++ b/mashpit/query.py @@ -103,9 +103,9 @@ def generate_mashtree(output_df,min_similarity,query_name,sig_path,added_annotat annotated_leaves.append(leaf) dm = DistanceMatrix(matrix, annotated_leaves) newick_str = nj(dm, result_constructor=str) - with open(f'{query_name}_annotated_tree.newick','w') as f: + with open(f'{query_name}_tree.newick','w') as f: f.write(newick_str) - tree = Phylo.read(f'{query_name}_annotated_tree.newick', "newick") + tree = Phylo.read(f'{query_name}_tree.newick', "newick") n = len(tree.get_terminals()) fig = plt.figure(figsize=(10, n*0.35), dpi=300) axes = fig.add_subplot(1, 1, 1) diff --git a/setup.py b/setup.py index 64d132c..f8a99c0 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name='mashpit', - version='0.9.5', + version='0.9.6', url='https://github.com/tongzhouxu/mashpit', author='Tongzhou Xu', author_email='tongzhou.xu@uga.edu',