More gene eda / normalization code