add an option -g to specify which genetic unit to trait (0: all, 1:chr, 2:pla)