input for grimm when genes are not coded with numbers