Skip to main content

dN/dS Calculator

https://travis-ci.org/adelq/dnds.svg?branch=master https://img.shields.io/pypi/v/dnds.svg?maxAge=2592000?style=plastic

Calculate dN/dS ratio precisely (Ka/Ks) using a codon-by-codon counting method. Also calculates the pN/pS ratio precisely (previously referred to as dN/dS).

Usage

>>> sequence_1 = "ATGCTTTTGAAATCG"
>>> sequence_2 = "ATGCGTTCGAAGTCG"
>>> pnps(sequence_1, sequence2)
Fraction(38, 71)
>>> round(float(pnps(sequence_1, sequence2)), 3)
0.535
>>> round(dnds(sequence_1, sequence_2), 3)
0.467

Metadata

Release files for dnds 2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for dnds 2.1
File Interpreter ABI Platform Actions
dnds-2.1-py2.py3-none-any.whl Python 3, Python 2 none any Details for dnds-2.1-py2.py3-none-any.whl

Release files / dnds-2.1-py2.py3-none-any.whl

Download URL dnds-2.1-py2.py3-none-any.whl
Size 3.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
31b24e1715d2f2ab05499772cb98c9e93af34c0744cd8c4d3836d264ac3a3617
BLAKE2b-256 checksum
How to use checksums
b5c8c538ab1fd1629b4f0692071d0a175cb191cffbc6a7c5c6636b604de80003
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for dnds 2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page