def verify_light_chains(self, threshold=<NUM_LIT>):
lseqs = [l.light for l in self.lights]<EOL>clusters = cluster(lseqs, threshold=threshold)<EOL>clusters.sort(key=lambda x: x.size, reverse=True)<EOL>verified_ids = clusters[<NUM_LIT:0>].ids<EOL>for p in self.lights:<EOL><INDENT>p.verified = True if p.name in verified_ids else False<EOL><DEDENT>
Clusters the light chains to identify potentially spurious (non-lineage)
pairings. Following clustering, all pairs in the largest light chain
cluster are assumed to be correctly paired. For each of those pairs,
the <verified> attribute is set to True. For pairs not in the largest
light chain cluster, the <verified> attribute is set to False.

Inputs (optional)
-----------------
threshold: CD-HIT clustering threshold. Default is 0.9.