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}")
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}")