import P0.Seq0 as Seq0 gene_folder = "./Sequences/" gene_list = ["U5", "ADA", "PRAT1", "FXN"] print("-----| Exercise 3 |------") for gene in gene_list: sequence = Seq0.seq_read_fasta(gene_folder + gene + ".txt") print("Gene " + gene + "---------> Length:" + str(Seq0.seq_len(sequence)))
import P0.Seq0 as Seq0 GENE_FOLDER = "./Sequences/" gene_list = ["U5", "ADA", "FRAT1", "FXN"] print("------| Exercise 3 |------") for gene in gene_list: seq = Seq0.seq_read_fasta(GENE_FOLDER + gene + ".txt") print("Gene " + gene + " ---> ", Seq0.seq_len(seq))