Skip to content

Commit a0efb7d

Browse files
committed
Reversed string name in wrong pair of variants - resolved now (finally)
1 parent 91e2d1e commit a0efb7d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sv-pipeline/04_variant_resolution/scripts/process_posthoc_cpx_depth_regenotyping.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -645,8 +645,8 @@ def _evaluate_dup5_ins3(r, records_list, default_sv_type, default_cpx_type, min_
645645
reason="INVERTED_DISPERSED_DUPLICATION_WITH_DELETION",
646646
new_sv_type="CPX",
647647
new_cpx_type="dDUP_iDEL",
648-
new_cpx_intervals=f"INV_{interval_string(dup_chrom, dup_start, dup_end)},"
649-
f"DUP_{interval_string(dup_chrom, dup_start, dup_end)},"
648+
new_cpx_intervals=f"DUP_{interval_string(dup_chrom, dup_start, dup_end)},"
649+
f"INV_{interval_string(dup_chrom, dup_start, dup_end)},"
650650
f"DEL_{r.sink_string()}",
651651
new_svlen=dup_size + r.sink_size(),
652652
new_source=f"DUP_{interval_string(dup_chrom, dup_start, dup_end)}",
@@ -661,8 +661,8 @@ def _evaluate_dup5_ins3(r, records_list, default_sv_type, default_cpx_type, min_
661661
reason="INVERTED_DISPERSED_DUPLICATION",
662662
new_sv_type="CPX",
663663
new_cpx_type="dDUP",
664-
new_cpx_intervals=f"INV_{interval_string(dup_chrom, dup_start, dup_end)},"
665-
f"DUP_{interval_string(dup_chrom, dup_start, dup_end)}",
664+
new_cpx_intervals=f"DUP_{interval_string(dup_chrom, dup_start, dup_end)},"
665+
f"INV_{interval_string(dup_chrom, dup_start, dup_end)}",
666666

667667
new_svlen=dup_size,
668668
new_source=f"DUP_{interval_string(dup_chrom, dup_start, dup_end)}",

0 commit comments

Comments
 (0)