Automated identification of human Y chromosome haplogroups based on ancient dna data

A better tool for Y haplogroup identification compared to the existing ones would address the following points:

.- Given default options based on ISOGG being provided (similar to yHaplo), the tool should also be able to take as input an extended or custom table with variant positions and their names, along with a custom representation of the Y chromosome tree in order to produce results based on this input. YFitter for example works with GRC36 coordinates and an outdated tree topology. yHaplo on the other hand is heavily dependant on ISOGG tree and SNP nomenclature as well as GRC37 coordinates, making it not trivial to modify in order to make it work with GRC38 coordinates or with an alternative nomenclature to ISOGG.

.- Unlike yHaplo, and similar to YLeaf, the tool should be able to take bam files as input and perform variant calling using either bcftools or GATK. This allows to take into account information on read depth and genotype quality for each SNV and thus provide these metrics in the final assignments. Similar to YFitter, this could allow also to assign haplogroups in a probabilistic way and therefore represent the uncertainty in assignment in cases with very low coverage and low quality read mappings.

.- Similar to yHaplo and YFitter, a hierarchical search based on a pre-defined tree topology should be implemented. This is the main disadvantage of YLeaf, which finds and reports the variants found in a sample and which are linked to a specific haplogroup or sub-branch, but leaves to the user a systematic tree-based analysis of the SNV genotypes and results.

References:

Poznik, D. 2016. yHaplo: Identifying Y-chromosome haplogroups in arbitrarily large samples of sequenced or genotyped men

Jostins, L. 2014. YFitter: Maximum likelihood assignment of Y chromosome haplogroups from low-coverage sequence data

Ralf, A. 2018. Yleaf: Software for Human Y-Chromosomal Haplogroup Inference from Next-Generation Sequencing Data