From 7593673f3f8a7a32cf1571941d27f35660d1d227 Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Wed, 17 Jun 2020 18:52:35 +0200 Subject: [PATCH] ngsfilter: now setting 'reversed' tag to False instead of None when false --- python/obitools3/commands/ngsfilter.pyx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/obitools3/commands/ngsfilter.pyx b/python/obitools3/commands/ngsfilter.pyx index 88c8127..7f4598f 100644 --- a/python/obitools3/commands/ngsfilter.pyx +++ b/python/obitools3/commands/ngsfilter.pyx @@ -479,6 +479,8 @@ cdef tuple annotate(sequences, infos, no_tags, verbose=False): if not directmatch[0].forward: sequences[0] = sequences[0].reverse_complement sequences[0][b'reversed'] = True # used by the alignpairedend tool (in kmer_similarity.c) + else: + sequences[0][b'reversed'] = False # used by the alignpairedend tool (in kmer_similarity.c) sample=None if not no_tags: