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.4.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.4.0-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yclade-0.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 21af556f101372ae36ba95fb8671c79f74b3d98af66580c5a7dc3cda86f927a1
MD5 2ea3685b85644fd4e0567e0b68a59f96
BLAKE2b-256 9f8b7da121c8067c271d251727e73e2e547761d0e9d79b089b64586aed3b09b1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: yclade-0.4.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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42e2e6db30c74e9da203120ded38e72c6322fbc369658b6ae24856a72f6654a8
MD5 42d3fe7571933a9371510ac7e4402b5d
BLAKE2b-256 04e42921e0da937c78c1b011d14a1eff404265497d1be72e985c6f06d792cd42

See more details on using hashes here.

Provenance

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