Make the sentence simple: It is that gene, scientists think, that gives Tibetans an advantage over lowlanders at high altitudes.
The segment contains the gene scientists think gives Tibetans a lung up over lowlanders at high altitudes.