dnd
dnds
pypi i dnds
dnd

dnds

Calculate dN/dS ratio precisely (Ka/Ks) using a codon-by-codon counting method.

by Adel Qalieh

2.1 (see all)License:MIT
pypi i dnds
Readme

dN/dS Calculator

.. image:: https://travis-ci.org/adelq/dnds.svg?branch=master :target: https://travis-ci.org/adelq/dnds

.. image:: https://img.shields.io/pypi/v/dnds.svg?maxAge=2592000?style=plastic :target: https://pypi.python.org/pypi/dnds

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

.. code:: python

>>> 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

GitHub Stars

14

LAST COMMIT

4yrs ago

MAINTAINERS

1

CONTRIBUTORS

4

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
2.1
4yrs ago
2.0
5yrs ago
1.0.1
6yrs ago
1.0
6yrs ago
No alternatives found
No tutorials found
Add a tutorial