foldcomp icon indicating copy to clipboard operation
foldcomp copied to clipboard

extracting PDBs

Open Yogesh1-11 opened this issue 1 year ago • 0 comments

hi i am using following snippet to extract AF predictions for a set of proteins. while i am interested in pdb files. I am getting cif.gz format. can you please help me correct the code? with foldcomp.open("afdb_uniprot_v4", ids=ids) as db: for (name, pdb) in db: file_name = os.path.join(output_dir, name ) with open(file_name, "w") as f: f.write(pdb) print(f"Written {file_name}")

Yogesh1-11 avatar Jun 01 '24 21:06 Yogesh1-11