diff --git a/Makefile b/Makefile index 6e278b3..287bb7c 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ SCRIPTS=./scripts SOURCE=./src DATA=./data VERSION := $(shell grep version seqfu.nimble | grep -o "[0-9]\\+\.[0-9]\\+\.[0-9]\\+") -NIMPARAM := --gc:arc -d:NimblePkgVersion=$(VERSION) -d:release --opt:speed +NIMPARAM := --gc:orc -d:NimblePkgVersion=$(VERSION) -d:release --opt:speed TARGETS=$(BIN)/seqfu $(BIN)/fu-msa $(BIN)/fu-primers $(BIN)/dadaist2-mergeseqs $(BIN)/fu-shred $(BIN)/fu-homocomp $(BIN)/fu-multirelabel $(BIN)/fu-index $(BIN)/fu-cov $(BIN)/fu-16Sregion $(BIN)/fu-nanotags $(BIN)/fu-orf $(BIN)/fu-sw $(BIN)/fu-virfilter $(BIN)/fu-tabcheck $(BIN)/byteshift $(BIN)/SeqCountHelper $(BIN)/fu-secheck PYTARGETS=$(BIN)/fu-split $(BIN)/fu-pecheck $(BIN)/fu-readtope diff --git a/seqfu.nimble b/seqfu.nimble index a5e68eb..8a10fd4 100644 --- a/seqfu.nimble +++ b/seqfu.nimble @@ -1,5 +1,5 @@ # Package -version = "1.20.2" +version = "1.20.3" author = "Andrea Telatin" description = "SeqFu command-line tools" license = "MIT" diff --git a/src/dadaist2_mergeseqs.nim b/src/dadaist2_mergeseqs.nim index 95ae90b..ec7ded0 100644 --- a/src/dadaist2_mergeseqs.nim +++ b/src/dadaist2_mergeseqs.nim @@ -1,7 +1,7 @@ import parsecsv, strutils, strformat import docopt import os -import checksums/md5 +import md5 #import posix import ./seqfu_utils diff --git a/src/fastx_derep.nim b/src/fastx_derep.nim index 7c4a1b6..755fe35 100644 --- a/src/fastx_derep.nim +++ b/src/fastx_derep.nim @@ -1,6 +1,6 @@ import klib import re -import checksums/md5 +import md5 import json import tables, strutils from os import fileExists diff --git a/src/seqfu_utils.nim b/src/seqfu_utils.nim index 3260dff..2fbc2b2 100644 --- a/src/seqfu_utils.nim +++ b/src/seqfu_utils.nim @@ -347,7 +347,7 @@ proc print_seq*(record: FastxRecord, outputFile: File) = name = record.name seqstring : string - if not stripComments: + if not stripComments and len(record.comment) > 0: name.add(" " & record.comment) if len(record.qual) > 0 and (len(record.seq) != len(record.qual)):