But some bioethicists say the whole idea of genetic testing outside a medical setting is troubling.

“It’s a bad precedent to set up mass testing without some sort of counseling support,” said Arthur Caplan, director of the Center for Bioethics at the University of Pennsylvania. “I’d rather people get their results in a medical setting, where they can ask questions about the error rate or the chances of passing it on to their children, and not just see it posted on some Web site.”

Dr. Schlissel said that he understood the concern about counseling but that he believed it applied mostly to testing for genetic diseases, not necessarily the relatively innocuous gene variants that Berkeley is looking for.

Berkeley, like many colleges, has for several years tried to create a common intellectual experience for new students by assigning a summer reading book. Last year, freshmen and transfer students in its College of Letters and Sciences received “The Omnivore’s Dilemma,” By Michael Pollan.

But for the class of 2014, the program will be especially ambitious. After the genetic testing, the university will offer a campuswide lecture by Mr. Rine about the three genetic markers, along with other lectures and panels with philosophers, ethicists, biologists and statisticians exploring the benefits and risks of personal genomics.

There will also be a contest in which students who submit creative entries on the theme will have a chance to win further genetic testing from 23andMe, a private company that offers DNA profiling.

Berkeley has not yet chosen a company to analyze the DNA samples, but Dr. Schlissel said it was unlikely to be 23andMe. Estimates are $35,000 to $40,000 per 1,000 samples.

While the Berkeley professors see the gene testing as relatively harmless, others say that all genetic knowledge carries risks.

“They may think these are noncontroversial genes, but there’s nothing noncontroversial about alcohol on campus,” said George Annas, a bioethicist at the Boston University School of Public Health. “What if someone tests negative, and they don’t have the marker, so they think that means they can drink more? Like all genetic information, it’s potentially harmful.”