Skip to content

A Python library to determine Y DNA haplogroups from SNP data

License

Notifications You must be signed in to change notification settings

DavidMStraub/yclade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yclade

A Python library to find the position on the human Y chromosome tree given a set of single nucleotide polymorphisms (SNPs).

Installation

pip install yclade

Usage

import yclade

snp_string = "M215+, BY61636-, FTF15749-, TY15744-"
yclade.find_clade(snp_string)

Command-line usage

python -m yclade "M215+, BY61636-, FTF15749-, TY15744-"

You can also use a file with the SNPs:

python -m yclade -f snps.txt

Credits

The Y tree data is from YFull and is shared under the Creative Commons Attribution 4.0 International Public License.

The code has been tested on SNP data obtained from YSEQ test results.

Inspiration has also been drawn from clade-finder.

About

A Python library to determine Y DNA haplogroups from SNP data

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages