DNAnexus Documentation
APIDownloadsIndex of dx CommandsLegal
  • Overview
  • Getting Started
    • DNAnexus Essentials
    • Key Concepts
      • Projects
      • Organizations
      • Apps and Workflows
    • User Interface Quickstart
    • Command Line Quickstart
    • Developer Quickstart
    • Developer Tutorials
      • Bash
        • Bash Helpers
        • Distributed by Chr (sh)
        • Distributed by Region (sh)
        • SAMtools count
        • TensorBoard Example Web App
        • Git Dependency
        • Mkfifo and dx cat
        • Parallel by Region (sh)
        • Parallel xargs by Chr
        • Precompiled Binary
        • R Shiny Example Web App
      • Python
        • Dash Example Web App
        • Distributed by Region (py)
        • Parallel by Chr (py)
        • Parallel by Region (py)
        • Pysam
      • Web App(let) Tutorials
        • Dash Example Web App
        • TensorBoard Example Web App
      • Concurrent Computing Tutorials
        • Distributed
          • Distributed by Region (sh)
          • Distributed by Chr (sh)
          • Distributed by Region (py)
        • Parallel
          • Parallel by Chr (py)
          • Parallel by Region (py)
          • Parallel by Region (sh)
          • Parallel xargs by Chr
  • User
    • Login and Logout
    • Projects
      • Project Navigation
      • Path Resolution
    • Running Apps and Workflows
      • Running Apps and Applets
      • Running Workflows
      • Running Nextflow Pipelines
      • Running Batch Jobs
      • Monitoring Executions
      • Job Notifications
      • Job Lifecycle
      • Executions and Time Limits
      • Executions and Cost and Spending Limits
      • Smart Reuse (Job Reuse)
      • Apps and Workflows Glossary
      • Tools List
    • Cohort Browser
      • Chart Types
        • Row Chart
        • Histogram
        • Box Plot
        • List View
        • Grouped Box Plot
        • Stacked Row Chart
        • Scatter Plot
        • Kaplan-Meier Survival Curve
      • Locus Details Page
    • Using DXJupyterLab
      • DXJupyterLab Quickstart
      • Running DXJupyterLab
        • FreeSurfer in DXJupyterLab
      • Spark Cluster-Enabled DXJupyterLab
        • Exploring and Querying Datasets
      • Stata in DXJupyterLab
      • Running Older Versions of DXJupyterLab
      • DXJupyterLab Reference
    • Using Spark
      • Apollo Apps
      • Connect to Thrift
      • Example Applications
        • CSV Loader
        • SQL Runner
        • VCF Loader
      • VCF Preprocessing
    • Environment Variables
    • Objects
      • Describing Data Objects
      • Searching Data Objects
      • Visualizing Data
      • Filtering Objects and Jobs
      • Archiving Files
      • Relational Database Clusters
      • Symlinks
      • Uploading and Downloading Files
        • Small File Sets
          • dx upload
          • dx download
        • Batch
          • Upload Agent
          • Download Agent
    • Platform IDs
    • Organization Member Guide
    • Index of dx commands
  • Developer
    • Developing Portable Pipelines
      • dxCompiler
    • Cloud Workstation
    • Apps
      • Introduction to Building Apps
      • App Build Process
      • Advanced Applet Tutorial
      • Bash Apps
      • Python Apps
      • Spark Apps
        • Table Exporter
        • DX Spark Submit Utility
      • HTTPS Apps
        • Isolated Browsing for HTTPS Apps
      • Transitioning from Applets to Apps
      • Third Party and Community Apps
        • Community App Guidelines
        • Third Party App Style Guide
        • Third Party App Publishing Checklist
      • App Metadata
      • App Permissions
      • App Execution Environment
        • Connecting to Jobs
      • Dependency Management
        • Asset Build Process
        • Docker Images
        • Python package installation in Ubuntu 24.04 AEE
      • Job Identity Tokens for Access to Clouds and Third-Party Services
      • Enabling Web Application Users to Log In with DNAnexus Credentials
      • Types of Errors
    • Workflows
      • Importing Workflows
      • Introduction to Building Workflows
      • Building and Running Workflows
      • Workflow Build Process
      • Versioning and Publishing Global Workflows
      • Workflow Metadata
    • Ingesting Data
      • Molecular Expression Assay Loader
        • Common Errors
        • Example Usage
        • Example Input
      • Data Model Loader
        • Data Ingestion Key Steps
        • Ingestion Data Types
        • Data Files Used by the Data Model Loader
        • Troubleshooting
      • Dataset Extender
        • Using Dataset Extender
    • Dataset Management
      • Rebase Cohorts and Dashboards
      • Assay Dataset Merger
      • Clinical Dataset Merger
    • Apollo Datasets
      • Dataset Versions
      • Cohorts
    • Creating Custom Viewers
    • Client Libraries
      • Support for Python 3
    • Walkthroughs
      • Creating a Mixed Phenotypic Assay Dataset
      • Guide for Ingesting a Simple Four Table Dataset
    • DNAnexus API
      • Entity IDs
      • Protocols
      • Authentication
      • Regions
      • Nonces
      • Users
      • Organizations
      • OIDC Clients
      • Data Containers
        • Folders and Deletion
        • Cloning
        • Project API Methods
        • Project Permissions and Sharing
      • Data Object Lifecycle
        • Types
        • Object Details
        • Visibility
      • Data Object Metadata
        • Name
        • Properties
        • Tags
      • Data Object Classes
        • Records
        • Files
        • Databases
        • Drives
        • DBClusters
      • Running Analyses
        • I/O and Run Specifications
        • Instance Types
        • Job Input and Output
        • Applets and Entry Points
        • Apps
        • Workflows and Analyses
        • Global Workflows
        • Containers for Execution
      • Search
      • System Methods
      • Directory of API Methods
      • DNAnexus Service Limits
  • Administrator
    • Billing
    • Org Management
    • Single Sign-On
    • Audit Trail
    • Integrating with External Services
    • Portal Setup
    • GxP
      • Controlled Tool Access (allowed executables)
  • Science Corner
    • Scientific Guides
      • Somatic Small Variant and CNV Discovery Workflow Walkthrough
      • SAIGE GWAS Walkthrough
      • LocusZoom DNAnexus App
      • Human Reference Genomes
    • Using Hail to Analyze Genomic Data
    • Open-Source Tools by DNAnexus Scientists
    • Using IGV Locally with DNAnexus
  • Downloads
  • FAQs
    • EOL Documentation
      • Python 3 Support and Python 2 End of Life (EOL)
    • Automating Analysis Workflow
    • Backups of Customer Data
    • Developing Apps and Applets
    • Importing Data
    • Platform Uptime
    • Legal and Compliance
    • Sharing and Collaboration
    • Product Version Numbering
  • Release Notes
  • Technical Support
  • Legal
