Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't display ESMFold Protein Predictions #725

Open
tony-res opened this issue Feb 7, 2023 · 1 comment
Open

Can't display ESMFold Protein Predictions #725

tony-res opened this issue Feb 7, 2023 · 1 comment

Comments

@tony-res
Copy link

tony-res commented Feb 7, 2023

I'm trying to use HuggingFace's ESMFold to predict 3D protein structures from the protein sequence. I've got a PDB output that loads just fine on the RCSB Viewer but doesn't work with the Dash Bio dashbio.Molecule3dViewer.

From what I can tell in the examples, the Dash PdbParser utility is expecting "BOND" information. The only thing I have is "ATOM" information. I've attached the PDB file.

What am I missing?
Thanks.
-Tony
prediction_dash_pdb.txt

@dtingey
Copy link

dtingey commented May 22, 2023

The Dash PdbParser is built on ParmEd and uses the parmed load_files() function to read input pdbs. This should automatically generate bond information even if it is not provided in the input file. Trying to open your PDB file using parmed, it seems that the issue is the first line PARENT N/A is not recognized by parmed as pertaining to a specific file type. If you remove that line it loads in ATOM and BOND information just fine and it should be able to load them into dashbio.Molecule3dViewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants