From 5840ae4754a8d804f98ea02eec12525bb6073a83 Mon Sep 17 00:00:00 2001 From: Merit Kayastha <90002479+mkayasth@users.noreply.github.com> Date: Fri, 10 May 2024 01:09:39 -0400 Subject: [PATCH] Update geneAnalysis.py --- geneAnalysis/geneAnalysis.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/geneAnalysis/geneAnalysis.py b/geneAnalysis/geneAnalysis.py index fecfdbb..c9e070c 100644 --- a/geneAnalysis/geneAnalysis.py +++ b/geneAnalysis/geneAnalysis.py @@ -81,13 +81,13 @@ def clean_up_mutation_rates_txt(file_path): strain_name = first_row[0] protein_name = strain_name.split('|')[1].split(',')[0] if '|' in strain_name else strain_name -# Append the average mutation rate to the text file +# Appending the average mutation rate to the text file. append_average_mutation_rate_to_file(average_mutation_rate_file, protein_name, average_mutation_rate) -# Clean the average mutation rates text file +# Cleaning the average mutation rates text file. clean_up_mutation_rates_txt(average_mutation_rate_file) -# After processing and calculations are done, delete the intermediate files. +# once processing and calculations are done, deleting the intermediate files. os.remove('geneAnalysis-output/genetic_distances.csv') os.remove('geneAnalysis-output/branch_length.csv') os.remove('geneAnalysis-output/mutation_rates.csv')