8000 GitHub - Yyx2626/igv: Integrative Genomics Viewer. Fast, efficient, scalable visualization tool for genomics data and annotations · GitHub
[go: up one dir, main page]

Skip to content
Yyx2626Public
forked from igvteam/igv

About

Integrative Genomics Viewer. Fast, efficient, scalable visualization tool for genomics data and annotations

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

Customized IGV

A customized Integrative Genomics Viewer desktop application for signal-track analysis, read-motif analysis, and publication-quality figure preparation on Mac, Windows, and Linux.

About this fork

This repository was forked from igvteam/igv on August 9, 2026, after customization work began from a clone of the upstream repository on August 5, 2026. The customized source is maintained on this repository's main branch; Git history records the exact upstream and local revisions.

Downloads

Download the compiled customized IGV builds from the Yyx2626/igv Releases page.

This is the permanent download location for this customized fork. Individual versioned installers and archives will appear there as releases are published. For the original, unmodified IGV project, visit igvteam/igv.

Major customizations

  • Average with error bars: combine selected tracks into a synthetic mean track with SEM, SD, or no error bars; optionally overlay individual repeats as scatter points; configure missing-value handling, windowing, rendering, error-bar and scatter-point appearance; and restore the original tracks.
  • Track pairing and track groups: pair top and bottom tracks for coordinated range editing, independent autoscaling, and paired Y-axis flips. Pair borders can be assigned their own height and color from either member's context menu and remain between the pair after a flip. Organize and recall numbered track groups 1-9 with shortcuts or group-tab controls.
  • Invert genomic coordinates: reverse the horizontal genomic axis while keeping text and Y-axis labels upright; feature geometry, sequence direction, screenshots, TSV output, and JSON sessions follow the inverted view.
  • Regional settings: attach display-only rules to regions of interest to highlight or cover a region, collapse/delete it from the display, invert its coordinates globally or for selected tracks, flip regional Y axes or paired tracks, assign regional data ranges and positive/negative/background/ foreground colors, and support nested transformations.
  • Customizable appearance: users can control the colors and heights of tracks, data-range mid-lines, and borders (dividers), globally or per track, to prepare consistent publication-quality figures. To avoid a visually prominent border (divider) between adjacent tracks, users can set its color to match the track background or set its height to 0 so adjacent tracks are displayed without an intervening border.
  • Publication screenshot and data export: export PNG, SVG, or PDF figures, with checkboxes that let users include or exclude the genomic coordinates at the top and the track names on the left. The underlying data of each exported track can also be exported to a matching binned TSV file. Average tracks include every member track's original data together with N/average/SD/SEM. Users can enable Only export selected tracks to export only the currently selected tracks in both the screenshot and its TSV data. Users can set the number of equal genomic bins used for numeric display and TSV export in Preferences > General (1500 by default) to control data resolution. They can also set the viewport dimensions with View > Set IGV Window Size to reproduce figure layout. The same workflow is B29D available as Save Screenshot... from track context menus, replacing the separate PNG/SVG commands.
  • Undo and redo: recover the 20 most recent edits, including adding or deleting tracks/regions, changing track/border/regional settings, and creating or restoring Average/Overlay tracks. Session or genome changes start a fresh history.
  • Highlight and summarize motifs in reads: configure an ordered, reusable table of motif rules and highlight matching read bases with separate positive/negative colors. Rules support multiple motifs with IUPAC codes or bracketed base alternatives such as [ACG], minimum total and consecutive matches, required positions, substitutions/indels, entire-read/aligned/soft- clip scopes, and read- or reference-relative orientation. The table supports live preview, enable/disable, copy/paste, reordering, undo/redo, and JSON-session persistence. For a selected region, summarize intersecting reads, average depth, reads without stored sequence, and per-rule read/match counts split by the configured scope, orientation, positive/negative direction, and highlight color.

Illustrated major feature overview

Customized IGV major feature overview

Download the one-page PDF overview.