Powered by GitBook

Copyright 2025 DNAnexus

On this page
  • Overview
  • About IGV
  • For files stored on DNAnexus
  • Set IGV Preferences
  • Load Individual Tracks
  • Create a Session File

Was this helpful?

Export as PDF
  1. Science Corner

Using IGV Locally with DNAnexus

Last updated 1 month ago

Was this helpful?

Overview

While IGV is available as a tool that can be used on the DNAnexus Platform in your project's Visualize tab, you can also use the Integrative Genomics Viewer (IGV) software on your local machine to visualize files stored on DNAnexus.

About IGV

The Integrative Genomics Viewer (IGV) is a visualization tool developed and maintained by the Broad Institute for interactive exploration of large, integrated genomic datasets. It supports a wide variety of data types, including array-based and next-generation sequence data, and genomic annotations. For more information about IGV or to download the latest version, please visit the official website at .

For files stored on DNAnexus

There are two methods of visualizing files stored on DNAnexus using IGV. You can either one-by-one or to automatically load multiple files.

Both methods require you to first set up your IGV preferences for use with DNAnexus URLs.

Set IGV Preferences

Requirements: IGV v2.3.62 or later

This is a one-time setup each time you must do each time you download or update IGV on your computer.

  1. After opening your local IGV application, go to the menu bar and select View and then Preferences.

  2. In the preference window, go to the Advanced tab (on the right). If you see an option to have IGV Automatically discover index and coverage files, please uncheck this option to enable DNAnexus URLs to work with IGV.

  3. Click OK to save your preferences. In some later versions of IGV, this option has been removed so you can proceed without clicking OK.

Load Individual Tracks

Step 1

From the DNAnexus Platform, select the files you would like to visualize. Check the boxes next to the names of the desired files. You will need to select both the file (e.g. SRR504516.bam) and the index file (e.g. SRR504516.bam.bai) as both are needed for IGV.

Step 2

Generate the URLs for the files. After selecting your files, click on the Download button on the upper right side of the screen. Then copy the URLs generated, as seen below, or click on the page icon on the upper right to copy all the URLs at once.

Warning: These URLs will only be valid for 24 hours. If you would like to set the duration of the URLs to be valid longer, please use our [CLI tools]((/user/helpstrings-of-sdk-command-line-utilities#make_download_url) for generating URLs.

Step 3

From the IGV application on your local machine, go to the menu bar and select File and then Load from URL.

Enter the URL of the file you wish to view into the "File URL" field of the "Load from URL" window that opens up. Repeat this step for the index file's URL.

Repeat this step for each file you want to visualize during your IGV session.

Step 4

Now you are able to browse your DNAnexus files from your local machine. Please note that certain actions may take a bit longer to run, as IGV does need to download some data locally. However, IGV will only download the data required to visualize the portion of the genome you're viewing, not the entire file.

Create a Session File

Alternatively, you can create an "index-aware session file" to automatically load multiple tracks into IGV. This session file is simply a text file with the following format:

  • The file must have a file extension of .idxsession.

  • The file must have one line for each track you want to visualize.

  • If you are visualizing a BAM or VCF file, the line must also contain the URL for the index file, separated by a space.

  • If you a visualizing a VCF file, you may optionally include a URL for the .tdf coverage file, also separated by a space.

<*.bam URL> <*.bam.bai URL>
<*.vcf.gz URL> <*.vcf.gz.tbi URL>
<*.vcf.gz URL> <*.vcf.gz.tbi URL> <*.vcf.gz.tdf>

Once you have this session file, you can open the session file in IGV and IGV will automatically load all the tracks you specified in your file. To do this, in IGV, go to the menu >> File >> Open Session...

That will then open a window for you to select the session file to open in IGV.

Each line must contain a preauthenticated URL for the file. You can create these URLs using either our or tools.

https://www.broadinstitute.org/igv/
load individual tracks
create a session file
UI
CLI