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.0.tar.gz (8.6 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.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yclade-0.3.0.tar.gz
  • Upload date:
  • Size: 8.6 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.0.tar.gz
Algorithm Hash digest
SHA256 208bfc2b90b72d66e9495c359843fc3b5261b1587bac75adca2405127a55af39
MD5 8d7d82838bfaa994d380925f457558fd
BLAKE2b-256 b84b985b08f18df1ddd54a47908f6cbac33728f8e04c930e800750e4963ea493

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: yclade-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 244aeba1ac1ac3152f92cc98379697e6cbfe6c11843b50cfb49fa816e5c16894
MD5 8a0c9aaa92b678e6a7f7067bdf3bea87
BLAKE2b-256 1ad8a8170a458d38f0b4e0dd754adb1af436ab8548e58a43a08266c1e877b064

See more details on using hashes here.

Provenance

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