Skip to main content

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

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yclade-0.5.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yclade-0.5.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file yclade-0.5.0.tar.gz.

File metadata

  • Download URL: yclade-0.5.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yclade-0.5.0.tar.gz
Algorithm Hash digest
SHA256 64b3a86b95703b7410a7471e8c1f1547e99f6dcf012bd7fdbb3fca57c52c7323
MD5 8cd1a38c566f1c645ad469a7ddd532a5
BLAKE2b-256 47b01d1a00dfcd213b481de23101db16f328da37b89026498ba1523e9e96abbf

See more details on using hashes here.

Provenance

The following attestation bundles were made for yclade-0.5.0.tar.gz:

Publisher: pypi_deploy.yml on DavidMStraub/yclade

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yclade-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: yclade-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yclade-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7169734d639a248271c3fae87db52f4bb5972fc1c74d3677eb8e4e90ac625dd4
MD5 d12959d172916df135d3663f04be94a3
BLAKE2b-256 72b2c10a5454a5bb790b5cc59cd910c6064b4377972fd3b500632ca75ae84099

See more details on using hashes here.

Provenance

The following attestation bundles were made for yclade-0.5.0-py3-none-any.whl:

Publisher: pypi_deploy.yml on DavidMStraub/yclade

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page