add sample info keeping function to vcfallelicprimitives