Skip to content

Commit

Permalink
Update geneAnalysis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mkayasth authored May 10, 2024
1 parent 59b1b49 commit 5840ae4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions geneAnalysis/geneAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit 5840ae4

Please sign in to comment.