Still sorting out chr issue. Now prints chr to output as seems to be needed for MEDIPS