nucleic acid biosynthetic process [GO_0141187] - Virtual Fly Brain