https://github.com/broadinstitute/cnv-mag

A Tool to Visualize CNV Events in WGS Data

https://github.com/broadinstitute/cnv-mag

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A Tool to Visualize CNV Events in WGS Data

Basic Info
  • Host: GitHub
  • Owner: broadinstitute
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 1.54 MB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 4
Created over 1 year ago · Last pushed 10 months ago
Metadata Files
Readme License

README.md

CNV-Mag

A tool to visualize CNV Events in WGS Data. CNV-Mag is taking use of BAM and short variant VCF files to visualize CNV events in WGS data in simple and direct way. It can help you to verify if a CNV event is real or not. This tool is part of the Broad Clinical Labs’s CNV reporting workflow.

Background

Verifying whether a CNV event is real or not is a challenging task. A common approach involves loading aligned BAM files and VCFs into IGV to inspect read depth, soft clips, and SNP Allele Fraction (AF). However, visualizing read depth in IGV can be difficult, especially when breakpoints are not precisely defined. While checking SNP AF is a valuable method for confirming CNV events, it becomes impractical for multi-megabase events, as only a few SNPs can be examined. Relying on a limited number of SNP pileups often misses critical AF patterns, leading to incomplete evidence. The challenge intensifies when the CNV event occurs in a repetitive region. CNV-Mag is designed to address these issues by providing a simple and direct way to visualize CNV events. It displays both read depth and SNP AF for the CNV region in a single, comprehensive figure, enhancing the clarity and accuracy of your analysis. The soft-clip information is not included in the current version of CNV-Mag. I am working on it and will release it in the future.

Workflow

CNV-Mag is a simple and direct tool to visualize CNV events in WGS data. It is taking use of BAM and short variant VCF files to visualize CNV events in WGS data. The workflow is shown below: Input: - BAM file and BAM index file - Aligned BAM file of your sample - HG001 BAM file preferred using the same pipeline as above - HG002 BAM file preferred using the same pipeline as above - Short variant VCF file - Short variant VCF file of your sample - HG001 VCF file preferred using the same pipeline as above - HG002 VCF file preferred using the same pipeline as above - CNV region (Bed or a list of Strings) - Can be a single CNV region or multiple CNV regions - Reference genome (hg19 or hg38)

image There are two main workflows in CNV-Mag: - Mag-SNP - Visualize all the PASS SNP AF of the CNV region. image - Mag-Depth - Visualize the read depth of the CNV region. image

Running CNV-Mag on Terra

You can run CNV-Mag on Terra. The workflow is available at https://dockstore.org/workflows/github.com/broadinstitute/CNV-Mag/CNV-Mag:dev?tab=info. You can deploy the workflow to your workspace and run it on Terra.

Runtime specification

CNV-Mag is part of Broad Clinical Lab CNV reporting workflow. The run cost is less than $2 per run.

Owner

  • Name: Broad Institute
  • Login: broadinstitute
  • Kind: organization
  • Location: Cambridge, MA

Broad Institute of MIT and Harvard

GitHub Events

Total
  • Release event: 3
  • Watch event: 3
  • Push event: 16
  • Public event: 1
  • Pull request event: 5
  • Create event: 3
Last Year
  • Release event: 3
  • Watch event: 3
  • Push event: 16
  • Public event: 1
  • Pull request event: 5
  • Create event: 3

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 15
  • Total Committers: 1
  • Avg Commits per committer: 15.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 15
  • Committers: 1
  • Avg Commits per committer: 15.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Yueyao Gao g****a@b****g 15
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 4
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 days
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 4
  • Average time to close issues: N/A
  • Average time to close pull requests: 2 days
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • yueyaog (4)
Top Labels
Issue Labels
Pull Request Labels