2 replies [Last post]
Tlaloc's picture
User offline. Last seen 2 weeks 6 days ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'

I have hacked together a replacement for the long-missing Lua get_aa() function, that gets the amino acid type for a segment.

Download the code here: http://fold.it/portal/recipe/3779

When this script is run, it prints out the amino acid sequence. Compare to the Show Alignment tool.

The trick to getting it to work is the get_segment_score_part('reference', i) function. This turns out to return a unique, unvarying, number for each amino acid type. With a little lookup table, I am able to retrieve which kind of amino acid the segment is.

The code also has a function IsHydrophobic() that returns whether a segment is hydrophobic or not.

Joined: 09/18/2009
Groups: SETI.Germany
Nice...

Good thing to have this function again!
The latest version of contract does also use this function, right?

Joined: 06/17/2010
Yes,

it does :D

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, RosettaCommons