Carlos-Francisco Méndez-Cruz

Deep Learning Workshop

......@@ -80,7 +80,7 @@ if __name__ == "__main__":
total_exon = 0
total_utr = 0
# Read HGA csv file
with open(os.path.join(args.hgaPath, args.hgaFile), mode="r", encoding="utf-8") as csvfile:
with open(os.path.join(args.hgaPath, args.hgaFile), mode="r") as csvfile:
reader = csv.DictReader(csvfile)
for row in reader:
# print(row)
......
......@@ -55,7 +55,7 @@ if __name__ == "__main__":
sequences = []
# Read file with sequences
with open(os.path.join(args.inputPath, args.inputFile), mode="r", encoding="utf-8") as tabfile:
with open(os.path.join(args.inputPath, args.inputFile), mode="r") as tabfile:
df = pd.read_csv(tabfile, delimiter='\t')
print("df: {}".format(df))
sequences = df['sequence']
......