Minor fixes and debugging

  • Restored drag reordering of multiple selected tracks as one ordered block, including non-contiguous selections and Undo/Redo. Tracks can now be dragged directly from their name area; Preferences > Tracks can also show the standard narrow drag-handle column when preferred. The two modes are exclusive: track names initiate dragging while handles are hidden, and only handles initiate it while they are visible, preventing accidental name drags. Handles are hidden by default, while moving selected tracks together is enabled by default and can be disabled independently. A horizontal insertion guide shows the exact destination while dragging across tracks and borders.
  • Improved long track-name display without changing the underlying names. Names use every line allowed by the full track height, keep a stable layout while the viewport scrolls and merely clip when partly off-screen, emphasize differing fields across related names while retaining prefix/suffix context, and wrap preferentially at field separators. The comparison is cached until the loaded/displayed name set changes, exact duplicate names are excluded from the background comparison, and hovering a truncated name shows the full name and source path.
  • Added editable Average-track names to Average With Error Bar. Independent Top and Bottom name fields appear for paired inputs; suggested names compact the selected names by shared and differing fields, preserve ., _, and space-separated structures, handle unequal field counts, and ignore exact duplicate names in the unselected background.
  • Fixed whole-chromosome navigation starting at -999 with Show soft-clipped bases enabled when the data viewport had an odd pixel width. Genome-center and location-centering calculations now use the same floating-point midpoint.
  • Expanded Summary in Region to numeric, BAM coverage, and feature tracks, with clicked/selected/all-track scopes from track menus and selected/all-track scopes from the region bar. Signal statistics report both ordinary sum/mean across raw values and overlap-bp-weighted sum/mean. When non-BAM signal data actually contain uncovered/NA bp, a per-summary dialog can exclude them as NA (the default), treat them as zero, or assign a custom value; BAM coverage always treats uncovered positions as depth zero and does not prompt by itself. Feature summaries include clipped block lengths, union coverage, and strand splits. Supported BED/GTF/GFF/bigBed-family tracks can also switch reversibly between feature-track and score-based signal-track rendering, including standard graph-type controls and an optional default score for otherwise unscored blocks. Feature labels can use the parsed name, an editable one-based source-column index with sampled value examples, or a feature attribute; rows without the selected source value remain unlabeled. Signal-mode feature tracks support min/mean/max/none using the same configured display-bin count as other signal tracks. Region context menus defer resolving selected/all Summary scopes until a scope is clicked, reuse one track snapshot for conditional actions, and complete layout before showing the popup.
  • Expanded Find Motif on the reference genome from one deterministic sequence to multiple Basic/Advanced rules supporting IUPAC codes, bracketed base alternatives such as [ACG], nucleotide regular expressions, match/edit constraints, selectable strand scope, and separate strand colors. Motif-named result tracks now load immediately and retain the applicable standard track controls.
  • Added live-configurable soft-clip background color beside Show soft-clipped bases while preserving the normal read border and limiting the color change to clipped bases.
  • Made motif searches responsive under expensive edit-distance rules. Read highlights are matched in cancellable background generations, incomplete live edits keep the last valid preview, and dense results are reduced to screen-pixel runs before painting. Read or reference searches that remain active for 10 seconds let the user continue waiting or interrupt the work; interruption restores the original read rules or removes the tracks from the current Find Motif request. After mapping candidates to genomic intervals, reference searches retain the outer/longest candidate when one fully contains another, collapse exact duplicates, and preserve partial overlaps where neither interval contains the other. Read highlighting and motif-region summaries share that candidate selection, so displayed highlights and summary match counts agree. Zoomed-out queries are safely clipped to chromosome bounds.
  • Added an offline genome cache for remote-backed genomes. IGV can download the required genome resources into the user's IGV directory, validate cached resources by server hashes/validators, prompt once per genome per run when an update is detected, and continue loading while offline. Advanced preferences provide an update-check interval plus manual check and clear actions; optional remote track hubs are excluded because their total data can be very large.
  • Restored the separate Proxy preferences tab and grouped offline genome-cache, timeout, Tooltip, and IGV-directory controls under Advanced with consistent alignment and clearer timeout guidance.
  • Added a configurable minimum N required before Average tracks draw SD/SEM.
  • Made Save Screenshot remember the last accepted output path and options during the current IGV run. PNG raster resolution can be selected from 1x through 8x and defaults to 2x.
  • Added a fractional Bar overlap to hide pixel gaps setting under Preferences > Tracks (1.0 px by default). Numeric bars retain subpixel bin geometry, and Average scatter points remain centered and inset within the corresponding painted bars even when bins are narrower than one pixel.
  • Prefixed each TSV data column with its exported track's display order (track_N.) to keep column identities unambiguous.
  • Made fixed-bin Mean/Maximum/Minimum values use the exact raw interval. bigWig pyramid summaries remain available only where their native record boundaries do not make the requested final bin ambiguous.
  • Made Average-track autoscaling follow the error bar that is actually drawn: T-style bars expand only outward, while I-style bars stop at the mid-line on their inward side. Numerically stable mean/SD/SEM calculations also prevent floating-point tails from turning a theoretical zero into a tiny opposite- signed Data Range value.
  • Added Auto apply arrows between Top and Bottom in the paired Data Range dialog. They copy a flipped scale using either (max, mid, min) or (-max, -mid, -min) according to the displayed ranges; when only one side of pairs is selected, the absent side and Auto apply controls remain blank and disabled.
  • Made None windowing show the true envelope rather than a smoothed average: each bin shows the actual maximum above baseline and/or minimum below it, including separate positive and negative sides when both exist. Average tracks and TSV export use the same semantics.
  • Made About IGV and terminal startup identify the exact customized build with version, commit, src/main/ SHA-256, build time, and running-JAR SHA-256.
  • Fixed duplicate loading of files dropped from macOS Finder and made divider drag-and-drop use the live panel position instead of stale cached state.
  • Fixed negative-only autoscaling, preserved autoscaling when flipping Y axes, corrected mixed multi-track Autoscale menu state, and fixed Y-axis and mid-line clipping, viewport and track background gaps, and error bars being clipped by autoscaling. Y-axis endpoints now use consistent compact number formatting, and flipped tracks retain the true Data Range midpoint in the editor.
  • Fixed selection behavior for Shift-click, right-click, checkboxes, and mixed multi-track context menus.
  • Fixed JSON session restoration for local merged/average tracks, pair-group columns, group tabs, track order, restored data ranges, and stale pair links.
  • Improved the overlay workflow with consistent checked/unchecked context menus, adjustable and session-persistent transparency, reversible separation, and controls limited to settings that affect merged rendering.
  • Fixed missing-value statistics, pixel alignment, and SVG mid-line clipping in average/error-bar rendering, and kept paired top/bottom averages adjacent at the original selected-track position.
  • Restored ordered genome initialization: IGV commits the selected genome first, then loads its sequence and default RefSeq annotation before continuing with session or data-file startup. Fixed genome-switch races, added a stoppable loading dialog that stays visible through RefSeq loading, cached remote RefSeq annotations for later offline use, and kept interactively loaded tracks in file-load order without moving RefSeq.
  • Fixed offline startup errors that could block the main window from opening by removing hosted-genome, OAuth, and track-hub network discovery from window construction; local FASTA loading now stays offline, startup windows restore to a usable on-screen size, and Stop is treated as normal cancellation.
  • Added portable macOS and Windows launchers that select bundled JDK 21 by operating system and CPU architecture, and fixed the igvtools classpath launchers.
  • Made HTTP connect/read timeouts configurable to avoid multi-minute stalls when a remote annotation host is unavailable.
  • Fixed an Average-With-Error-Bar error bar visibly overshooting the gray midline in SVG/PDF export, and a SINGLE ("T"-shape) cap drawn at the wrong end for a below-baseline mean.
  • Restored the UCSC backup-host's 1-hour "sticky" cache after a connection failure.
  • Removed the unreleased Absolute Maximum window function from its enum, menus, preprocessing tools, and session-facing paths. Its signed-extreme calculation remains internal for possible future reuse.
  • Fixed Preferences > Tracks height changes not affecting already loaded tracks, Undo Add Region failing after the mouse left the ROI bar, and paired border overrides moving below the pair after Flip Y-Axis.

