3d-dart/server/system/NAfunctionLib.py
def _ToBaseThree(self,inseq):
		
		"""Convert nucleic acid one letter to three letter code. Input base"""
		
		template = []
		complement = []
		
		for resid in inseq[0]:
			if resid in BASELIST1_T:
				template.append(BASELIST3_T[BASELIST1_T.index(resid)])
		for resid in inseq[1]:
			if resid in BASELIST1_T:
				complement.append(BASELIST3_T[BASELIST1_T.index(resid)])
	
		return template,complement
Convert nucleic acid one letter to three letter code. Input base
Convert nucleic acid one letter to three letter code. Input base
Convert nucleic acid one letter to three letter code . Input base
def _ToBaseThree(self,inseq):
		template = []
		complement = []
		for resid in inseq[0]:
			if resid in BASELIST1_T:
				template.append(BASELIST3_T[BASELIST1_T.index(resid)])
		for resid in inseq[1]:
			if resid in BASELIST1_T:
				complement.append(BASELIST3_T[BASELIST1_T.index(resid)])
		return template,complement
def _ToBaseThree ( self , inseq ) : template = [ ] complement = [ ] for resid in inseq [ 0 ] : if resid in BASELIST1_T : template . append ( BASELIST3_T [ BASELIST1_T . index ( resid ) ] ) for resid in inseq [ 1 ] : if resid in BASELIST1_T : complement . append ( BASELIST3_T [ BASELIST1_T . index ( resid ) ] ) return template , complement
Convert nucleic acid one letter to three letter code.
Convert nucleic acid one letter to three letter code .
"""Convert nucleic acid one letter to three letter code. Input base"""
self
inseq