def get_alt_length(self, individual=<NUM_LIT:0>):
if isinstance(individual, str):<EOL><INDENT>individual = self.individuals[individual]<EOL><DEDENT>return [len(self.alt[i-<NUM_LIT:1>].replace('<STR_LIT:.>','<STR_LIT>')) for i in self.genotype[individual] if i > <NUM_LIT:0> and not self.alt[i-<NUM_LIT:1>].startswith('<STR_LIT:<>')]<EOL>
Returns the number of basepairs of each alternative allele