pyrepseq
pyrepseq copied to clipboard
Support partial TCRdist calculation with incomplete information
Currently the TCRdist calculation on e.g. CDR3A will fail when no TRAV gene is in the dataframe. It would be preferable if each function worked with only its required input.
Good point- do you know if raw tcrdist3 allows you to compute distances just for CDR3s? I remember thinking that it is possible to get CDR3-only distances but the code wants you to still have a v_gene column specified...
Yes, it is possible using internal functions. Take a look in the find_neighbors_tcrdist function in nn.py for an example