Format BEAF inputs like this: a,b,c,d