Computational tools for accurate inference of genetic ancestry from cancer-derived molecular data