Scientists have found a gene that causes high levels of bad cholesterol to accumulate in the blood as a result of a high-cholesterol diet.