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.1.tar.gz (9.0 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.1-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yclade-0.3.1.tar.gz
  • Upload date:
  • Size: 9.0 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.1.tar.gz
Algorithm Hash digest
SHA256 496bb4faf0749f61739ef56ea03c28c202eb4e25b504fbed0a6f9444e7b3d15e
MD5 d56f9a033a083a18b76e22ded57f9b9b
BLAKE2b-256 a20c00cbc0566b91ba7d12f0eda7215e2816cb096588f4de5580b01aaebd0ce6

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: yclade-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 10.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c4484bd9ae65b04fa6c499fbe7cb5aeb31a0280a31ffc6a0887fcda7966a61d9
MD5 d0bf08ae9335e4ecb0f4a18f2b86435c
BLAKE2b-256 2f87bfd19dd7b9b23ecfc6a2d349c7e26b490748eed28b9140f86e8551b50ac7

See more details on using hashes here.

Provenance

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