Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Upgrade to v1beta2 API
Browse files Browse the repository at this point in the history
As part of this change all the GenomicsConverter, GenomicsUtils and
ReadFlagUtils classes have been deleted

Conversion utilities will be brought back at a later date (probably
when htsjdk has a real maven dependency so that they actually get used)
  • Loading branch information
cassiedoll committed Oct 29, 2014
1 parent e397fe6 commit 33d9ea6
Show file tree
Hide file tree
Showing 10 changed files with 89 additions and 1,392 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Add the following to your `pom.xml` file:
<dependency>
<groupId>com.google.cloud.genomics</groupId>
<artifactId>google-genomics-utils</artifactId>
<version>0.6</version>
<version>v1beta2-0.1</version>
</dependency>
</dependencies>
</project>
Expand All @@ -31,16 +31,14 @@ repositories {
}
dependencies {
compile 'com.google.cloud.genomics:google-genomics-utils:0.6'
compile 'com.google.cloud.genomics:google-genomics-utils:v1beta2-0.1'
}
```

##The code

* [GenomicsConverter.java](src/main/java/com/google/cloud/genomics/utils/GenomicsConverter.java) converts Read objects into SAMRecords and back
* [GenomicsFactory.java](src/main/java/com/google/cloud/genomics/utils/GenomicsFactory.java) makes it easier to construct an authenticated Genomics service
* [Paginator.java](src/main/java/com/google/cloud/genomics/utils/Paginator.java) lazily paginates through readsets, reads, variants and callsets
* [ReadFlagUtils.java](src/main/java/com/google/cloud/genomics/utils/ReadFlagUtils.java) defines the constant ints used by the Read.flags field as well as helper methods to get and set flag values

##Releasing new versions

Expand Down
31 changes: 3 additions & 28 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<groupId>com.google.cloud.genomics</groupId>
<artifactId>google-genomics-utils</artifactId>
<packaging>jar</packaging>
<version>0.19-SNAPSHOT</version>
<version>v1beta2-0.1-SNAPSHOT</version>

<organization>
<name>Google</name>
Expand Down Expand Up @@ -95,30 +95,6 @@
</exclusion>
</exclusions>
</dependency>
<!-- TODO: Replace with official Picard dependency once available -->
<dependency>
<groupId>org.utgenome.thirdparty</groupId>
<artifactId>picard</artifactId>
<version>${picard.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
</exclusion>
<exclusion>
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.commons</groupId>
<artifactId>commons-jexl</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.ant</groupId>
<artifactId>ant-apache-bcel</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
Expand Down Expand Up @@ -189,11 +165,10 @@
<properties>
<junit.version>4.11</junit.version>
<google.api.version>1.19.0</google.api.version>
<google.api.genomics.version>v1beta-rev46-1.19.0</google.api.genomics.version>
<google.api.genomics.version>v1beta2-rev1-1.19.0</google.api.genomics.version>
<mockito.version>1.10.8</mockito.version>
<picard.version>1.102.0</picard.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.targetEncoding>UTF-8</project.build.targetEncoding>
<java.version>1.6</java.version>
</properties>
</project>
</project>

0 comments on commit 33d9ea6

Please sign in to comment.