bcftools view sample info

C++
# Basic syntax:
bcftools view --samples 'samples_1,sample2,...' input_file.vcf
Source

Also in C++: