From dc85112b9834303b032b51c462ff32838f0bcc9f Mon Sep 17 00:00:00 2001 From: Auden Cote-L'Heureux <52716489+AudenCote@users.noreply.github.com> Date: Fri, 21 Jul 2023 14:39:22 -0400 Subject: [PATCH] Fixing codon model option in Guidance wrapper --- Utilities/for_fastas/GuidanceWrapper_v2.1.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Utilities/for_fastas/GuidanceWrapper_v2.1.py b/Utilities/for_fastas/GuidanceWrapper_v2.1.py index ab5a384..0640d2e 100644 --- a/Utilities/for_fastas/GuidanceWrapper_v2.1.py +++ b/Utilities/for_fastas/GuidanceWrapper_v2.1.py @@ -4,7 +4,7 @@ #Dependencies: Python3, BioPython #Inputs: A folder of unaligned fasta files #Outputs: Folder for each input file with selected Guidance output files, renamed with the original file name at the front -#Example: python3 GuidanceWrapper_v2.0.py -i FastaFiles +#Example: python3 GuidanceWrapper_v2.1.py -i FastaFiles #Dependencies @@ -14,12 +14,12 @@ from Bio import SeqIO #Reading arguments parser = argparse.ArgumentParser( - prog = 'Guidance Wrapper v2.0', - description = "Updated July 17, 2023 by Auden Cote-L'Heureux" + prog = 'Guidance Wrapper v2.1', + description = "Updated July 21, 2023 by Auden Cote-L'Heureux" ) parser.add_argument('--input', '-i', required = True, type = str, help = 'Path to folder of unaligned amino acid fasta files to align. File extensions must be fasta, fa, fas, or faa. Try using the absolute rather than relative path if working on the Grid and having trouble') parser.add_argument('--output', '-o', default = '.', type = str, help = 'Path to folder where a folder named "GuidanceOutput" will be created') -parser.add_argument('--codon', '-c', action = 'store_true', help = 'Run on nucleotide files by translating codons') +parser.add_argument('--codon', action = 'store_true', help = 'Run on nucleotide files by translating codons') parser.add_argument('--iterations', '-n', default = 5, type = int, help = 'Number of Guidance iterations (default = 5)') parser.add_argument('--guidance_path', '-p', default = 'guidance.v2.02', type = str, help = 'Path to the guidance_v2.02 folder') parser.add_argument('--seq_cutoff', '-s', default = 0.3, type = float, help = 'Taxa are removed if their score is below this cutoff')