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.

Filename, size & hash SHA256 hash help File type Python version Upload date
nucleic-0.6.3.tar.gz (15.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page