Skip to main content

VariantMap - Interactive heatmap for multi-sample structural variant analysis

Build Status PyPI pyversions PyPI versions Conda Github release PyPI license

variantmap-demo-image

VariantMap is a genomic structural variant (SV) visualization technique that displays variants across multiple samples in an interactive heatmap. It is a browser-based app implemented through Dash by Plotly. Each row of the heatmap represents an input sample and each column represents an SV breakend found in the sample cohort. The colors indicate the class of an SV present in a sample. More details of each variant can be displayed by simply hovering over them . The heatmap can be customized to suit your analysis by changing various components in the "Customize" tab.

VariantMap requires a dataframe object (HDF5 file) that can be generated by VariantBreak which in turn requires VCF files generated by NanoVar which calls SVs using third -generation long-read sequencing data. Future upgrades will enable VariantBreak to use VCF files produced by other tools.

Basic capabilities

  • Visualize the prevalence of variants and their classes across sample cohort
  • User-friendly interface to analyze and customize your data without the use of programming language
  • Obtain the variant size, score, read coverage, and genotype by simply hovering over them
  • Easy filtering of variants by gene name, gene type, gene feature, repetitive elements, or other annotations, depending on input annotation files
  • Capture snapshots of heatmap by just one click
  • Convenient uploading of datasets directly from the app interface

Getting Started

Launch the app and upload your HDF5 (.h5) dataset

# This Python script is installed in your PATH, execute it from anywhere
variantmap_app.py 

Operating system:

  • Linux (x86_64 architecture, tested in Ubuntu 16.04)

Installation:

There are three ways to install VariantMap:

Option 1: Conda

# Installing from bioconda
conda install -c bioconda variantmap

Option 2: Pip

# Installing from PyPI
pip install variantmap

Option 3: GitHub

# Installing from GitHub
git clone https://github.com/cytham/variantmap.git 
cd variantmap
pip install .

Installation of dependencies

These should be automatically installed, or else, you have to install them manually:

  • pandas >=1.1.4
  • dash >=1.17.0
  • tables >=3.6.1
1. pandas
pip install pandas

or Please visit here for instructions to install.

2. dash
pip install dash

or Please visit here for instructions to install.

3. tables
pip install tables

or

conda install -c conda-forge pytables

Documentation

See wiki for more information.

Versioning

See CHANGELOG

Citation

Not available

Author

License

VariantMap is licensed under GNU General Public License - see LICENSE.txt for details.

Limitations

  • VariantMap is only compatible with HDF5 datasets produced by VariantBreak

  • VariantMap may not be able to handle large HDF5 files (>32M) in Google Chrome. Do try with Mozilla Firefox for these larger files.

Metadata

Release files for variantmap 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for variantmap 1.0.2
File Size Uploaded Provenance
variantmap-1.0.2.tar.gz 4.0 MB Without provenance Details

Release files / variantmap-1.0.2.tar.gz

Download URL variantmap-1.0.2.tar.gz
Size 4.0 MB
Tags Source
SHA-256 checksum
How to use checksums
28eec3a159befb35a11003c9dfd6cbe48ba67516202ac8a0246f932998c7f686
BLAKE2b-256 checksum
How to use checksums
1397f717ce1b9b609ff3d8a254d1c86c82904398b5c5d0f91d637506ed7790a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.5.2

Security for variantmap 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page