Get nchi for heavy atoms

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

  • This topic has 1 reply, 2 voices, and was last updated 10 years ago by Anonymous.
Viewing 1 reply thread
  • Author
    Posts
    • #2058
      Anonymous

        Hi,

        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?

        Thanks,
        Jason

      • #10561
        Anonymous

          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.