def seq_comp(sequence): object = Seq(sequence) variable = object.complementary() context = {"sequence": sequence, "comp": variable} contents = read_template_html_file("./html/comp.html").render( context=context) return contents