Structure of putative minimal nucleotidyltransferase