This repository contains data and code used for analysis in the following paper. Title: Genomic signatures and demographic history of the widespread and critically endangered yellow-breasted bunting Authors: G.L.Chen and Y.W.Sin This repository included two parts: 1. Dataset - The sex chromosomal SNPs used in this study. 2. Dataset2 - The autosomal SNPs used in this study. 3. Code used in this study - Population structure - Gene flow - Demographic history - Genetic load ## Since most of the software used in this study is published software with completed tutorials, we did not provide detailed steps here. Feel free to contact us if you have any questions. G.L.Chen: chengl25@connect.hku.hk