The individual commits contain the implementation rationale and detailed bug causes. This branch is a customized IGV build and is not an official igvteam/igv release.

See CHANGELOG.md for a day-by-day record of customization and debugging work.

Building

These instructions are meant for developers interested in working on the IGV code. For pre-built packages of this customized version, use the Releases link above.

Builds are executed from the IGV project directory. Files will be created in the 'build' subdirectory.

IGV requires Java 21 to build and run. Later versions of Java should work but we build and test on Java 21.

NOTE: If on a Windows platform use ./gradlew.bat in the instructions below

Folder structure and build targets

The IGV bundles ship with embedded JREs from AdoptOpenJDK.

  • Install Gradle for your platform. See https://gradle.org/ for details.

  • Use ./gradlew createDist to build a distribution directory (found in build/IGV-dist) containing the igv.jar and its required runtime third-party dependencies as well as helper scripts for launching.

    • Launch IGV with igv.sh or igv_hidpi.sh on Linux, igv.command on Mac, and igv.bat on Windows.

    • To run igvtools from the command line use the script igvtools on Linux and Mac, or igvtools.bat on Windows. See the instructions in igvtools_readme.txt in that directory.

    • The launcher scripts expect this folder structure in order to run IGV.

  • Use ./gradlew test to run the test suite. See 'src/test/README.txt' for more information about running the tests.

  • See this README for tips about using the IGV launcher scripts.

  • This dashboard describes project structure and dependencies.

Note that Gradle creates a number of other subdirectories in 'build'. These can be safely ignored.

Amazon Web Services support

Public data files hosted in Amazon S3 buckets can be loaded into IGV using https endpoints.

Authenticated access using s3:// urls is supported by either (1) enabling OAuth access with Cognito using the UMCCR contributed AWS configuration option, or (2) setting AWS credentials and region information as described here and here.

For more details on using Cognito for OAuth access, see the UMCCR documentation on the backend and frontend for a provisioning URL step by step guide.

About

Integrative Genomics Viewer. Fast, efficient, scalable visualization tool for genomics data and annotations

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0