refactoring genome