Skip to main content

A Tandem Repeats visualization tool for Decomposition of Motifs and Methylation across alleles.

Project description

VisuaMiTRA - a Tandem Repeat Visualizer

Workflow

VisuaMiTRa

VisuaMiTRa (pronounced vi-shu-uh-mee-truh, IPA: /vɪʃuəmiːtrə/, Sanskrit: विश्वमित्र) is a specialized visualization tool for tandem repeat alleles, designed for a concise overview of motif decomposition, and corresponding epigenetic methylation signals. The name expands to VISUAlisation of Motifs & Methylation in Tandem Repeat Alleles.

The name is derived from the Sanskrit word Vishvamitra (विश्वमित्र), meaning "Friend of the Universe." In this context, VisuaMiTRa acts as a companion to the researcher, providing a clear comprehensive overview of tandem repeat complexity. By layering structural motifs and methylation data into a single, intuitive interface, it transforms dense genomic files into an accessible and navigable landscape.

Motivation

The high-resolution genotypes and methylation profiles generated by ATaRVa require an integrated perspective to be clearly interpreted. VisuaMiTRa is the essential next step, transforming VCF data outputs into an interactive landscape where structural motifs and epigenetic methylation signals align. Providing this overview enables researchers to rapidly validate and navigate ATaRVa's results at scale.

Table of Contents

Installation

VisuaMiTRa is available as a Python package that manages both the backend server and the compiled frontend automatically.

Prerequisites: Python 3.9+ and htslib (for Tabix functionality).

Create and activate a python environment (recommended)

source venv/bin/activate  # On Windows use: venv\Scripts\activate

Install the package

pip install visuamitra

Usage

Once installed, you can launch the visualization suite with a single command:

visuamitra

Access: The application will automatically initialize and host the interface on port 8088. Open your web browser and navigate to http://localhost:8088.

Workflow

Workflow

Fig 1: Workflow of visuamitra

VisuaMiTRa uses a high-performance backend designed for rapid random access and minimal memory overhead.

Data Ingestion: Users provide a Tabix-indexed VCF file and its .tbi index (generated by ATaRVa).

Validation: FastAPI performs a preflight check using pysam to ensure the requested genomic region exists, preventing empty streams and invalid coordinate errors.

Pagination: To handle large data, the tool uses Base64-encoded cursors which allows to 'bookmark' positions and fetch subsequent pages without re-scanning entire files.

Optimized Streaming: Data is streamed in small chunks and delivered in real-time to ensure the tool remains fast and lightweight, even with very large files.

Reactive Visualization: React parses the TSV stream into an interactive SVG canvas, mapping structural motifs and methylation probabilities in real-time.

Workflow

Fig 2: Overview of visuamitra

✨ Features

VisuaMiTRa provides a comprehensive and intuitive overview of tandem repeat complexity.

🧬 Integrated Motif & Methylation Mapping

  • Observe the direct relationship between structural variation and epigenetic signals. Methylation tracks are layered precisely over motif decomposition blocks to show allele-specific patterns.

📍 Effortless Navigation

  • Target specific loci using coordinate inputs (Chr, Start, End) or manually browse thousands of records smoothly and an interactive with a track of physical context in Chromosome.
Workflow

Fig 3: Location inputs

Workflow

Fig 4: Chromosome context

📏 Interactive Interface

  • Magnify in or out of intricate regions to ease data interpretation.

  • Hover over motif segments or bars to instantly view repeat counts and allele base-pair lengths. Methylation levels as well.

  • Customize view with professional color palettes & scales(Viridis, Magma, Set3), and fonts.

Workflow

Fig 5: Repeat counts & Allele length

Methylation bars
Fig 6: Methylation bars
View settings
Fig 7: View settings

↑ Back to Top

Contacts

Authors: Siddharth K, Abishek Kumar, Divya Tej Sowpati

Email: Siddharth K - siddharthk at csirccmb dot org

Abishek Kumar S - abishekks at csirccmb dot org

Divya Tej Sowpati - tej at csirccmb dot org

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

visuamitra-1.0.0.tar.gz (3.0 MB view details)

Uploaded Source

Built Distribution

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

visuamitra-1.0.0-py3-none-any.whl (3.1 MB view details)

Uploaded Python 3

File details

Details for the file visuamitra-1.0.0.tar.gz.

File metadata

  • Download URL: visuamitra-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for visuamitra-1.0.0.tar.gz
Algorithm Hash digest
SHA256 59ba30ab1e2486b3fda073eef5d10f2d0f14a0f5d3e606e28ac97f59c5456ae3
MD5 257ae608f789fed8b2ed8c0f62c4654a
BLAKE2b-256 99e76bbcd5a45b50b80662dbe81a815067df477a3a75167247c25344ca9a6cfa

See more details on using hashes here.

File details

Details for the file visuamitra-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: visuamitra-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for visuamitra-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89ea7f6f977a50e1d4e7ee9335354c8ebc9df508ffcddb3c1b774a0a6f0e82c0
MD5 73bf3e6433ee04c5554e4df884b8bac9
BLAKE2b-256 623153465783928b9a3cd8a0ea9cfd45d0a7eeab189cb644d6c1a84ca7799cb3

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