We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
how to get v_identity, j_identity against with germline , of which a output of anarci if assign_germline ?
The text was updated successfully, but these errors were encountered:
Hi @sheljoy, something like this might work:
chain = Chain(seq, 'imgt') v_germline_chains, j_germline_chains = chain.find_human_germlines(limit=1) top_v, top_j = v_germline_chains[0], j_germline_chains[0] num_v_matches = sum(top_v.positions.get(pos) == aa for pos, aa in chain) num_j_matches = sum(top_j.positions.get(pos) == aa for pos, aa in chain) v_identity = num_v_matches / len(top_v) j_identity = num_j_matches / len(top_j) full_identity = (num_v_matches + num_j_matches) / len(chain)
Sorry, something went wrong.
No branches or pull requests
how to get v_identity, j_identity against with germline , of which a output of anarci if assign_germline ?
The text was updated successfully, but these errors were encountered: