Skip to content

Commit

Permalink
Add all the effects for each mutation in merge_results
Browse files Browse the repository at this point in the history
  • Loading branch information
jfnavarro committed Jan 28, 2021
1 parent 8cdacb4 commit e354186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion merge_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def main(dna_variants,
gene_locus.append("{}:-".format(name))
else:
gene_locus = ["-"]
effect = '{}_{}'.format(epitope.func, gene)
effect = ';'.join(['{}_{}_{}'.format(e.func, e.gene, e.transcript) for e in epitopes])
to_write = '\t'.join(str(x) for x in [key, dbsnp, gnomad, cosmic,
';'.join(dna_name_pass), num_dna_pass,
';'.join(dna_name_fail), num_dna_fail,
Expand Down

0 comments on commit e354186

Please sign in to comment.