Hello. I have various .bed and .tped files (+ corresponding .fam/.tfam files) that I am exporting in vcf format from plink as follows:

    ./plink --tfile examplesnps --chr-set 39 --out exported_vcf  --recode vcf

However, I don't know how to get an output that has the sample IDs attached to the genotype data. Does anyone know how to include the actual sample names (i.e., the individual IDs) in the outputs from plink? 

Thanks in advance!
Have you tried `--recode vcf-iid`? 