Commit 520378b8 authored by AITE Meziane's avatar AITE Meziane

remove old rU for reading file

parent de917b79
......@@ -45,7 +45,7 @@ def main():
qualifier = args["--qualifier"]
verbose = args["-v"]
fasta_records = []
with open(gbk_file, "rU") as gbk:
with open(gbk_file, "r") as gbk:
for seq_record in SeqIO.parse(gbk, "genbank"):
seq_feature_cds = (seq_feature for seq_feature in seq_record.features if seq_feature.type == "CDS")
for seq_feature in seq_feature_cds:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment