prerequisite:
truvari4.0.0

You may download reference hg19 v2.1.0 from here. 
```wget https://cf.10xgenomics.com/supp/genome/refdata-hg19-2.1.0.tar.gz
tar -xzvf refdata-hg19-2.1.0.tar.gz
```

You need to first edit line 2-4 in submit_template_Truvari_para.slurm before use.
<reference> is the HG19 reference you dowload. 
<bench_dir> is `HG002_Giab_Benchmark` on zenodo. 
<vcf_dir> is `HG002_LargeINDEL_VCFs` on zenodo.

```
# edit below to your path
vcf_dir=zenode/HG002_LargeINDEL_VCFs

# create bash jobs
for i in ${VCF_dir}/*.vcf; do vcf=${i##*/}; cat submit_template_Truvari_para.slurm | sed "s/TOOL/${vcf%%.vcf}/g" > submit_Truvari_para_${vcf%%.vcf}.slurm; done

# submit jobs
for i in submit_Truvari_para_*.slurm; do bash $i; done

# create config list
for s in CLR ONT Hifi; do for lib in 1 2 3; do ls | grep "^${s}_L${lib}_" | awk -F '_' '{print $3 "\t" $0}' > ${s}_L${lib}.list; done; done

# plot
for i in *.list; do python plot_truvari_paras.py --tool_list $i --save_dir Plot_${i%%.list}; done

```