Giter Site home page Giter Site logo

hmenager / igv Goto Github PK

View Code? Open in Web Editor NEW

This project forked from igvteam/igv

0.0 1.0 0.0 397.81 MB

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

Home Page: https://software.broadinstitute.org/software/igv/

License: MIT License

HTML 0.17% Batchfile 0.02% Shell 0.05% PHP 0.11% Java 99.52% Ruby 0.01% AngelScript 0.02% JavaScript 0.11%

igv's Introduction

igv

Integrative Genomics Viewer - dekstop genome visualization tool for Mac, Windows, and Linux.

Building

These instructions are meant for developers interested in work 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. You may need to execute 'gradle wrapper' to set up the gradle wrapper. This should be necessary the first time only, or if you clean up the local .gradle directory. Only do this if the './gradlew' calls fail.

There are two different build options, one for Java 8 and another for Java 9 and up. The default is to build for Java 8. Java 8 builds are NOT compatible with Java 9 and vice versa.

There are other options but these cover the most common uses:

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

Java 8

  • 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 (batik-codec, goby, and log4j-core) as well as helper scripts for launching.

    • These four JARs will be identical to those available in the download bundles from our website, with the exception that they will not be signed with our certificate (required for JNLP) and will have slightly different build properties (timestamp, etc) in about.properties.

    • All four JARs must be in the same location in order to run IGV. It can be run directly from 'build/IGV-dist'

    • Launch with 'igv.sh' on UNIX, 'igv.command' on Mac, and 'igv.bat' on Windows. These scripts can be edited to adjust JVM flags like maximum memory, etc.

    • All other runtime dependencies are bundled into igv.jar. There is also an igv-minimal.jar in 'build/libs' containing just the IGV classes and resources for those who prefer to manage dependencies as separate files.

  • Use ./gradlew createToolsDist to build an igvtools distribution directory (found in 'build/IGVTools-dist') containing the igvtools.jar and dependencies (same as for IGV, above)
    JAR dependencies plus helper scripts for running and launching. As above, these JARs will be identical aside from signing, timestamps, etc. and all must be present together to run. See igvtools_readme.txt for more info.

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

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

Java 9

The instructions for Java 9 are nearly identical other than the need to specify the Java 9 build file and that the results will be found in 'build_java9' rather than 'build'. More specifically:

  • Use './gradlew -b build_java9.gradle createDist' to build a distribution directory with helper scripts for launching. The structure is slightly different but the concept is the same.

  • Use './gradlew -b build_java9.gradle createToolsDist' for the igvtools distribution.

  • Use './gradlew -b build_java9.gradle test' to run the test suite.

The full JAR build option is NOT available for Java 9+ because of modularity requirements.

igv's People

Contributors

jrobinso avatar nchernia avatar davideby avatar fac2003 avatar amwenger avatar jsilter avatar chantal-roth avatar juuussi avatar mnazaire avatar helgathorv avatar benbfly avatar iontorrent-dev avatar david-w-mead avatar nh13 avatar twmccart avatar seraff avatar chenliangomc avatar dbrant avatar jordeu avatar cassiedoll avatar bpow avatar etal avatar hmenager avatar jpiper avatar jstjohn avatar julianhess avatar kshakir avatar ldgauthier avatar lenbok avatar rmzelle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.