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.6.0.tar.gz (9.7 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.6.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yclade-0.6.0.tar.gz
Algorithm Hash digest
SHA256 1084fbff092e217ab4a69d35db6e1ea759343c732ca4f66419668463e8c8fd16
MD5 131252c9bb6424930a00993072a823a4
BLAKE2b-256 b710a1d9b66c0a1e722cd8b4335ba9d548786fe0417a8f4116f2f978cf4d480d

See more details on using hashes here.

Provenance

The following attestation bundles were made for yclade-0.6.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.6.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for yclade-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 268aafe90929debc17453a24566712686c230ba96d34239786c8fd48b8ba3b2f
MD5 3664b0d3781183e255ce91c5b513c763
BLAKE2b-256 e95935e1565767cf378ebb1dd0dfce192ce4330ce1a41c54beeae5bc4061e0a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for yclade-0.6.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