Skip to content

Commit

Permalink
Merge pull request #10 from molgenis/fix/ru_check
Browse files Browse the repository at this point in the history
Fix RU check if statement
  • Loading branch information
dennishendriksen authored Apr 25, 2024
2 parents 3e9fbcb + fef64d4 commit 1b3ebc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion straglr/tre.py
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@ def output_vcf(self, variants, out_file, sample, loci_bed, genome_fasta, bam):
if d_n > 0:
lc = int(d_sum / d_n)

is_ru_match = "1" if self.is_matching_repeat_unit(repeat_unit, bed_repeat_unit) else "0"
is_ru_match = self.is_matching_repeat_unit(repeat_unit, bed_repeat_unit)

if homzygous:
is_ref_allele = abs(allele1_repeat_count - ref_repeat_count) < 1
Expand Down

0 comments on commit 1b3ebc7

Please sign in to comment.