From f4b502f233acc9224016875785621e69aff98081 Mon Sep 17 00:00:00 2001 From: Karan Jaisingh Date: Tue, 21 Jan 2025 10:45:04 -0500 Subject: [PATCH] Final dragen standardizer cleanup --- src/svtk/svtk/standardize/std_dragen.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/svtk/svtk/standardize/std_dragen.py b/src/svtk/svtk/standardize/std_dragen.py index 7cf68aa8f..a96470d04 100644 --- a/src/svtk/svtk/standardize/std_dragen.py +++ b/src/svtk/svtk/standardize/std_dragen.py @@ -75,18 +75,17 @@ def standardize_info(self, std_rec, raw_rec): 5. Define ALGORITHMS. """ - # Update SVTYPE + # Retrieve record data svtype = raw_rec.info['SVTYPE'] - - # Check INV isInv3, isInv5, matePos = checkInversion(raw_rec) if isInv3 or isInv5: svtype = 'INV' - # Check TANDEM DUP - if 'DUPSVLEN' in raw_rec.info: - svtype = 'DUP' + # Convert INS to DUP for tandem duplications + # if 'DUPSVLEN' in raw_rec.info: + # svtype = 'DUP' + # Update SVTYPE std_rec.info['SVTYPE'] = svtype # Update ID