We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebfea69 commit 23314b8Copy full SHA for 23314b8
bu_isciii/templates/IRMA/ANALYSIS/ANALYSIS01_FLU_IRMA/04-irma/create_irma_vcf.py
@@ -745,7 +745,7 @@ def combine_indels(vcf_dictionary):
745
if value["TYPE"] == "INS":
746
if value["REF_POS"] in combined_vcf_dict:
747
if value["TYPE"] == combined_vcf_dict[value["REF_POS"]]["TYPE"]:
748
- NEW_ALT = value["ALT"].replace(value["REF"], "")
+ NEW_ALT = value["ALT"][len(value["REF"]) :]
749
combined_vcf_dict[value["REF_POS"]]["ALT"] += NEW_ALT
750
combined_vcf_dict[value["REF_POS"]]["SAMPLE_POS"].append(
751
value["SAMPLE_POS"][0]
0 commit comments