 If the court decides that the patents are invalid, that ruling would reverse more than 20 years of precedent, during which companies and academic researchers have patented thousands of genes.