import re


def chunk_paf(paf_record):
    """ Takes a PafRecord object or a full cs string and returns a list of fields from its cs string """
    if type(paf_record) == str:
        cs = paf_record
    else:
        cs = paf_record.tags["cs"]
    separable_cs = re.sub(r'(?<!\A)([-:*+])', r',\1', cs)
    return separable_cs.split(",")