Commit 7593673f by Celine Mercier

ngsfilter: now setting 'reversed' tag to False instead of None when

false
parent aa01236c
...@@ -479,6 +479,8 @@ cdef tuple annotate(sequences, infos, no_tags, verbose=False): ...@@ -479,6 +479,8 @@ cdef tuple annotate(sequences, infos, no_tags, verbose=False):
if not directmatch[0].forward: if not directmatch[0].forward:
sequences[0] = sequences[0].reverse_complement sequences[0] = sequences[0].reverse_complement
sequences[0][b'reversed'] = True # used by the alignpairedend tool (in kmer_similarity.c) 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 sample=None
if not no_tags: if not no_tags:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment