Skip to content

Commit

Permalink
GEMINI: separate symlinked effects decomposition
Browse files Browse the repository at this point in the history
Follow up to
c575ab3
which also names the symlinks correct for effects and no effects.
Fixes #2225
  • Loading branch information
chapmanb committed Jan 31, 2018
1 parent 584bdbb commit b2a03fc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bcbio/variation/normalize.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ def normalize(in_file, data, passonly=False, normalize_indels=True, split_bialle
rerun_effects=True, remove_oldeffects=False):
"""Normalizes variants and reruns SnpEFF for resulting VCF
"""
out_file = "%s-nomultiallelic%s" % utils.splitext_plus(in_file)
if remove_oldeffects:
out_file = "%s-noeff-nomultiallelic%s" % utils.splitext_plus(in_file)
else:
out_file = "%s-nomultiallelic%s" % utils.splitext_plus(in_file)
if not utils.file_exists(out_file):
if vcfutils.vcf_has_variants(in_file):
ready_ma_file = _normalize(in_file, data, passonly=passonly,
Expand Down

0 comments on commit b2a03fc

Please sign in to comment.