DNA, dichotomic classes and frame synchronization: a quasi-crystal framework