Skip to main content

This is a library to validate and compare dna sequences

Project description

DVQ - DNA Visualisations and Quick comparisons

Abstract We introduce DVQ (DNA Visualisations and Quick comparisons), an open-source Python library for exploring nucleotide sequences using a variety of methods. Understanding DNA sequences intuitively is important for a variety of tasks in biology. DVQ aims to be a one-stop comprehensive library that makes explainable DNA easy for geneticists, researchers, and practitioners who need explanations. For practitioners, the library provides an easy-to-use interface to generate visualisations for their sequences by only writing a few lines of code. In this report, we demonstrate several example use cases across different types of sequences as well as visualisations.

Simple early version preprint: http://dx.doi.org/10.13140/RG.2.2.19227.89125

Methods Implemented:

Visual

Statistical

  • Deng entropy
  • KL Divergence plain, computes distros of chunks similar to deng entropy.
  • KL Divergence KL div like measure using deng entropy.
  • KL Divergence
  • Perpelxity
  • Entropy
  • K-Mer overlap
  • fast K-Mer overlap, (current implementation is too slow or stuck)
  • Wen's Method
  • JS Divergence
  • Wasserstein Distance

Overview:

  • How to use dvq
from dvq import visual

visual.plot_2d_comparison([seqs_1, seqs_2], ['seq_1', 'seq_2'])

An example graphic comparing dna sequences for the same virus

from dvq import statistical

statistical.similarity_wen([seqs_1, seqs_2])
# 0.99

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

dvq-0.0.4.8.1.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dvq-0.0.4.8.1-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file dvq-0.0.4.8.1.tar.gz.

File metadata

  • Download URL: dvq-0.0.4.8.1.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.11

File hashes

Hashes for dvq-0.0.4.8.1.tar.gz
Algorithm Hash digest
SHA256 aba0d8066cf348cd4f2e04ce27c6d1e87e7de3f18dae27a86a0b1ec61c723cc9
MD5 c62514746e26fe5fb45e9239678de3c5
BLAKE2b-256 3055bb4ae954f68f32d15441daae67c8b4184b23022b95df3744dc96f95cbf08

See more details on using hashes here.

File details

Details for the file dvq-0.0.4.8.1-py3-none-any.whl.

File metadata

  • Download URL: dvq-0.0.4.8.1-py3-none-any.whl
  • Upload date:
  • Size: 13.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.11

File hashes

Hashes for dvq-0.0.4.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 608ccc6558e6dbe5a56673eafc0ff6a4870423d12942fb7ab271f8405a0819d2
MD5 917a57b46dbcc5fd1fd1ff868c95138c
BLAKE2b-256 c2e8cd70a5f2fa5e729c57c8c870cc5bbece4303caca6af8ecc26be1a7d7c8bc

See more details on using hashes here.

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