You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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}")
The text was updated successfully, but these errors were encountered:
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}")
The text was updated successfully, but these errors were encountered: