Integrative Genomics Viewer - desktop genome visualization tool for Mac, Windows, and Linux.
These instructions are meant for developers interested in working on the IGV code. For normal use, we recommend the pre-built releases available at http://software.broadinstitute.org/software/igv/download.
Builds are executed from the IGV project directory. Files will be created in the 'build' subdirectory.
IGV requires Java 17 to build and run. Later versions of Java should work but we build and test on Java 17.
NOTE: If on a Windows platform use ./gradlew.bat'
in the instructions below
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 inbuild/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
origv_hidpi.sh
on Linux,igv.command
on Mac, andigv.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.
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.