예제 #1
0
 def __init__(self, quality_base=33):
     qb = quality_base
     if sys.version_info[0] < 3:
         self.ZERO_CAP_TRANS = maketrans(''.join(map(chr, range(qb))),
                                         chr(qb) * qb)
     else:
         self.ZERO_CAP_TRANS = maketrans(bytes(range(qb)), bytes([qb] * qb))
예제 #2
0
 def __init__(self, quality_base=33):
     qb = quality_base
     if PY3:
         self.zero_cap_trans = maketrans(bytes(range(qb)), bytes([qb] * qb))
     else:
         self.zero_cap_trans = maketrans(''.join(map(chr, range(qb))),
                                         chr(qb) * qb)
예제 #3
0
 def __init__(self, quality_base=33):
     qb = quality_base
     if sys.version_info[0] < 3:
         self.ZERO_CAP_TRANS = maketrans("".join(map(chr, range(qb))), chr(qb) * qb)
     else:
         self.ZERO_CAP_TRANS = maketrans(bytes(range(qb)), bytes([qb] * qb))
예제 #4
0
 def __init__(self):
     self.DOUBLE_ENCODE_TRANS = maketrans(b"0123.", b"ACGTN")
	def __init__(self, quality_base=33):
		qb = quality_base
		self.zero_cap_trans = maketrans(''.join(map(chr, range(qb))), chr(qb) * qb)
	def __init__(self):
		self.double_encode_trans = maketrans('0123.', 'ACGTN')
예제 #7
0
	def __init__(self, quality_base=33):
		qb = quality_base
		self.zero_cap_trans = maketrans(''.join(map(chr, range(qb))), chr(qb) * qb)
예제 #8
0
	def __init__(self):
		self.double_encode_trans = maketrans('0123.', 'ACGTN')
예제 #9
0
 def __init__(self):
     self.DOUBLE_ENCODE_TRANS = maketrans(b'0123.', b'ACGTN')
예제 #10
0
	def __init__(self):
		self.DOUBLE_ENCODE_TRANS = maketrans(b'0123.', b'ACGTN')
예제 #11
0
 def __init__(self):
     self.double_encode_trans = maketrans("0123.", "ACGTN")
예제 #12
0
	def __init__(self, quality_base=33):
		qb = quality_base
		if PY3:
			self.zero_cap_trans = maketrans(bytes(range(qb)), bytes([qb] * qb))
		else:
			self.zero_cap_trans = maketrans(''.join(map(chr, range(qb))), chr(qb) * qb)