def assemble_subpeak_record(subpeak, celltype_activations, sequence):
    """ Assemble the FASTA record of sequence and activation """
    # make the header
    header ='\t'.join([s for s in subpeak])
    header = '>' + header

    # make the activation string
    activation = ';'.join([ct+' '+str(score) for (ct,score) in celltype_activations])

    # append the sequence
    seq_string = str(sequence)
    return header, activation, seq_string