def _parse_frequencies(self):
frequencies = OrderedDict([<EOL>('<STR_LIT>', '<STR_LIT>'),<EOL>('<STR_LIT>', '<STR_LIT>'),<EOL>('<STR_LIT>', '<STR_LIT>')])<EOL>pref_freq = '<STR_LIT>'<EOL>for source in frequencies.keys():<EOL><INDENT>freq_key = '<STR_LIT>' + source<EOL>if freq_key in self.info:<EOL><INDENT>frequencies[source] = self.info[freq_key]<EOL>if pref_freq == '<STR_LIT>':<EOL><INDENT>pref_freq = frequencies[source]<EOL><DEDENT><DEDENT><DEDENT>return pref_freq, frequencies<EOL>
Parse frequency data in ClinVar VCF