Transcription factors (TFs) and microRNAs (miRNAs) are co-actors in genome-scale decoding and regulatory networks, often targeting common genes. To discover the symmetries and invariants of the transcription and regulation at the scale of the genome, in this paper, we introduce tools of infinite group theory and of algebraic geometry to describe both TFs and miRNAs. In TFs, the generator of the group is a DNA-binding domain while, in miRNAs, the generator is the seed of the sequence. For such a generated (infinite) group π, we compute the SL(2,C) character variety, where SL(2,C) is simultaneously a ‘space-time’ (a Lorentz group) and a ‘quantum’ (a spin) group. A noteworthy result of our approach is to recognize that optimal regulation occurs when π looks similar to a free group Fr (r=1 to 3) in the cardinality sequence of its subgroups, a result obtained in our previous papers. A non-free group structure features a potential disease. A second noteworthy result is about the structure of the Groebner basis G of the variety. A surface with simple singularities (such as the well known Cayley cubic) within G is a signature of a potential disease even when π looks similar to a free group Fr in its structure of subgroups. Our methods apply to groups with a generating sequence made of two to four distinct DNA/RNA bases in {A,T/U,G,C}. We produce a few tables of human TFs and miRNAs showing that a disease may occur when either π is away from a free group or G contains surfaces with isolated singularities.