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 6, 2024
1 parent 9807430 commit ab25d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geneAnalysis/geneAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# check if a reference genome is provided as a command-line argument.
if len(sys.argv) < 2:
print("Usage: python3.11 geneAnalysis.py <reference_genome>")
print("Usage: python3 geneAnalysis.py <reference_genome>")
sys.exit(1)

# get the reference genome from the command-line argument.
Expand All @@ -27,7 +27,7 @@

# function to run a Python script with additional arguments, if needed.
def run_script(script_path, *args):
subprocess.run(['python3.11', script_path, *args], check=True)
subprocess.run(['python3', script_path, *args], check=True)

# Calculate the average mutation rate (for a protein ~~ by comparing all with reference strain).
def calculate_average_mutation_rate(csv_file): # avg of all strains compared to the reference genome from mutation_rates.csv.
Expand Down

0 comments on commit ab25d8f

Please sign in to comment.