3d-dart/server/system/NAfunctionLib.py
def _ToBasepair(self,inseq):
		
		"""Convert nucleic acid base to base-pair. Input list of bases"""

		convert = []

		for na in range(len(inseq[0])):
			pair = []
			pair.append(inseq[0][na])
			pair.append('-')
			pair.append(inseq[1][na])
			pair = ''.join(pair)	
			convert.append(pair)
		
		return convert
Convert nucleic acid base to base-pair. Input list of bases
Convert nucleic acid base to base-pair. Input list of bases
Convert nucleic acid base to base - pair . Input list of bases
def _ToBasepair(self,inseq):
		convert = []
		for na in range(len(inseq[0])):
			pair = []
			pair.append(inseq[0][na])
			pair.append('-')
			pair.append(inseq[1][na])
			pair = ''.join(pair)	
			convert.append(pair)
		return convert
def _ToBasepair ( self , inseq ) : convert = [ ] for na in range ( len ( inseq [ 0 ] ) ) : pair = [ ] pair . append ( inseq [ 0 ] [ na ] ) pair . append ( '-' ) pair . append ( inseq [ 1 ] [ na ] ) pair = '' . join ( pair ) convert . append ( pair ) return convert
Convert nucleic acid base to base-pair.
Convert nucleic acid base to base - pair .
"""Convert nucleic acid base to base-pair. Input list of bases"""
self
inseq