Topological investigation of bacterial site-specific recombination and genome differentiation in ciliates