Get nchi for heavy atoms

Member Site Forums Rosetta 3 Rosetta 3 – General Get nchi for heavy atoms

Viewing 1 reply thread
  • Author
    • #2058


        Is there a way to get the number of dihedral angles excluding the trailing hydrogen when it exists? I can manually check the residue types and subtract 1 when necessary, but I was wondering if this is already stored in a member field of Pose with an accessor function?


      • #10561

          Assuming you want the number of heavy atom chis, you can simply subtract the value returned by ResidueType::n_proton_chi () from the value returned by ResidueType::nchi()

          While the Residue objects has a convenience function for nchi(), you’ll have to get n_proton_chi() from the ResidueType itself (returned by Residue::type() ).

      Viewing 1 reply thread
      • You must be logged in to reply to this topic.