def gff_record_to_string(gff_record):
    """Convert a `GFF_record` namedtuple to a string representation."""
    fields = list(gff_record)
    fields[3], fields[4] = str(fields[3]), str(fields[4])
    attributes = []
    for k, v in fields[8].items():
        if isinstance(v, list):
            v = ','.join(v)
        attributes.append('%s=%s' % (k, v))
    fields[8] = ';'.join(attributes)
    return '%s\n' % '\t'.join(fields)
