parse_seq_input function

Read sequences in an unknown format