def fragment_id_split(frag_id):
    """Split a string fragment_id into a 2-tuple of:
    (sequence_num, insertion_code)
    """
    try:
        return (int(frag_id), None)
    except ValueError:
        return (int(frag_id[:-1]), frag_id[-1:])