Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
szhan committed Jun 19, 2023
1 parent adf12c4 commit b766ddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compare_vcfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def make_compatible_genotypes(ds1, ds2, acgt_alleles=False):
ds2_subset["variant_contig"] = ds2_subset["variant_contig"].isel(variants=ds2_idx)
ds2_subset["variant_position"] = ds2_subset["variant_position"].isel(variants=ds2_idx)
ds2_subset["variant_allele"] = remapped_ds2_alleles
ds2_subset["call_genotype"] = remapped_ds2_genotypes.isel(variants=ds2_idx)
ds2_subset["call_genotype"] = remapped_ds2_genotypes
ds2_subset["call_genotype_mask"] = ds2_subset["call_genotype_mask"].isel(variants=ds2_idx)

return (ds1_subset, ds2_subset)

0 comments on commit b766ddf

Please sign in to comment.