Skip to content

Commit d54089e

Browse files
committed
v0.1.8: Prevent swapped headers/samples during prep in cases where multi-sample input files have not previously been through GATK. The GATK LeftAlign steps re-sort the samples and this header was not being correctly passed to the next step. Fixes #19
1 parent 9c99d4e commit d54089e

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

HISTORY.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
## 0.1.8 (in progress)
1+
## 0.1.8 (29 October 2014)
22

3+
- Fix variant-prep problem for multiple sample input where headers would get out
4+
of sync with samples. Does not effect files previously run through GATK but
5+
would cause problems with multiple sample inputs not sorted in standard GATK
6+
sample manner.
37
- Move to latest MIT licensed GATK release: 3.2
48
- Library updates and fixes to work with java 1.8
59
- Improve debugging output for failed lines during pre-clean step.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ associated with different variant representations.
3333

3434
### Download
3535

36-
The latest release is 0.1.7 (23 July 2014): [bcbio.variation-0.1.7-standalone.jar][dl].
36+
The latest release is 0.1.8 (29 October 2014): [bcbio.variation-0.1.8-standalone.jar][dl].
3737
Run from the command line:
3838

3939
$ java -jar bcbio.variation-VERSION-standalone.jar [arguments]
@@ -44,7 +44,7 @@ the library for variant comparison, normalization and ensemble calling. Note
4444
that bcbio.variation requires Java 1.7 since the underlying GATK libraries are
4545
not compatible with earlier versions.
4646

47-
[dl]: https://github.com/chapmanb/bcbio.variation/releases/download/v0.1.7/bcbio.variation-0.1.7-standalone.jar
47+
[dl]: https://github.com/chapmanb/bcbio.variation/releases/download/v0.1.8/bcbio.variation-0.1.8-standalone.jar
4848

4949
### As a library
5050

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject bcbio.variation "0.1.8-SNAPSHOT"
1+
(defproject bcbio.variation "0.1.8"
22
:description "Toolkit to analyze genomic variation data, built on the GATK with Clojure"
33
:license {:name "MIT" :url "http://www.opensource.org/licenses/mit-license.html"}
44
:dependencies [[org.clojure/clojure "1.5.1"]

src/bcbio/variation/complex.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@
414414
(fs/delete out-pre-file))
415415
(let [la-file (left-align-variants in-file ref :out-dir out-dir :rerun? true)]
416416
(with-open [vcf-iter (get-vcf-iterator la-file ref)]
417-
(write-vcf-w-template in-file {:out out-pre-file}
417+
(write-vcf-w-template la-file {:out out-pre-file}
418418
(get-normalized-vcs (parse-vcf vcf-iter) ref)
419419
ref))
420420
(fs/rename (left-align-variants out-pre-file ref :out-dir out-dir :rerun? true)

0 commit comments

Comments
 (0)