Commit 30b6f5a2 by Eric Coissac

Change the rule to determine is probe sequences are proteins

parent 5ab4154d
...@@ -49,7 +49,7 @@ cpdef bytes reverseComplement(bytes seq): ...@@ -49,7 +49,7 @@ cpdef bytes reverseComplement(bytes seq):
cpdef bint isDNA(bytes seq): cpdef bint isDNA(bytes seq):
cdef set c = set([x for x in seq.upper()]) cdef set c = set([x for x in seq.upper()])
return len(c)==4 return len(c)<=4
cdef dict codon = {} cdef dict codon = {}
......
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