Skip to content

Commit

Permalink
Minor formatting update
Browse files Browse the repository at this point in the history
  • Loading branch information
kjaisingh committed Jan 6, 2025
1 parent ed60fc0 commit aba4ba4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/svtk/svtk/standardize/std_dragen.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,17 @@ def standardize_records(self):

mate_IDs = deque()
for record in self.filter_raw_vcf():
# Filter unmarked SECONDARY on same chromosome
if 'MATEID' in record.info:
mate_ID = record.info['MATEID'][0]

# Skip records with an observed mate
if mate_ID in mate_IDs:
continue

# Track IDs of observed records
mate_IDs.append(record.id)

yield self.standardize_record(record)

def standardize_info(self, std_rec, raw_rec):
Expand Down

0 comments on commit aba4ba4

Please sign in to comment.