ColabFold icon indicating copy to clipboard operation
ColabFold copied to clipboard

Implement initial guess feature

Open Poko18 opened this issue 1 year ago • 4 comments

Hi,

This pull request implements the --initial-guess feature, inspired by the functionality available in ColabDesign.

Related issue:

  • #432

Description:

  • It enables the handling of protein structure inputs (.pdb and .cif) - using alphafold parser

  • The introduction of the --initial-guess flag allows for the utilization of protein structure atom positions as input. This can be achieved either through the primary input or by specifying the structure input after the --initial-guess flag.

  • Minor adjustments to the Alphafold code have been made to accommodate this new feature:

  • https://github.com/steineggerlab/alphafold/pull/8

Poko18 avatar Mar 18 '24 08:03 Poko18

This update enables the handling of protein structure inputs (.pdb and .cif) using the AlphaFold parser.

  • You can now use ColabFold with .pdb or .cif input
  • You can use the --initial-guess flag in the following ways:
    • Provide a sequence from a .pdb or .cif file and add the flag to use coordinates for the initial guess:
      colabfold_batch test.pdb out/ --initial-guess
      
    • Add a .fasta file as input, utilizing the RFdiffusion polyglycine backbone as the initial guess:
      colabfold_batch test.fasta out/ --initial-guess backbone.pdb
      

Without and with initial guess

Poko18 avatar Jul 15 '24 11:07 Poko18

@sokrypton a friendly bump :)

ajasja avatar Aug 28 '24 12:08 ajasja

@sokrypton Initial guess would be super cool to have also in base colabfold, not just colabdesign.

ajasja avatar Mar 27 '25 10:03 ajasja

@ajasja Have you tried AlphaPulldown? Looks like it has a feature (TrueMultimer) where you can give a custom template (cif/pdb file).

pjmbro avatar Apr 28 '25 15:04 pjmbro

Thank you for the PR.

martin-steinegger avatar Jul 27 '25 09:07 martin-steinegger

@Poko18 could you please check if it works as intended? I had to move things around.

martin-steinegger avatar Jul 27 '25 10:07 martin-steinegger

Initial guess is working, although we are unable to use pdb/cif files as an input anymore (instead of .fasta, .csv ...). Not sure if this was intended or not

Poko18 avatar Jul 30 '25 20:07 Poko18

@Poko18 Thank you for checking it! I tried it the following colabfold_batch 7FI4.pdb tmp and it worked. What command did you use?

martin-steinegger avatar Aug 19 '25 10:08 martin-steinegger

It might be my outdated testing script! I'm glad to see this merged!

Poko18 avatar Sep 23 '25 13:09 Poko18