Off topic:finding segment from multiple files
1
0
Entering edit mode
5.3 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

python bio rna protein pdb • 722 views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2378 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6