There are two parts here.
Part 1: Check sgkit documentation how to import a VCF file
This is sgkit:
We need to learn how to use sgkit, so best to check how to import a VCF file into Python and create an sgkit object - how we do this...
Part 2: How we will move towards using sgkit in this tree seq pipeline
Once we master the above part, we should be looking into how to do what Ben Jeffrey is doing at https://github.com/benjeffery/tsinfer-snakemake/tree/main