Skip to content

Commit

Permalink
Release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
totakke committed May 8, 2017
1 parent 94ccf3b commit d42c8ba
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 7 deletions.
32 changes: 30 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,31 @@
# Change Log

## [Unreleased]
## [0.3.0] - 2017-05-08

### BREAKING

From this release, `cljam.vcf/read-variants` parses FORMAT, FILTER, INFO and samples columns of VCF.

```clojure
(require '[cljam.vcf :as vcf])

(with-open [rdr (vcf/reader "test-resources/vcf/test-v4_3.vcf")]
(first (vcf/read-variants rdr)))
;;=> {:FORMAT (:GT :GQ :DP :HQ),
;; :NA00001 {:DP 1, :GQ 48, :GT "0|0", :HQ (51 51)},
;; :NA00002 {:DP 8, :GQ 48, :GT "1|0", :HQ (51 51)},
;; :NA00003 {:DP 5, :GQ 43, :GT "1/1", :HQ (nil nil)},
;; :alt ["A"],
;; :chr "20",
;; :filter (:PASS),
;; :id "rs6054257",
;; :info {:AF (0.5), :DB :exists, :DP 14, :H2 :exists, :NS 3},
;; :pos 14370,
;; :qual 29.0,
;; :ref "G"}
```

Add `{:depth :vcf}` option to the second argument if string is preferred.

### Added

Expand Down Expand Up @@ -29,6 +54,8 @@
* Pileup without options. [#54](https://github.com/chrovis/cljam/pull/54)
* Refine `trim-chromosome-key`. [#55](https://github.com/chrovis/cljam/pull/55)
* Refine `fastq-char->phred-byte` / Add `phred-byte->fastq-char`. [#56](https://github.com/chrovis/cljam/pull/56)
* Separate test resources based on file types. [#71](https://github.com/chrovis/cljam/pull/71)
* Separate :slow and :heavy test-selectors. [#72](https://github.com/chrovis/cljam/pull/72)

### Fixed

Expand Down Expand Up @@ -136,7 +163,8 @@ represents the first three bases of chromosome 1.

First release

[Unreleased]: https://github.com/chrovis/cljam/compare/0.2.1...HEAD
[Unreleased]: https://github.com/chrovis/cljam/compare/0.3.0...HEAD
[0.3.0]: https://github.com/chrovis/cljam/compare/0.2.1...0.3.0
[0.2.1]: https://github.com/chrovis/cljam/compare/0.2.0...0.2.1
[0.2.0]: https://github.com/chrovis/cljam/compare/0.1.6...0.2.0
[0.1.6]: https://github.com/chrovis/cljam/compare/0.1.5...0.1.6
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cljam is available as a Maven artifact from [Clojars][clojars].
To use with Leiningen/Boot, add the following dependency.

```clojure
[cljam "0.2.1"]
[cljam "0.3.0"]
```

To use with Maven, add the following dependency.
Expand All @@ -26,7 +26,7 @@ To use with Maven, add the following dependency.
<dependency>
<groupId>cljam</groupId>
<artifactId>cljam</artifactId>
<version>0.2.1</version>
<version>0.3.0</version>
</dependency>
```

Expand Down Expand Up @@ -103,8 +103,8 @@ Run `lein-bin` plugin and it creates standalone console executable into `target`

```console
$ lein with-profile +1.8 bin
Created /path/to/cljam/target/cljam-0.2.1.jar
Created /path/to/cljam/target/cljam-0.2.1-standalone.jar
Created /path/to/cljam/target/cljam-0.3.0.jar
Created /path/to/cljam/target/cljam-0.3.0-standalone.jar
Creating standalone executable: /path/to/cljam/target/cljam
```

Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject cljam "0.2.2-SNAPSHOT"
(defproject cljam "0.3.0"
:description "A DNA Sequence Alignment/Map (SAM) library for Clojure"
:url "https://github.com/chrovis/cljam"
:license {:name "Apache License, Version 2.0"
Expand Down

0 comments on commit d42c8ba

Please sign in to comment.