docker run -v $PWD:$PWD biocontainers/bcftools:v1.9-1-deb_cv1 bcftools view -i 'GT="0/0" || GT="0/1" || GT="1/1"' $PWD/MGD9213-P_blood_wgs.deepvariant.vcf > $PWD/MGD9213-P.diploid.vcf
docker pull quay.io/biocontainers/hapcut2:1.3.4--h7e4f606_2
docker run -v $PWD:$PWD quay.io/biocontainers/hapcut2:1.3.4--h7e4f606_2 /usr/local/bin/extractHAIRS --ref $PWD/ucsc/bwamem2/hg38.fa --bam $PWD/UDN/MGD9213-P_blood_wgs.cram --VCF $PWD/UDN/MGD9213-P.diploid.vcf --out $PWD/UDN/fragment_file
docker run -v $PWD:$PWD quay.io/biocontainers/hapcut2:1.3.4--h7e4f606_2 /usr/local/bin/HAPCUT2 --fragments $PWD/fragment_file --VCF $PWD/UDN367823-P.vcf --output $PWD/UDN367823-P.haplotype_output_file