Skip to content

extracting PDBs #55

@Yogesh1-11

Description

@Yogesh1-11

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions