Haplogroups are groups of individuals who share a common ancestor based on genetic markers. The study of haplogroups is useful for understanding population migration patterns, genetic diversity, and evolution. Haplogroup Tracker is a project aimed at providing a user-friendly web-based platform for individuals to track and analyze their haplogroup.
Haplotracker can be accessed through this link
Haplotracker can also be used by downloading the Haplotracker.py file This requires the following packages.
To run the app, you will need Python 3.x and the following libraries:
pip install pandas
pip install plotly
pip install streamlit
pip install PillowClone the repository from here
You will have to rename the file name in the code line 72 when using your own files
data=pd.read_excel("Data/Eurasian.xlsx") You can then run the the following code in anaconda prompt to run the app.
streamlit run haplotracker.pyThe app reads a data file Eurasian.xlsx located in the Data directory. The data file contains information about the location and migration patterns of various haplogroups.
The user can then select the mode of the app
- "MtDNA"-Uses all the mtdna in the data
- "MtDNA-Male"-Uses all the male mtdna in the data
- "MtDNA-Female"-Uses all the female mtdna in the data
- "Y-chromosome"-Uses all the male y-chromosome in the data
The user has to select the haplogroups that they want to visualize using the multiselect box.
The user then has to select a map type the ones available are
- USGS- United States Geological Survey
- Natural Earth- A clean looking map with major rivers.
The user also needs to select the haplogroup which they would like to animate.The first option from the user is chosen as the default.
The map with all the selected Haplogroups which can be clicked to toggle view.

The trace map for the selected haplogroup.

The animation is played when the user presses the play button on the top left corner of the map.
- Downloadable plots
- Fullscreen mode
- Various Map styles
- Animate the movement of the Haplogroup of your choice.
-
Add support to animate multiple traces
-
User able to provide the input files.
-
Tracking Haplogroups using existing phylogenetic databases
-
Machine learning algorithm to use only sequence information to track predict haplogroups and even plot them on the map.
For support, email ni2651va-s@student.lu.se



