symmetric fixbb design with design_hpatch

Member Site Forums Rosetta 3 Rosetta 3 – Applications symmetric fixbb design with design_hpatch

Viewing 2 reply threads
  • Author
    Posts
    • #1507
      Anonymous

        Dear Rosetta users,

        I tried to use hpatch score in symmetric design (-score:weights design_hpatch), but I got this error (rosetta 3.3 and 3.4):

        sin_cos_range ERROR: -nan is outside of [-1,+1] sin and cos value legal range

        Default and soft_rep_design scores work fine. Also turning off the symmetry (designing just one monomer) makes the error disappear.

        Is design_hpatch compatible with symmetric design?

        Best wishes,
        Staszek

      • #8362
        Anonymous

          hpatch was written without symmetry in mind, so they are very likely incompatible. Hpatch works by using its own InteractionGraph in packing, and generally symmetry also requires its own InteractionGraph in packing, so to get both I think someone would have to write an IG to handle both at the same time (which apparently hasn’t been done). I’ve emailed the Hpatch author to see if he knows any workarounds.

        • #8393
          anumglasgow
          Participant

            Hi Staszek,

            I’ve never tested the hpatch score with symmetry enabled, but I feel like there’s no reason it can’t work. As Steven said, it may require creating a new InteractionGraph type, something like a SymmLinearMemoryHPatchInteractionGraph in the InteractionGraphFactory.cc file. The InteractionGraph classes are templated, so it should be possible to create a SymmLinMemIG which has an HPatchIG within it (“under the hood”). If you send me your input file and a command line, I can look into this some more.

        Viewing 2 reply threads
        • You must be logged in to reply to this topic.