Skip to content

Commit

Permalink
Merge pull request #12 from broadinstitute/assembly
Browse files Browse the repository at this point in the history
Add assembly jar
  • Loading branch information
tmgreen authored Jul 18, 2017
2 parents 0cb9292 + 26f817c commit 33db0b5
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[![Build Status](https://travis-ci.com/broadinstitute/rigerj.svg?token=N3vsppoZquQSGZBMS1Fh&branch=master)](https://travis-ci.com/broadinstitute/rigerj)

README last updated: 4/18/2017
README last updated: 2017-07-18

# rigerj

Java implementation of RIGER and other gene enrichment methods, useful for RNAi and CRISPR screen analysis.


## RIGER and GENE-E

Riger can also be used as a plugin for the analysis software GENE-E, found here:
Expand All @@ -15,12 +14,23 @@ http://www.broadinstitute.org/cancer/software/GENE-E/

Follow the instructions under the Extensions link to install and run RIGER as a GENE-E extension.

## Building RigerJ

RigerJ is built using Maven 3 (http://maven.apache.org/):

> mvn package
This creates in the `target` directory both a library artifact (e.g. `rigerj-x.y.z.jar`) (for use as
dependency in other projects) and an executable "assembly" JAR for direct command-line usage
(e.g. `rigerj-x.y.z-assembly.jar`).

## Command Line Usage

Running RigerJ from the command line will vary slightly depending on what platform you are running on,
(e.g., Linux, Windows, Mac OS), and how Java is installed on your machine. But you should be able to
run it more or less like this:
> java -jar rigerj-2.0.0.jar [options]

> java -jar target/rigerj-2.0.0-assembly.jar [options]
All options are optional, and are described below:

Expand Down
22 changes: 22 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,28 @@
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.broadinstitute.gpp.rigerj.RigerJMain</mainClass>
</transformer>
</transformers>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>assembly</shadedClassifierName> <!-- Any name that makes sense -->
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit 33db0b5

Please sign in to comment.