Total score for individual residue

Member Site Forums PyRosetta PyRosetta – Scripts Total score for individual residue

Viewing 3 reply threads
  • Author
    Posts
    • #2668
      Anonymous

        Dear PyRosetta People,

         

        I am trying to find the total score of an individual residue. This is my script so far:

         

        scorefxn = get_fa_scorefxn()

        scorefxn(pose)

        AA_Score = pose.energies().residue_total_energies(5)

        print(AA_Score)

         

        It seems i get a massive print out, and when repeated for different residues gives the exact same values, so i am sure my script is wrong.

         

        What is the correct way to get the total score for just 1 amino acid?

      • #12376
        Anonymous

          Instead of residue_total_energies( ), which gives you an object that has the (unweighted) energies for all scoretypes (basically a map), you want the function residue_total_energy(), which will give you a value of the (weighted) total energy. 

        • #12897
          Anonymous

            Instead of residue_total_energies( ), which gives you an object that has the (unweighted) energies for all scoretypes (basically a map), you want the function residue_total_energy(), which will give you a value of the (weighted) total energy. 

          • #13418
            Anonymous

              Instead of residue_total_energies( ), which gives you an object that has the (unweighted) energies for all scoretypes (basically a map), you want the function residue_total_energy(), which will give you a value of the (weighted) total energy. 

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