3d-dart/server/plugins/NArestraint.py
def readpdb(self,pdb):
	
		"""Run 3DNA find_pair on pdb file. Only generate .inp file and pass to 'importinp'"""
	
		os.system("find_pair -t %s output.inp" % pdb)
	
		if os.path.isfile('output.inp'): self.importinp('output.inp')
		else:
			print "--> No 3DNA input file to import, stopping"
			sys.exit(0)
		
		clean = ['output.inp','col_helices.scr','hel_regions.pdb','col_chains.scr','bp_order.dat','bestpairs.pdb','ref_frames.dat']
		
		for files in clean:
			if os.path.isfile(files): os.remove(files)
Run 3DNA find_pair on pdb file. Only generate .inp file and pass to 'importinp
Run 3DNA find_pair on pdb file. Only generate .inp file and pass to 'importinp
Run 3DNA find_pair on pdb file . Only generate . inp file and pass to ' importinp
def readpdb(self,pdb):
		os.system("find_pair -t %s output.inp" % pdb)
		if os.path.isfile('output.inp'): self.importinp('output.inp')
		else:
			print "--> No 3DNA input file to import, stopping"
			sys.exit(0)
		clean = ['output.inp','col_helices.scr','hel_regions.pdb','col_chains.scr','bp_order.dat','bestpairs.pdb','ref_frames.dat']
		for files in clean:
			if os.path.isfile(files): os.remove(files)
def readpdb ( self , pdb ) : os . system ( "find_pair -t %s output.inp" % pdb ) if os . path . isfile ( 'output.inp' ) : self . importinp ( 'output.inp' ) else : print "--> No 3DNA input file to import, stopping" sys . exit ( 0 ) clean = [ 'output.inp' , 'col_helices.scr' , 'hel_regions.pdb' , 'col_chains.scr' , 'bp_order.dat' , 'bestpairs.pdb' , 'ref_frames.dat' ] for files in clean : if os . path . isfile ( files ) : os . remove ( files )
Run 3DNA find_pair on pdb file.
Run 3DNA find_pair on pdb file .
"""Run 3DNA find_pair on pdb file. Only generate .inp file and pass to 'importinp'"""
self
pdb