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.3.3.tar.gz (9.2 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.3.3-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for yclade-0.3.3.tar.gz
Algorithm Hash digest
SHA256 3794fe19d846f3197ce7a36c808f723a0ad795d8471b3962c960d2014ac4c458
MD5 77b8656dab4ec9fc43d12f37189526b2
BLAKE2b-256 865ded9360e76607b68f09f21b787082fc67b16a6665f17fd5078f35de81d270

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for yclade-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3dae2b01c01da1a8c2ba4c90aa10055a1ccedb1ea6504a458098a7c6217790c7
MD5 d0287d77f354681e7c73dc466ecfa81f
BLAKE2b-256 7e6b1cbb451fb7d0333c10b42b2d05ae4aca6753607fea7b9230c9db0cb4aa76

See more details on using hashes here.

Provenance

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