Skip to main content

A Python 3.6 library for plotting mutational spectra.

Project description

nucleic

Testing Status codecov Documentation Build Status PyPi Release Python Versions MyPy Checked Code style: black

Analysis and plotting library for base substitution spectra and signatures.

 pip install nucleic

Features:

  • Model DNA and variant alleles within their local context using an elegant API
  • Combine single nucleotide variants into spectrums of mutagenesis
  • Fetch COSMIC signatures of mutation as well as other published signatures
  • SVG plotting functions for displaying single nucleotide variant spectrums

Read the documentation at: nucleic.readthedocs.io

from nucleic import fetch_cosmic_signatures
from nucleic.figures import plot_stratton_spectrum

signatures = fetch_cosmic_signatures()
canvas, (ax1, ax2) = plot_stratton_spectrum(signatures['Signature 24'])

signature-24

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

nucleic-0.6.3.tar.gz (15.8 kB view details)

Uploaded Source

File details

Details for the file nucleic-0.6.3.tar.gz.

File metadata

  • Download URL: nucleic-0.6.3.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

File hashes

Hashes for nucleic-0.6.3.tar.gz
Algorithm Hash digest
SHA256 16f8d53842cb8de586d67297800c08db6eb114b589c07ffb662692e18a6af8e6
MD5 9b59137c0f45e594194c680ec1ba9407
BLAKE2b-256 811412bf7f6cd4136f4483806112adaa5a902e2a601964bb2689c33f332ecba9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page