A Python 3.6 library for plotting mutational spectra.
Analysis and plotting library for base substitution spectra and signatures.
❯ pip install nucleic
- 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'])