Scientists have discovered the gene which controls ripening in tomatoes, leading to optimism that tomatoes sold in major multiples could soon be as tasty and colourful as those straight from the garden.