Mechanism for RNA splicing of gene transcripts