functionality to subset a vcf