Skip to content

Commit

Permalink
Fix method name
Browse files Browse the repository at this point in the history
  • Loading branch information
susannasiebert committed Sep 19, 2017
1 parent b367086 commit d3ac732
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions add_annotations_to_table_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def parse_csq_entries(csq_entries, csq_fields):
transcripts[transcript['Allele']].append(transcript)
return transcripts

def resolves_alleles(entry, csq_alleles):
def resolve_alleles(entry, csq_alleles):
alleles = {}
if entry.is_indel:
for alt in entry.ALT:
Expand Down Expand Up @@ -86,7 +86,7 @@ def decode_hex(string):
csq = variant.INFO.get('CSQ')
if csq is not None:
transcripts = parse_csq_entries(csq.split(','), csq_fields)
alleles_dict = resolves_alleles(variant, transcripts.keys())
alleles_dict = resolve_alleles(variant, transcripts.keys())
for alt in alts:
if alt not in vep[chr][pos][ref]:
if transcripts is not None:
Expand Down

0 comments on commit d3ac732

Please sign in to comment.