This project aims to develop an innovative computational tool, ancient GPS (aGPS), to accurately infer biogeography and migration routes from metagenomic data spanning ancient human and non-human populations. By integrating extensive genomic datasets—including ancient DNA and modern genomes from human, horse, and sheep—we will reconstruct migratory histories and demographic shifts over millennia. Our approach combines state-of-the-art algorithms for variant calling, spatial analysis, and time-series modeling to resolve key questions regarding the origins and migratory patterns of ancient Israelites and Vikings. This integrative framework not only expands on existing localization methods but also provides a scalable, reproducible pipeline that leverages diverse data sources to elucidate the dynamic interactions between populations and their environments throughout history.