Currently mutation frequencies are being calculated based on the length of the regions that have mutations. For example, if mutations are seen in the V, D, and J region, the calculation is
But if mutations are only seen in the V region, the calculation is
mut_freq = n_mutations / (v_length)
Should be updated so that the denominator is always (v_length + j_length + d_length) no matter what mutations are seen. If no D gene is present, this will just b 0.
Currently mutation frequencies are being calculated based on the length of the regions that have mutations. For example, if mutations are seen in the V, D, and J region, the calculation is
But if mutations are only seen in the V region, the calculation is
Should be updated so that the denominator is always
(v_length + j_length + d_length)
no matter what mutations are seen. If no D gene is present, this will just b 0.