Entering edit mode
5.2 years ago
a4appy23
▴
50
import Bio.PDB as PDB
p = PDB.PDBParser()
s = p.get_structure("1aac", "1aacH")
io = PDB.PDBIO()
io.set_structure(s)
outfile = '1aac.pdb'
io.save(outfile)
print("Printed %s" % outfile)
i need to add a loop for getting structure of 50 more files in my folder