\documentclass[tikz]{standalone} \usepackage{tikz} \usepackage{luatextra} \begin{document} \directlua{ lib = require("comparison_matrix_repetitions") seq="ACGUUACGUUGUU" tex.print(lib.repr_comparison_matrix(seq)) } \end{document}