def get_alt_lengths(self):
<EOL>out = []<EOL>for i in six.moves.range(len(self.genotype)):<EOL><INDENT>valid_alt = self.get_alt_length(individual=i)<EOL>if not valid_alt:<EOL><INDENT>out.append(None)<EOL><DEDENT>else:<EOL><INDENT>out.append(max(valid_alt)-len(self.ref))<EOL><DEDENT><DEDENT>return out<EOL>
Returns the longest length of the variant. For deletions, return is negative,
        SNPs return 0, and insertions are +. None return corresponds to no variant in interval
        for specified individual