In a closely watched case, a federal appeals court ruled on Friday that genes can be patented, overturning a lower court decision that had shocked the biotechnology industry.