Skip to content

Commit

Permalink
Recode allele to print in VCF
Browse files Browse the repository at this point in the history
  • Loading branch information
szhan committed Feb 26, 2024
1 parent 099d773 commit 176a5a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/tests/beagle_numba.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,8 +864,8 @@ def write_vcf(ref_ts, impdata, out_file, chr_name="1"):
line_str = chr_name + "\t"
line_str += str(int(impdata.site_pos[i])) + "\t"
line_str += str(i) + "\t"
REF = impdata.get_ref_allele_at_site(i)
ALT = impdata.get_alt_allele_at_site(i)
REF = _ACGT_ALLELES[impdata.get_ref_allele_at_site(i)]
ALT = _ACGT_ALLELES[impdata.get_alt_allele_at_site(i)]
line_str += REF + "\t"
line_str += ALT + "\t"
# QUAL
Expand Down

0 comments on commit 176a5a4

Please sign in to comment.