def get_sample_idx(v, samples):
	"""Given sample name, get its column index in VCF."""
	is_present = [ s in v.samples for s in samples ]
	if not all(is_present):
		raise ValueError("One of the specified samples was not found in the VCF.")
	else:
		return [ v.samples.index(s) for s in samples ]