googlegenomics/gatk-tools-java

Name: gatk-tools-java

Owner: Google Genomics

Description: Tools for using Picard and GATK with the Google Genomics API.

Created: 2014-08-19 15:45:58.0

Updated: 2017-11-23 02:42:04.0

Pushed: 2016-07-29 17:17:42.0

Homepage:

Size: 38778

Language: Java

GitHub Committers

UserMost Recent Commit# Commits
Nicole Deflaux2015-05-20 16:12:23.03
Ilia Tulchinsky2016-07-29 17:17:41.055
Cassie Doll2014-11-10 22:50:56.06
Will Brockman2015-02-17 04:14:19.01
davidadamsphd2015-07-10 17:20:55.02

Other Committers

UserEmailMost Recent Commit# Commits
Dion Loydion-github@loy-fu.com2015-02-02 20:10:03.02

README

gatk-tools-java Build Status Coverage Status

Tools for using Picard and GATK with Genomics API.

To build this package: `mvn compile package`

This command produces 3 files:

gatk-tools-java-[ver]-SNAPSHOT.jar

A small JAR with just the classes from this package, needs to be run with mvn run, see example.sh script that demonstrates how to use classes in this package to get SAMRecords from GA4GH API. You can run the example like this:

# gatk-tools-java-[ver]-SNAPSHOT-jar-with-dependencies.jar
rge jar with ALL dependencies in it.
 file is suitable for injecting a custom reader into a regularly built Picard
ribution, without recompiling it.

will need to download and build Picard tools, see insrtuctions [here](http://broadinstitute.github.io/picard/).

[view_sam_file.sh](https://github.com/googlegenomics/gatk-tools-java/blob/master/src/main/scripts/view_sam_file.sh) and [run_picard.sh](https://github.com/googlegenomics/gatk-tools-java/blob/master/src/main/scripts/run_picard.sh) scripts for examples of usage.
can run the example like this:
gatk-tools-java-[ver]-SNAPSHOT-minimized.jar

JAR with dependencies suitable for compiling together with Picard tools. See instructions on building Picard with gatk-tools-java.

With Picard tools built this way you can specify GA4GH urls as INPUT parameters and do not have to use -Dsamjdk.custom_reader.

You should be able to run Picard tool like so:

rd$ java -jar dist/picard.jar ViewSam \
T=https://www.googleapis.com/genomics/v1beta2/readgroupsets/CK256frpGBD44IWHwLP22R4/ \
H_CLIENT_SECRETS=../client_secrets.json
Converting more Picard tools

Please read the detailed description of the code changes in HTSJDK and Picard to support GA4GH APIs and how to convert more tools.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.