Decreased BCR gene segment diversity was associated with improved survival in melanoma. Here, BCR is linked to melanoma.