def parse_entry(self, entry):
entry = entry.split('<STR_LIT:\t>')<EOL>self.chrom, self.pos, self.id, self.ref, alt_, self.qual, filter_, info, self.format = entry[:<NUM_LIT:9>]<EOL>self.samples = entry[<NUM_LIT:9>:]<EOL>self.alt = alt_.split('<STR_LIT:U+002C>')<EOL>if filter_ == '<STR_LIT>' or filter_ == '<STR_LIT:.>':<EOL><INDENT>self.passed = True<EOL><DEDENT>else:<EOL><INDENT>self.passed = filter_.split('<STR_LIT:;>')<EOL><DEDENT>self.info = info<EOL>self.format = self.format.split('<STR_LIT::>')<EOL>if '<STR_LIT>' in self.format:<EOL><INDENT>self.GT = self.format.index('<STR_LIT>')<EOL><DEDENT>if '<STR_LIT>' in self.format:<EOL><INDENT>self.GQ = self.format.index('<STR_LIT>')<EOL><DEDENT>if '<STR_LIT>' in self.format:<EOL><INDENT>self.DP = self.format.index('<STR_LIT>')<EOL><DEDENT>if '<STR_LIT>' in self.format:<EOL><INDENT>self.FT = self.format.index('<STR_LIT>')<EOL><DEDENT>
This parses a VCF row and stores the relevant information