utils, covert seq input to sequence string