I can understand that there are several types of phasing. Currently, I am facing the following error when creating a bref file.
java -jar bref3.22Jul22.46e.jar ref_panel.vcf.gz > ref_panel.bref
Exception in thread "main" java.lang.IllegalArgumentException: ERROR: unphased or missing genotype for reference sample ... at marker [chr1 100 . G *]
at vcf.VcfRecGTParser.throwIllegalArgException(VcfRecGTParser.java:415)
at vcf.VcfRecGTParser.phasedAlleles(VcfRecGTParser.java:359)
at vcf.VcfRecGTParser.nonMajRefIndices(VcfRecGTParser.java:490)
...
...
at bref.Bref3.refIt(Bref3.java:101)
at bref.Bref3.writeBref(Bref3.java:82)
at bref.Bref3.main(Bref3.java:47)
In this case, which is more suitable for converting unphased genotypes to phased genotypes, GATK's physical phasing or Beagle's phasing?