A genetic analysis has saved a major apple-producing region of Washington state.