Releases: chrovis/cljam
Releases · chrovis/cljam
0.7.0
See change log
0.6.0
BREAKING
- N padding for out-of-range bases is not appended. See #120 (comment) and #121 for more information.
cljam.io.protocols/{reader,writer}-path
were renamed tocljam.io.protocols/{reader,writer}-url
. Their return values arejava.net.URL
.
Added
- Add some extensions for FASTA format. #124
- Add many util functions for SAM/BAM files & split cljam.io.sam.util. #128
- Add FASTQ=>FASTA, SAM=>FASTQ conversions. #129
- Add some BED manipulation APIs. #131
- Support more source types. #132
Changed
Fixed
0.5.1
Added
- Set up benchmarks. #108
- Add
read-indices
toISequenceReader
protocol. #109 - Extract region utils to
cljam.util.region
and add some functions. #110 - Add region option to view command. #112
- Add FASTA-TwoBit converter. #117
Changed
- Make convert parallelism controllable. #113
- Java 9 compatibility. #114
- Move coverage phase to build stages. #116
- Low-memory sequence I/O. #118
- Improve performance of FASTA random reading. #120
Fixed
0.5.0
BREAKING
:ignore-index
option ofcljam.io.sam/bam-reader
andcljam.io.sequence/fasta-reader
is removed.:depth
option ofcljam.io.sam/read-alignments
is removed. It returnsSAMAlignment
only.- SAM/BAM reading functions return
Eduction
instances instead of lazy sequences.
Added
- Add a logging configuration for cli. #99
- Add an ordering function for chromosome name. #101
- Add utilities for whole-genome coordinate. #103
Changed
- Refactor cljam.algo.level. #93
- Refactor BAI I/O. #96
- Reorganize BAM I/O. #97
- Tweak the normalization function for chromosome name. #98
- Make index reading of FASTA reader delayed. #100
- Improve sequence readers. #104
- Rename test namespaces to conventional names. #105
- Upgrade dependencies. #106
Fixed
0.4.1
0.4.0
BREAKING
Namespaces of most APIs are changed in this release.
cljam.io.***
- reader/writer functions of various formats such as SAM, VCF, and FASTA.cljam.algo.***
- algorithms such as sort, indexing, and pileup.cljam.util.***
- utilities such as chromosome name normalization.cljam.tools.***
- tools such as command-line interface.
Added
- Add protocols for I/O APIs. #78
- Add FASTAWriter and TwoBitWriter. #79
- Support SAM normalization. #86
- Add docstring. #88
Changed
- Remove dependency on raynes/fs. #80
- Improve sorter. #81
- Namespace refactoring. #83
- I/O API refactoring. #84
- Use proton instead of some utilities. #87
Fixed
- Fix test of BCF writer. #82
0.3.1
0.3.0
BREAKING
From this release, cljam.vcf/read-variants
parses FORMAT, FILTER, INFO and samples columns of VCF.
(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
- Add a function to clone bam reader. #39
- Support coverage analysis with cloverage. #45
- Add many tests. #60
- Add tests to check generated data correctness. #61
- Add BCF reader/writer and utility functions for VCF. #68
Changed
- Improves performance of pileup. #41
- Migrate from midje to clojure.test. #44
- Correct base qualities if reads are overlapped. #47
- Use lein-binplus instead of lein-bin. #48
- Add marks to private fn. #50
- Refine unused code for newline. #51
- Pileup without options. #54
- Refine
trim-chromosome-key
. #55 - Refine
fastq-char->phred-byte
/ Addphred-byte->fastq-char
. #56 - Separate test resources based on file types. #71
- Separate :slow and :heavy test-selectors. #72
Fixed
0.2.1
0.2.0
BREAKING
From this release, ranges are represented as one-based closed intervals. For example,
{:chr "chr1", :start 1, :end 3}
represents the first three bases of chromosome 1.
Added
Changed
- Improve performance of reading BAM files. #22
- Replace candidate-message function with one in clj-sub-command.
- Improve performance of reading vcf file. #29