Skip to content

Commit

Permalink
Version 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillKryukov committed May 17, 2021
1 parent 71dd5e3 commit 1198b8a
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# NAF Changelog

## Current

## 1.3.0 - 2021-05-17
- Added `--long` option to _ennaf_ for setting sequence window size.
- Added `--binary` shortcut option to _unnaf_.
- Added support for empty sequences.
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

export prefix = /usr/local

.PHONY: default all test clean install uninstall
.PHONY: default all test test-large clean install uninstall

default:
$(MAKE) -C zstd/lib ZSTD_LEGACY_SUPPORT=0 ZSTD_LIB_DEPRECATED=0 ZSTD_LIB_DICTBUILDER=0 libzstd.a
Expand All @@ -15,6 +15,9 @@ all: default
test:
$(MAKE) -C tests

test-large:
$(MAKE) -C tests large

clean:
$(MAKE) -C ennaf clean
$(MAKE) -C unnaf clean
Expand Down
4 changes: 2 additions & 2 deletions ennaf/src/ennaf.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* See README.md and LICENSE files of this repository
*/

#define VERSION "1.2.1"
#define DATE "2021-05-12"
#define VERSION "1.3.0"
#define DATE "2021-05-17"
#define COPYRIGHT_YEARS "2018-2021"

#include "platform.h"
Expand Down
8 changes: 7 additions & 1 deletion tests/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

.PHONY: default all clean
.PHONY: default all large clean

export TMPDIR=temp

Expand All @@ -11,6 +11,12 @@ all:
@./test-runner.pl interface alphabet charcount small
@echo "Success!"

large:
@diff -q Makefile Makefile
@mkdir -p temp
@./test-runner.pl large
@echo "Success!"

clean:
@rm -f */*.out
@rm -f */*.err
Expand Down
2 changes: 1 addition & 1 deletion tests/interface/ennaf-version.err-ref
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ennaf - NAF compressor, version 1.2.1, 2021-05-12
ennaf - NAF compressor, version 1.3.0, 2021-05-17
Copyright (c) 2018-2021 Kirill Kryukov
2 changes: 1 addition & 1 deletion tests/interface/unnaf-version.err-ref
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
unnaf - NAF decompressor, version 1.2.1, 2021-05-12
unnaf - NAF decompressor, version 1.3.0, 2021-05-17
Copyright (c) 2018-2021 Kirill Kryukov
2 changes: 2 additions & 0 deletions tests/large/1-default-22-31.e.err-ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
input has 1 unexpected DNA characters:
'Z': 1
4 changes: 4 additions & 0 deletions tests/large/1-default-22-31.out-ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
>1
actgACGTnN
>2 seq2
a-tN-MY
1 change: 1 addition & 0 deletions tests/large/1-default-22-31.test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ennaf -22 --long 31 {GROUP}.fa 2>{TEST}.e.err | unnaf >{TEST}.out 2>{TEST}.u.err
Empty file.
4 changes: 4 additions & 0 deletions tests/large/1.fa
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
>1
actgACGTnN
>2 seq2
a-tZ-MY
4 changes: 2 additions & 2 deletions unnaf/src/unnaf.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* See README.md and LICENSE files of this repository
*/

#define VERSION "1.2.1"
#define DATE "2021-05-12"
#define VERSION "1.3.0"
#define DATE "2021-05-17"
#define COPYRIGHT_YEARS "2018-2021"

#include "platform.h"
Expand Down

0 comments on commit 1198b8a

Please sign in to comment.