SAN FRANCISCO — Theranos Inc. seems to be slowly digging out from the pile of litigation that threatened to bury the company last year in the wake of damning reports about its technology.

On Tuesday, a federal judge in Arizona swept away most of the dozen-plus class action claims against the once-vaunted blood testing startup and former pharmacy partner Walgreens, brought on behalf of patients in that state and California who took Theranos tests.

U.S. District Judge Russel Holland definitively rejected conspiracy and medical battery claims advanced by lawyers for the proposed class at Keller Rohrback and Lieff Cabraser Heimann & Bernstein. But Holland allowed parts of their fraud and unjust enrichment claims to advance, giving the plaintiffs another chance to fix some deficiencies he found in their pleading.