Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
telatin committed Dec 19, 2023
1 parent 4610ffb commit ea2e13d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion seqfu.nimble
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Package
version = "1.20.2"
version = "1.20.3"
author = "Andrea Telatin"
description = "SeqFu command-line tools"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/dadaist2_mergeseqs.nim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import parsecsv, strutils, strformat
import docopt
import os
import checksums/md5
import md5
#import posix
import ./seqfu_utils

Expand Down
2 changes: 1 addition & 1 deletion src/fastx_derep.nim
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import klib
import re
import checksums/md5
import md5
import json
import tables, strutils
from os import fileExists
Expand Down
2 changes: 1 addition & 1 deletion src/seqfu_utils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
Expand Down

0 comments on commit ea2e13d

Please sign in to comment.