"One Among Millions: The Chemical Space of Nucleic Acid-Like Molecules"
https://pubs.acs.org/doi/10.1021/acs.jcim.9b00632
There are thousands of other polymers with capabilities of encoding and storing data in a way DNA does.